API Introduction

Use the API to get domain infos in JSON format

The Domains API is organized around REST, has predictable resource-oriented URLs, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

API Host

This is the production API host:

  • https://api.dmns.co

Authentication

The API uses API keys to authenticate requests. You can view and manage your API keys in your account page.

It can be used in 2 ways when making requests:

  • As a query parameter in url: .../domain/example.com?apiKey=sk_abc123

  • As the Authorization header: Authorization: Bearer sk_abc123

Check the examples for more details.

Errors

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

Rate limits

Last updated