NorthDNS DNS REST API
Automate zones, DNS records, rules, analytics, caching and webhooks with the NorthDNS v1 API and domain-scoped tokens.
Base URL
The API uses JSON and is available at https://northdns.it/api/v1. Availability depends on the domain’s plan; it is included during the open beta.
Authentication
Create a token from Account → API tokens. Limit it to one domain, grant only the permissions you need and set an expiry date. The full token is shown only once: revoke it immediately if it is exposed.
curl https://northdns.it/api/v1/zones \
-H "Authorization: Bearer nd_YOUR_TOKEN" \
-H "Accept: application/json"Endpoints
GET /zones | Accessible zones |
GET|POST /zones/:domainId/records | List and create records |
PATCH|DELETE /zones/:domainId/records/:recordId | Update and delete records |
GET|POST /zones/:domainId/rules | Proxy rules |
PATCH|DELETE /zones/:domainId/rules/:ruleId | Update and delete rules |
GET /zones/:domainId/analytics | Traffic |
GET|PATCH /zones/:domainId/edge | Caching and security |
POST /zones/:domainId/edge/purge | Purge the cache |
GET|POST /zones/:domainId/webhooks | Webhooks |
Creating a record
curl -X POST https://northdns.it/api/v1/zones/DOMAIN_ID/records \
-H "Authorization: Bearer nd_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"www","type":"A","value":"203.0.113.10","ttl":300}'Limits and permissions
Requests are limited to 120 per minute. Available permissions are zones:read, dns:read, dns:write, rules:read, rules:write, analytics:read, edge:read, edge:write, webhooks:read, webhooks:write. Every change appears in the domain activity log.