API URL
POST /api/v1/lookup
Headers
Code
Content-Type: application/jsonBody Parameters
Param
Type
Description
domain
required
string
Domain input as string or array for enrichment
Example Request
Code
GET https://datpaq.com/api/v1/domain-lookup/lookup?api_key=your-api-key&domain=github.comSuccessful Response
Status
HTML
200 OKBody
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"
}
}Field
Type
domain
string
tld
string
category
string
region
string
dnsCheck
object
dnsCheck.hasA
boolean
dnsCheck.hasAAAA
boolean
dnsCheck.hasMX
boolean
dnsCheck.hasTXT
boolean
whois
object
whois.available
boolean
whois.url
string
error
string
correlationId
string
details
string
status
string
service
string
version
string
timestamp
string
uptime
number
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 processingLast Updated: May 4, 2026