curl --request POST \
--url https://www.ntanduy.com/api/v1/domain/dns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "example.com"
}
'{
"success": true,
"data": {
"domain": "example.com",
"provider": "google",
"records": [
{
"section": "answer",
"name": "example.com",
"canonicalName": "example.com.",
"normalizedName": "example.com",
"typeCode": 1,
"typeName": "A",
"ttl": 300,
"TTL": 300,
"data": "93.184.216.34",
"normalizedData": "93.184.216.34"
}
],
"sections": [
{
"section": "answer",
"title": "Answer",
"groups": [
{
"typeName": "A",
"typeCode": 1,
"records": [
{
"section": "answer",
"name": "example.com",
"canonicalName": "example.com.",
"normalizedName": "example.com",
"typeCode": 1,
"typeName": "A",
"ttl": 300,
"TTL": 300,
"data": "93.184.216.34",
"normalizedData": "93.184.216.34"
}
]
}
]
}
],
"queries": [
{
"query": {
"name": "example.com",
"normalizedName": "example.com",
"typeName": "A",
"typeCode": 1
},
"status": {
"code": 0,
"name": "NOERROR",
"message": "domain_info_page.dns.status_msg.ok"
},
"flags": {
"tc": false,
"rd": true,
"ra": true,
"ad": false,
"cd": false
},
"records": [
{
"section": "answer",
"name": "example.com",
"canonicalName": "example.com.",
"normalizedName": "example.com",
"typeCode": 1,
"typeName": "A",
"ttl": 300,
"TTL": 300,
"data": "93.184.216.34",
"normalizedData": "93.184.216.34"
}
],
"counts": {
"answer": 1,
"authority": 0,
"additional": 0
}
}
],
"statusSummary": {
"status": "ok",
"message": "domain_info_page.dns.status_msg.ok",
"domainExists": true
},
"queried_at": "2026-08-11T12:00:00.000Z"
}
}Network intelligence
Lookup domain DNS
Resolve normalized DNS records for a hostname through Google or Cloudflare.
POST
/
api
/
v1
/
domain
/
dns
curl --request POST \
--url https://www.ntanduy.com/api/v1/domain/dns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "example.com"
}
'{
"success": true,
"data": {
"domain": "example.com",
"provider": "google",
"records": [
{
"section": "answer",
"name": "example.com",
"canonicalName": "example.com.",
"normalizedName": "example.com",
"typeCode": 1,
"typeName": "A",
"ttl": 300,
"TTL": 300,
"data": "93.184.216.34",
"normalizedData": "93.184.216.34"
}
],
"sections": [
{
"section": "answer",
"title": "Answer",
"groups": [
{
"typeName": "A",
"typeCode": 1,
"records": [
{
"section": "answer",
"name": "example.com",
"canonicalName": "example.com.",
"normalizedName": "example.com",
"typeCode": 1,
"typeName": "A",
"ttl": 300,
"TTL": 300,
"data": "93.184.216.34",
"normalizedData": "93.184.216.34"
}
]
}
]
}
],
"queries": [
{
"query": {
"name": "example.com",
"normalizedName": "example.com",
"typeName": "A",
"typeCode": 1
},
"status": {
"code": 0,
"name": "NOERROR",
"message": "domain_info_page.dns.status_msg.ok"
},
"flags": {
"tc": false,
"rd": true,
"ra": true,
"ad": false,
"cd": false
},
"records": [
{
"section": "answer",
"name": "example.com",
"canonicalName": "example.com.",
"normalizedName": "example.com",
"typeCode": 1,
"typeName": "A",
"ttl": 300,
"TTL": 300,
"data": "93.184.216.34",
"normalizedData": "93.184.216.34"
}
],
"counts": {
"answer": 1,
"authority": 0,
"additional": 0
}
}
],
"statusSummary": {
"status": "ok",
"message": "domain_info_page.dns.status_msg.ok",
"domainExists": true
},
"queried_at": "2026-08-11T12:00:00.000Z"
}
}For server-to-server use, send a Pirehub API key with the
domain:dns scope.
See Authentication for OAuth support and credential handling.
The endpoint queries every supported record type and returns deduplicated records,
display-ready sections, per-query resolver status, and a combined status summary.
See the Domain DNS guide for resolver selection, record types,
cache behavior, status handling, limits, and integration guidance.
Subscription-backed API keys
Paid self-service keys use shared owner credits and the plan’s per-second and concurrent-job limits. Successful results, including cache hits, consume the configured action cost; errors release the reservation. Video jobs settle at completion. InspectX-ApiKey-Credit-* and X-ApiKey-RateLimit-*.
An optional Idempotency-Key prevents repeated synchronous execution/debits;
repeated operations return 409 rather than replaying a response. Job starts use
requestId instead. See API plans and idempotency
for costs, billing periods, headers, error codes and retry rules.Authorizations
pirehubOAuthpirehubApiKeybearerApiKey
OAuth 2.0 Authorization Code with PKCE, issued by Pirehub's Clerk authorization server. Request only the scopes required by the operation.
Headers
Self-service keys only. Owner-scoped operation identifier; reuse after admission returns 409 without another debit or execution. USAGE_CONCURRENCY_EXCEEDED retains no new reservation: wait and retry with the same identifier and payload. No response replay. Video jobs use requestId instead.
Required string length:
1 - 80Pattern:
^[a-zA-Z0-9_-]+$Body
application/json