Free plan20 live domains free, with certificates and the connect page. No card.
Custom domains API for SaaS

Custom domains, minus the drama.

One API call and your customer's domain is live with HTTPS. We handle the DNS, the certificates and the edge, and we walk your customer through the one record they need.

What is Apexly?

The short answer first, then the specifics.

Apexly is a custom domains API for B2B SaaS products. When a customer wants your app on their own domain, such as careers.acme.com instead of acme.yourapp.com, you send one API request with the hostname. Apexly gives your customer a hosted connect page that detects their DNS provider and shows the one record to add. It then checks that record from three places, issues a Let's Encrypt certificate, renews it 30 days before expiry, and forwards every request to your app with the original Host header and a signature. Apex domains such as acme.com work on every plan.

Domain types
Subdomains (CNAME) and apex domains (A records + TXT), on every plan
DNS providers recognised
40+, from GoDaddy and Namecheap to Cloudflare and Route 53
Verification
3 resolvers must agree before anything is issued
Certificates
Let's Encrypt, renewed 30 days before expiry
Webhooks
9 event types, signed with HMAC-SHA256
Connect flow
Hosted page or embeddable widget, with one-click setup for Cloudflare DNS
Diagnostics
A domain doctor that runs every check and names the one thing to fix
AI agents and SDKs
Hosted MCP server; @apexly/node and @apexly/react on npm
Price
Free for 20 domains, then $0.15 per domain a month ($15 minimum)

How does Apexly work?

Five steps. You do the first one; your customer does the second.

  1. Create the domain

    Send POST /v1/domains with your customer's hostname. The response holds the DNS record they need and a link to a hosted connect page, or you embed the same connect flow in your own app.

  2. Your customer adds one record

    A CNAME for a subdomain like careers.acme.com, or A records plus a TXT token for an apex domain like acme.com. The connect page detects their DNS provider and shows exactly where to click. If their DNS is at Cloudflare, it can add the records for them.

  3. Apexly verifies DNS

    We check every 15 seconds for the first hour, then every 5 minutes for up to 72 hours, until Cloudflare's 1.1.1.1, Google's 8.8.8.8 and the domain's own nameservers all agree.

  4. Apexly issues the certificate

    After checking CAA records, we get a Let's Encrypt certificate for the hostname and renew it 30 days before it expires.

  5. Traffic reaches your app

    Requests arrive at your origin with the original Host header and an HMAC-SHA256 signature, and a signed domain.active webhook tells you the domain is live.

Four messages, then it's live.

Here's the whole integration, told as a group chat. You send one request. Your customer presses one button. We do everything in between.

You
POST /v1/domains
{ "hostname": "careers.acme.com" }
Apexly
On it. careers.acme.com needs one CNAME. Here's a link your customer can click.connect.apexly.dev/c/2Kx9fQ
Dana, HR at Acme
I pasted our Cloudflare token and pressed “Add it for me”. Is that it?
Apexly
That's it. Certificate issued, careers.acme.com is live.
4 min 12 s, start to finish

Things you'll never do again.

Hover one. It feels great.

A small API. A big relief.

Three resources, nine webhook events, one state machine. It fits in your head before lunch.

curl https://api.apexly.dev/v1/domains \
  -H "Authorization: Bearer sk_live_••••••••3f9a" \
  -d hostname=careers.acme.com{  "id": "dom_2Kx9fQ7mVb",  "status": "pending_dns",  "dns": { "cname": { "value": "d-2kx9fq.cname.apexly.dev" } },  "connect_url": "https://connect.apexly.dev/c/2Kx9fQ…"}
Your webhook endpointlistening
domain.createdcareers.acme.com
domain.deletedold.hooli.xyz
domain.activejobs.lumen.co
domain.verifiedjobs.lumen.co

Embed it or link it. Or let your agent do it.

Everything around the API call, so your team writes less glue and answers fewer DNS questions.

Link it or embed it

Send your customer to the hosted connect page, or mount the same flow inside your app, inline or as a modal, in your brand colour and logo.

Apexly.mount(el, { token })

Keys stay on your server

Your server mints a short-lived connect-session token for the widget. Your API key never reaches the browser.

POST /v1/domains/{id}/connect-sessions

One-click Cloudflare

If your customer's DNS is at Cloudflare, they paste a token scoped to that one zone and we add the exact records. Used once, never stored.

"Add it for me"

A domain doctor

