API Introduction
Use the API to get domain infos in JSON format
Last updated
Was this helpful?
Use the API to get domain infos in JSON format
Last updated
Was this helpful?
The Domains API is organized around , has predictable resource-oriented URLs, returns responses, and uses standard HTTP response codes, authentication, and verbs.
This is the production API host:
https://domains-api.com
The API uses API keys to authenticate requests. You can view and manage your API keys in .
It can be used in 2 ways when making requests:
As a query parameter in url: .../domain/example.com?key=sk_abc123
As the Authorization header: Authorization: Bearer sk_abc123
Check the examples for more details.
Sometimes the request or the servers are not ok, and we'll let you know. Errors are always reflected in the returned status codes:
4xx
: There is a problem with your request. Detailed info will be included as plain text in the response
5xx
: The server had a problem processing the request. More details will be returned as plain text in the response