Documentation

API URL


POST /api/v1/lookup

Headers
Code
Content-Type: application/json
Body Parameters


Example Request

Code
GET https://datpaq.com/api/v1/domain-lookup/lookup?api_key=your-api-key&domain=github.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 ValidationError - Missing domain payload: Request rejected because domain input is required
400 ValidationError - Batch size greater than 50: Request rejected because batch exceeds maximum domain count
401 AuthenticationError - Gateway authentication failure: Request rejected due to missing or invalid API credentials
500 InternalError - Unhandled request-level lookup failure: Lookup request failed during processing

Last Updated:  May 4, 2026