One call runs every check, from three resolvers to CAA, the certificate and your origin, and returns the one thing to fix in plain English.

GET /v1/domains/{id}/diagnose

Works with AI agents

A hosted MCP server lets Claude Code, Cursor and other MCP clients create, verify and diagnose domains with your API key.

https://mcp.apexly.dev/mcp

SDKs on npm

A Node client for every domain call plus webhook and origin-signature checks, and a React component for the connect flow.

npm i @apexly/node @apexly/react
Free planNo card
Every account starts here

20domains, $0.

Sign up and your account is on Free: 20 live domains with certificates, the edge, webhooks and the connect page. No card, and it does not run out. When you need more, Pay as you go is $0.15 a domain.

Your planFREE-20Start freeNothing to enter at sign-up
$0.15per domain. $15 minimum. Start free.
Free plan: 20 live domains, no card.

What do teams ask before they start?

Who is Apexly for?
B2B SaaS teams whose customers put their own name on a page you host: applicant tracking and careers pages, help centres, status pages, booking pages, docs portals, storefronts, course platforms and link pages.
How do custom domains for SaaS work with Apexly?
Your customer points their domain at Apexly with one DNS record, guided by a hosted connect page. We check the record with three resolvers, get a Let's Encrypt certificate, and send each request to your origin with the original Host header, so your app knows which tenant it is serving.
Do you support apex domains?
Yes, on every plan. A subdomain like careers.acme.com gets a CNAME record; an apex domain like acme.com gets an A record and a TXT token.
How is Apexly different from Cloudflare for SaaS?
Cloudflare for SaaS needs your zone on Cloudflare, leaves the customer instructions to you, and proxies apex domains only as an Enterprise add-on. Apexly keeps your DNS where it is, gives your customer a hosted connect page and supports apex domains on every plan. Cloudflare is cheaper per hostname and adds a CDN; Apexly does not cache.
How much does Apexly cost?
Free for 20 domains, no card. After that, Pay as you go is $0.15 per live domain per month with a $15 monthly minimum that covers your first 100 domains. Volume rates drop to $0.12 past 1,000 domains, $0.09 past 5,000 and $0.07 past 10,000, so 300 domains cost $45 a month. Enterprise pricing is custom.
Is there a free plan?
Yes. The Free plan covers 20 live domains and needs no card. It does not expire.
Can we embed the connect flow in our own app?
Yes. Link your customer to the hosted connect page, or embed the same flow in your app with widget.js or the @apexly/react component, inline or as a modal, in your brand colour and logo. Your server mints a short-lived connect-session token, so your API key never reaches the browser.
Can Apexly add the DNS records for my customer?
Yes, when their DNS is at Cloudflare. Your customer pastes a Cloudflare API token limited to DNS edits on that one zone, and Apexly adds the exact records, uses the token once and never stores it. It asks before replacing a conflicting record and never touches other records. For other DNS providers, the connect page shows exactly where to click.
What if a domain isn't going live?
Run the domain doctor: GET /v1/domains/{id}/diagnose, or Diagnose in the dashboard. It checks DNS at the domain's nameservers, 1.1.1.1 and 8.8.8.8, stray A and AAAA records, the Cloudflare proxy, CAA, the certificate, whether your origin answers and the www pair, then tells you the one thing to fix in plain English.
What if we want to leave Apexly later?
Your customers' domains stay theirs, and GET /v1/domains exports every hostname with its status, DNS records and metadata. On Pay as you go you can give customers a white-label CNAME target on your own domain, so moving to another provider means changing one record you control. The step-by-step exit plan is at apexly.dev/no-lock-in.
Are my customers' hostnames public in Certificate Transparency logs?
Yes, as with any HTTPS site. Every publicly trusted certificate, from any certificate authority or provider, is published in public Certificate Transparency logs, and the hostname on it becomes public. Apexly gets one certificate per hostname, never a wildcard, so each customer hostname appears in the logs when its certificate is issued. Keep secrets out of hostnames.
Does Apexly work with AI coding agents?
Yes. Apexly runs a hosted MCP server at https://mcp.apexly.dev/mcp that works with Claude Code, Cursor and other MCP clients. Agents can create, list, verify, diagnose and delete domains with your API key, and deleting needs an explicit confirm. There are also SDKs on npm: @apexly/node and @apexly/react.

Building it yourself? Read the complete guide to custom domains for SaaS

Go make someone's domain live.

Get API key