Skip to main content

OpenAPI document

The API describes itself in an OpenAPI 3.1 document. It is generated from the same schemas that validate requests, so it always matches the deployed API, and the reference pages of these docs are rendered from it.

Request​

GET https://api.namebeta.com/v1/openapi.json

No authentication.

curl https://api.namebeta.com/v1/openapi.json

Response​

200: The OpenAPI 3.1 document.

Uses​

  • Generate a client with a generator such as OpenAPI Generator or openapi-typescript. NameBeta does not publish SDKs.
  • Import it into Postman, Insomnia or Bruno to explore the API. Set the bearer token to your API token.
  • Give it to an AI coding assistant so it writes calls against the real contract.

The document needs no token and is not counted against any quota.

Statuses​

StatusWhenHeaders
200The OpenAPI 3.1 document
404Error
OtherAny other error