Your own API address
Give the API an address on your own domain, like api.yourbrand.com, instead of the Bunny address like nahnu-links.b-cdn.net. It looks more professional to clients and developers, and lets you move providers later without changing what they use.

Set it up#
- Go to Settings > Developers > Your API address.
- Type the address and save. Nahnu Links puts it on the pull zone that runs your edge script, with free HTTPS.
- Add the CNAME record it shows at your DNS provider (like
apipointing atnahnu-links.b-cdn.net). - Wait until it shows as working. Most DNS providers take a few minutes.
What changes once it works#
- The dashboard shows it everywhere it showed the Bunny address: API docs, key dialogs and examples.
- Client sites move to it by themselves, after checking it answers for their key. Nothing to send them.
- The Bunny address keeps working too, so nothing already set up breaks.
API only#
Your API address answers the API only. A short link typed on it gets:
This address serves the API only. Short links live on your link domains.
So it must be different from your link domains. Use a name that says what it is, like api. or links-api..
Choosing a name#
| Good | Why |
|---|---|
api.yourbrand.com | Clear and standard. |
links-api.yourbrand.com | Clear when api. is already used by something else. |
Avoid using a domain that already runs a website or another API.
Remove it#
Clear the address under Settings > Developers and save. Client sites fall back to the Bunny address. Remove the CNAME record at your DNS provider afterwards.
Related#
- Base URL in the API docs
- When your link service changes its API address for client sites


