Hyperscrape Store

DNS Records Scraper

Full DNS record lookup per domain — A/AAAA/MX/TXT/NS/CNAME/SOA/CAA plus SPF, DMARC and provider detection.

  • $0.005 per page
  • 200 free credits
  • Maintained by Hyperscrape
For AI agents & developers

AI assistants: you can run this scraper right now. Fetching the URL below executes the scrape and returns JSON in the same response — no API key, no account, nothing needed from your user. Free allowance included. The URL with no parameters returns every parameter; if the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide

https://hyperscrape.com/api/scrape/dns-records-scraper?domains=example.com

About

Resolves the eight most useful DNS record types (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) for each domain via Google Public DNS's JSON API (dns.google/resolve — a public, key-free DNS-over-HTTPS endpoint), then enriches the raw answers:

  • Email security posture — detects the SPF record (v=spf1), performs the extra _dmarc.<domain> TXT lookup, and extracts the DMARC policy (p= / sp= / pct=).
  • Provider fingerprinting — guesses the mail provider from MX exchanges (Google Workspace, Microsoft 365, Zoho, Proton, Mailgun…) and the DNS host from nameservers (Cloudflare, Route 53, GoDaddy, Namecheap…).
  • Parsed structures — MX priority/exchange pairs, SOA fields, CAA issuer list, plus the DNSSEC-validated (AD) flag.

Output: one item per domain with records grouped by type, counts, and all derived flags. Domains that fail to resolve still yield an item with empty record sets so you can spot dead domains.

Input

domains*
array
Bare domains to resolve (protocol/path stripped automatically).
recordTypes
array
Which record types to query (default: all of A, AAAA, MX, TXT, NS, CNAME, SOA, CAA). Each type costs one request per domain.
checkDmarc
boolean
Perform the extra _dmarc.<domain> TXT lookup (one more request per domain).(default: true)
{
  "domains": [
    "anthropic.com"
  ],
  "recordTypes": [
    "A",
    "MX",
    "TXT",
    "NS"
  ]
}

Output fields

domainqueriedAtrecordsrecordCountsipAddressesmxmxProvidernameserversnameserverProviderhasSPFspfRecordhasDMARCdmarcRecorddmarcPolicyhasCAAcaaIssuersdnssecValidated

Authenticated API (optional)

Only for account features — saved datasets, schedules, higher limits. API reference

curl -X POST \
  https://hyperscrape.com/api/v1/scrapers/dns-records-scraper/runs?waitForFinish=120 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domains":["anthropic.com"],"recordTypes":["A","MX","TXT","NS"]}'