Bulk DNS Lookup
Resolve DNS records for up to 100 domains in a single call.
/v1/lookup/bulk
curl -X POST "https://dns.toolkitapi.io/v1/lookup/bulk?type=A" \
-H "Content-Type: application/json" \
-d '["toolkitapi.io", "google.com", "github.com"]'
import httpx
resp = httpx.post(
"https://dns.toolkitapi.io/v1/lookup/bulk?type=A",
json=["toolkitapi.io", "google.com", "github.com"],
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/lookup/bulk?type=A", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify(["toolkitapi.io", "google.com", "github.com"]),
});
const data = await resp.json();
console.log(data);
# See curl example
{
"record_type": "A",
"domains_queried": 3,
"domains_resolved": 3,
"results": [
{"domain": "toolkitapi.io", "record_type": "A", "records": [{"type": "A", "name": "toolkitapi.io.", "ttl": 3600, "value": "93.184.216.34", "priority": null}], "error": null, "query_time_ms": 18.2},
{"domain": "google.com", "record_type": "A", "records": [{"type": "A", "name": "google.com.", "ttl": 300, "value": "142.250.80.46", "priority": null}], "error": null, "query_time_ms": 11.7}
],
"total_query_time_ms": 29.9
}
Try It Live
Description
How to Use
1. Send a POST request with a JSON array of domain names in the request body.
2. Optionally set the `type` query parameter to specify the record type (default: A).
3. Each domain is resolved independently — failures on one domain don't affect others.
About This Tool
Bulk DNS Lookup resolves DNS records for up to 50 domains concurrently in one API call. All domains are queried in parallel for maximum speed, returning individual results with per-domain timing and error handling.
Ideal for monitoring dashboards, asset inventories, or any workflow that needs to resolve many domains at once without hammering the API with individual requests.
Why Use This Tool
- Infrastructure monitoring — Resolve all your domains in one call to check for changes
- Asset inventory — Bulk-resolve a list of domains to map IP addresses
- Migration validation — Verify DNS records across many domains after a provider switch
- Competitive analysis — Quickly resolve competitor domains to identify hosting providers
Frequently Asked Questions
What's the maximum number of domains?
What happens if one domain fails?
Which record types are supported?
Start using Bulk DNS Lookup now
Get your free API key and make your first request in under a minute.