API Reference
Build powerful domain management features into your applications
Quick Start
Get started with the RollDomains API in minutes. All API requests require authentication using a Bearer token.
Base URL
https://api.rolldomains.comExample: Search Domain Availability
Check if a domain is available for registration across multiple TLDs
curl -X POST https://api.rolldomains.com/api/domains/search \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"domain": "example",
"tlds": ["com", "net", "io"]
}'Authentication
All API requests must include an Authorization header with a valid Bearer token. You can obtain tokens by calling the login endpoint or through OAuth.
Authorization: Bearer YOUR_API_TOKENAPI Endpoints
Authentication
/api/auth/login/api/auth/register/api/auth/refresh/api/auth/logoutDomains
/api/domains/api/domains/:id/api/domains/search/api/domains/register/api/domains/transfer/api/domains/:id/renew/api/domains/:id/settings/api/domains/:id/nameserversDNS
/api/dns/:domainId/records/api/dns/:domainId/records/api/dns/:domainId/records/:recordId/api/dns/:domainId/records/:recordIdOrders
/api/orders/api/orders/:id/api/ordersWebhooks
/api/webhooks/stripe/api/webhooks/domain-eventsRate Limits
To ensure fair usage, the API enforces rate limits. If you exceed the limit, you'll receive a 429 Too Many Requests response.