Batch Domain Lookups1 Credit / item
Look up to 1000 domains in one call, and read their results as a run.
Up to 1000 items in one call, each answered as its single call would answer it. Send the shared parameters beside the list. Every call creates a run and answers 202 with it at once: items already in the result cache are answered in it, and the rest show as pending. Read it at /v1/runs/{id} while its status is queued or running; each read shows the items finished so far. It ends completed, or failed when the run could not finish, which bills nothing. GET /v1/runs lists your runs. Each answered item (HTTP 200) costs 1 credit; failed items are not billed. The call reserves the cost of every item and is charged for the items answered when the run completes. See Batch Runs for the whole flow.
See Authentication for details.
X-API-Key<token>Provide your API key in an HTTP request header.
application/json- body
domains*array<>The domains to look up, 1000 at most. Each is answered as /v1/domain?domain= would answer it, and billed only when answered
1 <= items <= 1000verbose?booleanReturn extra detail: totalElapsed, retries and params, plus each errors entry's detail when the lookup fails. For domain, each result also has source (the protocol, server and time the record came from), redacted (the fields a server redacted), provenance (whether each part of the record came from the registry or the registrar) discrepancies (where the two disagree) and attempts (every server asked, with what it said and how long it took).
falseredacted?booleanReturn the values a registry or registrar redacted as it sent them ("REDACTED FOR PRIVACY", a privacy service's name). By default they are null, and a contact left with nothing but its handle is null
falseThe run: queued, or completed already when every item was in the result cache. Read it by id
application/json- response
id*stringThe run ID, which names its tool: read it back at /v1/runs/{id}
tool*"domain"The tool the run belongs to
"domain"endpoint*stringThe endpoint that created it
status*stringqueued or running until every item has an outcome, then completed. failed means the run itself could not finish and nothing was billed
"queued""running""completed""failed"createdAt*stringcompletedAt*|When every item had an outcome; null until then
items*integerHow many items were sent
answered*|How many items were answered (HTTP 200), the ones billed; null until completed
credits*|What the run cost: answered items times the per-item price; null until completed
results*array<>|One entry per item, in the order sent: the outcome of each finished item, the rest pending. Null for a failed run
errors*array<>Why the run itself failed; empty otherwise. Each failed item has its own errors
See Errors for the response format.
invalid_requestinvalid_queryauthentication_failedinvalid_api_keyapi_key_expiredout_of_creditsforbiddenunsupported_tldrate_limitedinternal_errorupstream_timeoutupstream_unreachableregistry_throttledupstream_invalidcurl -X POST 'https://api.dns.tools/v1/domain/batch' \ -H 'Content-Type: application/json' \ -d '{ "domains": [ "example.com", "google.com", "unregistered-name-4821.com" ]}'{ "id": "run_domain_01m8sgqc548k6pb044g8rvk45z", "tool": "domain", "endpoint": "batch", "status": "completed", "createdAt": "2026-12-01T19:18:54.107Z", "completedAt": "2026-12-01T19:18:55.036Z", "items": 3, "answered": 3, "credits": 3, "results": [ { "query": "example.com", "pending": false, "cached": true, "errors": [], "result": { "tech": null, "admin": null, "dnssec": true, "billing": null, "reseller": null, "reserved": false, "available": false, "eppStatus": [ "clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited" ], "registrar": { "fax": null, "url": null, "city": null, "name": "RESERVED-Internet Assigned Numbers Authority", "email": null, "phone": null, "state": null, "faxExt": null, "ianaId": 376, "address": null, "phoneExt": null, "abuseEmail": null, "abusePhone": null, "postalCode": null, "countryCode": null }, "domainName": "example.com", "registrant": null, "nameservers": [ "elliott.ns.cloudflare.com", "hera.ns.cloudflare.com" ], "updatedDate": "2026-08-14T08:01:43Z", "creationDate": "1995-08-14T04:00:00Z", "expirationDate": "2027-08-13T04:00:00Z", "unmappedStatus": [], "domainNameUnicode": null, "registryExpirationDate": "2027-08-13T04:00:00Z" }, "status": 200 }, { "query": "google.com", "pending": false, "cached": true, "errors": [], "result": { "tech": { "id": null, "fax": null, "org": null, "url": "https://domains.markmonitor.com/whois/contact/google.com", "city": null, "name": null, "email": null, "phone": null, "state": null, "faxExt": null, "address": null, "phoneExt": null, "postalCode": null, "countryCode": null }, "admin": null, "dnssec": false, "billing": null, "reseller": null, "reserved": false, "available": false, "eppStatus": [ "clientDeleteProhibited", "clientTransferProhibited", "clientUpdateProhibited", "serverDeleteProhibited", "serverTransferProhibited", "serverUpdateProhibited" ], "registrar": { "fax": null, "url": "https://www.markmonitor.com/contact-us/", "city": "Meridian", "name": "Markmonitor Inc.", "email": null, "phone": null, "state": "ID", "faxExt": null, "ianaId": 292, "address": [ "3540 E Longwing Ln" ], "phoneExt": null, "abuseEmail": null, "abusePhone": "+1.2086851750", "postalCode": "83646", "countryCode": "US" }, "domainName": "google.com", "registrant": { "id": null, "fax": null, "org": null, "url": "https://domains.markmonitor.com/whois/contact/google.com", "city": null, "name": null, "email": null, "phone": null, "state": "CA", "faxExt": null, "address": null, "phoneExt": null, "postalCode": null, "countryCode": "US" }, "nameservers": [ "ns1.google.com", "ns2.google.com", "ns3.google.com", "ns4.google.com" ], "updatedDate": "2024-08-02T02:17:33Z", "creationDate": "1997-09-15T04:00:00Z", "expirationDate": "2028-09-14T07:00:00Z", "unmappedStatus": [], "domainNameUnicode": null, "registryExpirationDate": "2028-09-14T04:00:00Z" }, "status": 200 }, { "query": "unregistered-name-4821.com", "pending": false, "cached": true, "errors": [], "result": { "tech": null, "admin": null, "dnssec": null, "billing": null, "reseller": null, "reserved": false, "available": true, "eppStatus": [], "registrar": null, "domainName": "unregistered-name-4821.com", "registrant": null, "nameservers": [], "updatedDate": null, "creationDate": null, "expirationDate": null, "unmappedStatus": [], "domainNameUnicode": null, "registryExpirationDate": null }, "status": 200 } ], "errors": []}