API Access

Integrate powerful domain analysis directly into your applications

Your API Key

Use this key to authenticate your API requests. Keep it secure and never share it publicly.

Generate your personal API key

Sign in or create a free DomSight account to access your live API token.

API Endpoint

Send POST requests to this endpoint to analyze domains.

POST https://your-app-domain.com/api/rate-domain

Example Request (Python)

Include your API key in the X-API-Key header.

import requests
import json

api_key = ""
api_url = "https://your-app-domain.com/api/rate-domain"
domain = "example.com"

headers = {
    "Content-Type": "application/json",
    "X-API-Key": api_key
}

payload = {
    "domain": domain
}

try:
    response = requests.post(api_url, headers=headers, data=json.dumps(payload))
    response.raise_for_status()
    result = response.json()
    print(json.dumps(result, indent=2))
except requests.exceptions.RequestException as e:
    print(f"Error: {e}")

Need more help?

Check out our full API documentation for detailed guides and examples.

View Docs →