Skip to main content

NameBeta API

The NameBeta API gives your own code the data behind namebeta.com: whether a domain can be registered, its DNS records, and what each registrar charges for a TLD. It is a read-only JSON API over HTTPS.

At a glance​

Base URLhttps://api.namebeta.com
Version/v1, in every path
AuthenticationAn API token from your account panel, sent as Authorization: Bearer nb_live_…; see Authentication
PlansPro, Business and Enterprise; the Free plan gets 403 with plan_required. Requests count against your plan's quota; see Quotas
FormatJSON request and response bodies, application/json; charset=utf-8
ErrorsOne envelope with a stable code; see Errors
OpenAPIhttps://api.namebeta.com/v1/openapi.json (OpenAPI 3.1, no token needed)

Endpoints​

EndpointWhat it doesQuota bucket
GET /v1/domains/{domain}/availabilityWhether one domain is available, taken, reserved or for salecheck, 1 per request
POST /v1/domains/availabilityThe same for up to 50 domains at oncecheck, 1 per valid domain
GET /v1/domains/{domain}/dnsDNS records of one type: A, AAAA, CNAME, MX, TXT, NS, SRV or SOAdns, 1 per request
GET /v1/tlds/{tld}/pricesRegistration and renewal prices of a TLD at every registrar we tracksingle, 1 per request
GET /v1/usageYour plan and quota windowsNot counted
GET /v1/openapi.jsonThe OpenAPI document describing all of the aboveNot counted

Quick start makes a first request in curl, TypeScript and Python.

API or MCP?​

NameBeta also runs an MCP server for AI assistants such as Claude, ChatGPT and Cursor. Both run as your account and spend the same quota, and the same API token works for both. They differ in who calls them:

REST APIMCP server
Called byYour own codeAn AI assistant, which picks the tools itself
Endpointhttps://api.namebeta.com/v1/…https://api.namebeta.com/mcp
AuthenticationAPI tokenAPI token, or signing in with OAuth
PlansPro, Business and Enterprise; the Free plan gets 403 with plan_requiredPro, Business and Enterprise; the Free plan gets 403 with plan_required

Conventions​

  • Versioning. The major version is part of the path. Fields, endpoints and error codes may be added within /v1, so ignore fields you do not know; a change that would break existing code ships under a new major version. Every change is listed in the Changelog.
  • Domain names. Send full domain names such as kettlory.com, never bare labels such as kettlory. Internationalized names can be sent in Unicode or Punycode.
  • Timestamps are ISO 8601 in UTC, such as 2026-11-13T08:00:00.000Z.
  • Amounts are decimal strings, such as "10.48", next to a currency code, so they never lose precision.
  • Request IDs. Every response carries a Request-Id header such as req_8f14e45fceea167a5a36dedd4bea2543. Error bodies repeat it as request_id. Quote it when you contact us about a request.
  • Server side only. The API sends no CORS headers, so browsers block calls from web pages. Call it from your backend, where the token stays secret.

Service level​

No SLA

The NameBeta API is provided as is, without a service level agreement. We do not commit to any availability, uptime, response time or support response time. Results come from live registry and DNS queries and can be incomplete or out of date; confirm with the registrar before you rely on them.