Skip to content
OSINTtools.io

DNSDumpster API

Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map.

Base URL
https://api.dnsdumpster.com
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from dnsdumpster.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The DNSDumpster API returns the DNS records DNSDumpster has found for a domain (A, CNAME, MX, NS and TXT), with the IP address, PTR name, ASN, ASN owner, netblock and country of each host, and HTTP/HTTPS banner details (server, page title, detected apps, certificate names) where they were seen. A second endpoint returns banners for a CIDR range.

An investigator uses it to map a domain's hosts and subdomains, the networks and providers they sit on, and what web servers answer on them, without querying the target's servers themselves.

Calls go to https://api.dnsdumpster.com with your key in the X-API-Key header; the key is on your account dashboard and needs at least a Free account. Responses are JSON. The Free plan returns up to 50 records per domain; Plus returns up to 200 and adds pagination (page), the domain map (map=1) and the banners endpoint. For larger result sets the docs point to hackertarget.com.

Quick start

  1. Get a key

    Create an account with DNSDumpster and copy your api key (free tier). Where to get it

  2. Make your first request

    DNS records, hosts, ASNs and banners found for a domain. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.dnsdumpster.com/domain/example.com' \
      -H 'X-API-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "a": [
        {
          "host": "www.example.com",
          "ips": [
            {
              "asn": "64500",
              "asn_name": "EXAMPLE-NET Example Hosting",
              "asn_range": "203.0.113.0/24",
              "banners": {
                "http": {
                  "apps": [
                    "Nginx"
                  ],
                  "server": "nginx",
                  "title": "Example Domain"
                },
                "https": {
                  "alt_n": [
                    "www.example.com"
                  ],
                  "apps": [
                    "Nginx"
                  ],
    …

Authentication

Send your API key in the X-API-Key header of every request.

The key is shown on your account dashboard after signing in.

Get a key from DNSDumpster

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

1 request per 2 seconds; over it returns 429

Free tier.

  • BasicFree · 50 requests/day, up to 50 subdomains per request, API access to records
  • Plus$49/year · 200 requests/day, up to 200 subdomains per request, API access
  • Max$499/year · 2,500 requests/day, 4,096 CIDR search results, API access
  • AdvancedPrice not published · Advanced operators, up to 50,000 results per report via HackerTarget tools
  • DNSDumpster UnpluggedContact sales · Offline self-contained VM for air-gapped networks; government/approved corporate

Plans from dnsdumpster.com, checked Nov 25, 2026.

Errors

StatusMeaning
429Rate limit exceeded ({"error":"Rate limit exceeded"})

Domains

  • Takes: Domain
  • Passive: the target is not contacted
  • Plan: Free and Plus

Returns the A, CNAME, MX, NS and TXT records found for the domain. Each host comes with its IPs and, for each IP, PTR, ASN, ASN name and range, country and HTTP/HTTPS banners where seen. Free accounts get up to 50 records per domain, Plus up to 200 per page.

Path parameters

domainstringrequiredtakes your domain

The domain to look up

Example: example.com

Query parameters

pageinteger

Page of host records beyond the first 200 (Plus only)

Example: 2
mapinteger

Set to 1 to include a base64-encoded domain map (Plus only; adds a large amount of data)

Example: 1
Response fields · 15Show

hoststring

Host name with an A record

ipstring

IP address of the host

ptrstring

Reverse DNS (PTR) name of the IP

asnstring

Autonomous system number

asn_namestring

Owner of the autonomous system

asn_rangestring

Netblock the IP belongs to

countrystring

Country name

country_codestring

Two-letter country code

httpobject

HTTP banner: server, title, apps

httpsobject

HTTPS banner: server, title, apps, certificate cn and alt_n

cname[]object

CNAME records

mx[]object

Mail servers, same shape as a[]

ns[]object

Name servers, same shape as a[]

txt[]string

TXT records

total_a_recsinteger

Number of A records found

curl 'https://api.dnsdumpster.com/domain/example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "a": [
    {
      "host": "www.example.com",
      "ips": [
        {
          "asn": "64500",
          "asn_name": "EXAMPLE-NET Example Hosting",
          "asn_range": "203.0.113.0/24",
          "banners": {
            "http": {
              "apps": [
                "Nginx"
              ],
              "server": "nginx",
              "title": "Example Domain"
            },
            "https": {
              "alt_n": [
                "www.example.com"
              ],
              "apps": [
                "Nginx"
              ],
              "cn": "www.example.com",
              "server": "nginx",
              "title": "Example Domain"
            },
            "ip": "203.0.113.10"
          },
          "country": "Netherlands",
          "country_code": "NL",
          "ip": "203.0.113.10",
          "ptr": ""
        }
      ]
    }
  ],
  "cname": [],
  "mx": [],
  "ns": [
    {
      "host": "ns1.example.net",
      "ips": [
        {
          "asn": "64501",
          "asn_name": "EXAMPLE-DNS",
          "asn_range": "198.51.100.0/24",
          "country": "United States",
          "country_code": "US",
          "ip": "198.51.100.53",
          "ptr": ""
        }
      ]
    }
  ],
  "total_a_recs": 1,
  "txt": [
    "v=spf1 -all"
  ]
}