# DNSDumpster API reference

> 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…

Source: https://osinttools.io/apis/dnsdumpster/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/dnsdumpster/

- Base URL: https://api.dnsdumpster.com
- Authentication: API key in the `X-API-Key` header. Get a key: https://dnsdumpster.com/membership/ The key is shown on your account dashboard after signing in.
- Free tier: yes
- Rate limits: 1 request per 2 seconds; over it returns 429
- Vendor docs: https://dnsdumpster.com/developer/

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 429 | Rate limit exceeded ({"error":"Rate limit exceeded"}) |

## Domains

### DNS records, hosts, ASNs and banners found for a domain

`GET /domain/{domain}`

- Takes: Domain
- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | The domain to look up Example: example.com |
| `page` | query | integer | no | Page of host records beyond the first 200 (Plus only) Example: 2 |
| `map` | query | integer | no | Set to 1 to include a base64-encoded domain map (Plus only; adds a large amount of data) Example: 1 |

Response fields:

- `a[].host` (string): Host name with an A record
- `a[].ips[].ip` (string): IP address of the host
- `a[].ips[].ptr` (string): Reverse DNS (PTR) name of the IP
- `a[].ips[].asn` (string): Autonomous system number
- `a[].ips[].asn_name` (string): Owner of the autonomous system
- `a[].ips[].asn_range` (string): Netblock the IP belongs to
- `a[].ips[].country` (string): Country name
- `a[].ips[].country_code` (string): Two-letter country code
- `a[].ips[].banners.http` (object): HTTP banner: server, title, apps
- `a[].ips[].banners.https` (object): 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_recs` (integer): Number of A records found

```bash
curl 'https://api.dnsdumpster.com/domain/example.com' \
  -H 'X-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "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"
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
