Domain Intelligence API

    Real-time domain risk & deliverability data for KYC, Email Analytics, and Bulk Cleaning.

    Overview

    Query a continuously refreshed dataset of 280M+ domains with DNS, risk, and deliverability signals. This API is designed for KYC, security operations, and data engineering workflows.

    Authentication

    All requests require a valid API key passed via the X-API-Key header.

    X-API-Key: YOUR_API_KEY

    Endpoint

    Retrieve domain intelligence as JSON.

    GET
    /domain-intel/{domain}

    Parameters

    ParameterTypeRequiredDescription
    domainstring
    Yes
    Domain to query, e.g. example.com
    excludestring
    No
    Comma-separated fields to exclude

    Example Request

    curl -H "X-API-Key: YOUR_API_KEY" https://api.datazag.com/domain-intel/example.com

    Responses

    Successful requests return a 200 OK with a JSON body.

    {
      "domain": "example.com",
      "status": "active",
      "risk_score": 20,
      "flags": {
        "is_phishing": false,
        "is_mailable": true,
        "is_disposable": false,
        "has_dmarc": true,
        "has_spf": true
      }
    }

    Field Glossary

    FieldTypeDescription
    risk_scoreint (0–100)Higher score indicates higher risk.
    flags.is_phishingboolTrue if the domain is on phishing blacklists.
    flags.is_disposableboolTrue if domain is a disposable provider.
    flags.is_mailableboolTrue if domain is suitable for sending/receiving mail.

    Errors

    The API uses conventional HTTP status codes to indicate success or failure.

    HTTP StatusMessageDescription
    400Bad RequestMalformed domain or parameters
    401UnauthorizedInvalid or missing API key
    404Not FoundDomain not found
    429Too Many RequestsRate limit exceeded
    500Internal Server ErrorUnexpected server error