Documentation

API URL


POST /lookup

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
{
  "domain": "stripe.com"
}

Successful Response

Status
HTML
200 OK
Body
Code
{
  "domain": "stripe.com",
  "tld": "com",
  "category": "commercial",
  "region": "Global",
  "dnsCheck": {
    "hasA": true,
    "hasAAAA": true,
    "hasMX": true,
    "hasTXT": true
  },
  "whois": {
    "available": true,
    "url": "https://datpaq.com/whois?domain=stripe.com"
  }
}

Error Response

Example
Code
400 INVALID_INPUT – Missing domain or domains[]
200 INVALID_DOMAIN – Malformed domain (e.g. 'abc')

Last Updated:  May 4, 2026