NextName public API

These are the endpoints NextName exposes for domain research. Pages are static; only the endpoints below run on the API Worker.

Discovery

Endpoints

GET /api/domain/{domain}

Returns a normalized availability and registration summary for one domain, including provenance fields.

Parameters

  • `{domain}` path segment is required and must be a fully-qualified domain name.
  • Unicode input is converted to its A-label form before lookup.

Response fields

  • `domain`, `is_available`, `availability_state` (`registered` | `available` | `reserved` | `unknown`)
  • `availability_reason` and `availability_reason_code` (`no_definitive_answer` | `provider_error`) when the state is unknown
  • `status` (EPP codes), `status_notes` (registry wording, verbatim) and `status_note_codes` (one code per note: `reserved` | `connect` | `other`)
  • `name_servers`, `error_code` on a refusal (`INVALID_DOMAIN`, `INVALID_REQUEST`, `UNSUPPORTED_TLD`, `BLOCKED_TLD`, `NO_DATA`, `TIMEOUT`, `NETWORK_ERROR`, `PARSE_ERROR`, `SERVICE_UNAVAILABLE`, `INTERNAL_ERROR`)
  • `dnssec` (`signed` | `unsigned` | `unknown`), `stale`, `raw_rendered`
  • `source_provider`, `source_authority`, `confidence`

Caching

Cached for a short time per (domain, source). A `stale` result marks a cached answer returned while the registry rate-limited us.

Example

/api/domain/example.com

GET /api/whois/{domain}

Returns the raw registry or registrar response for one domain, plus how it was obtained.

Parameters

  • `{domain}` path segment is required.

Response fields

  • `domain`, `whois_raw`, `query_method`, `transport`, `error_code` when unavailable

Caching

Same cache policy as `/api/domain`.

Example

/api/whois/example.com

POST /api/availability

Checks up to 12 domains in one call, replacing the per-suffix requests the v3 result page made.

Parameters

  • JSON body: `{ "domains": ["example.com", …] }`, at most 12 entries.

Response fields

  • `results[]` with `domain`, `availability_state`, `error_code`

Caching

Per-domain results share the `/api/domain` cache.

Example

POST /api/availability {"domains":["example.com","example.net"]}

POST /api/feedback

Accepts a problem report about a page or a price.

Parameters

  • JSON body with `message`, optional `url`, optional `email`.
  • Rate limited; length capped; a honeypot field rejects bots.
  • Refused entirely when `FEEDBACK_WRITE_ENABLED` is not `true`.

Response fields

  • `ok` or `error`

Caching

Never cached.

Example

POST /api/feedback {"message":"…","url":"/tlds/com/"}

GET /api/health

Reports the Worker version and the data pack date it was built against.

Parameters

  • None.

Response fields

  • `status`, `worker`, `version`, `dataPackDate`

Caching

Never cached.

Example

/api/health

Retired endpoints

These v3 endpoints are no longer served. Each maps to the page or file that now carries the data.

PathReplaced by
/api/pricing/tlds/{tld}/
/api/tld-list/tlds/
/api/tlds/tlds/
/api/search/tlds/
/api/tld-content/{tld}/tlds/{tld}/
/api/dns/{domain}not replaced in v4
/api/ssl/{domain}not replaced in v4

Provenance fields

Every successful lookup names where the answer came from. `source_authority` is `authoritative`, `relay` or `derived`; `stale: true` marks a cached answer returned while the registry rate-limited us; `raw_rendered: true` marks raw text rendered locally from RDAP; and `dnssec: "unknown"` means the source did not report DNSSEC status, not that the domain is unsigned.