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 URL | https://api.namebeta.com |
| Version | /v1, in every path |
| Authentication | An API token from your account panel, sent as Authorization: Bearer nb_live_…; see Authentication |
| Plans | Pro, Business and Enterprise; the Free plan gets 403 with plan_required. Requests count against your plan's quota; see Quotas |
| Format | JSON request and response bodies, application/json; charset=utf-8 |
| Errors | One envelope with a stable code; see Errors |
| OpenAPI | https://api.namebeta.com/v1/openapi.json (OpenAPI 3.1, no token needed) |
Endpoints
| Endpoint | What it does | Quota bucket |
|---|---|---|
GET /v1/domains/{domain}/availability | Whether one domain is available, taken, reserved or for sale | check, 1 per request |
POST /v1/domains/availability | The same for up to 50 domains at once | check, 1 per valid domain |
GET /v1/domains/{domain}/dns | DNS records of one type: A, AAAA, CNAME, MX, TXT, NS, SRV or SOA | dns, 1 per request |
GET /v1/tlds/{tld}/prices | Registration and renewal prices of a TLD at every registrar we track | single, 1 per request |
GET /v1/usage | Your plan and quota windows | Not counted |
GET /v1/openapi.json | The OpenAPI document describing all of the above | Not 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 API | MCP server | |
|---|---|---|
| Called by | Your own code | An AI assistant, which picks the tools itself |
| Endpoint | https://api.namebeta.com/v1/… | https://api.namebeta.com/mcp |
| Authentication | API token | API token, or signing in with OAuth |
| Plans | Pro, Business and Enterprise; the Free plan gets 403 with plan_required | Pro, 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 askettlory. 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 acurrencycode, so they never lose precision. - Request IDs. Every response carries a
Request-Idheader such asreq_8f14e45fceea167a5a36dedd4bea2543. Error bodies repeat it asrequest_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
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.