Domains App
DocumentationGuidesHelp
  • Get started
    • Documentation
  • Core features
    • Monitor domains
    • Use domain Collections
    • Domains database
  • API
    • API Introduction
    • API Endpoints
      • Domain info
      • Domain WHOIS
      • DNS Records
      • Similar websites (beta)
    • Examples
Powered by GitBook
On this page
  • API Host
  • Authentication
  • Errors
  • Rate limits

Was this helpful?

  1. API

API Introduction

Use the API to get domain infos in JSON format

PreviousDomains databaseNextAPI Endpoints

Last updated 4 months ago

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.

API Host

This is the production API host:

  • https://domains-api.com

Authentication

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.

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

REST
JSON-encoded
your account page