# IP Address and Domain Information (DNSlytics) API reference

> The DNSlytics API returns data from DNSlytics about IP addresses and domains: AS and subnet information, reverse IP (domains hosted on an address), hosting history and blocklist and geo data. An investigator can use it to pivot from an IP to the domains on it, or from a domain to the addresses it…

Source: https://osinttools.io/apis/dnslytics-extension/ (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/dnslytics-extension/

- Base URL: https://api.dnslytics.net/v1
- Authentication: API key in the `apikey` query parameter. Get a key: https://dnslytics.com/api
- Pricing: Credits
- Rate limits: Free: 2,500 requests per day. Premium: 20,000 requests per day and 30 per minute by default.
- Vendor docs: https://dnslytics.com/api

## Overview

The DNSlytics API returns data from DNSlytics about IP addresses and domains: AS and subnet information, reverse IP (domains hosted on an address), hosting history and blocklist and geo data. An investigator can use it to pivot from an IP to the domains on it, or from a domain to the addresses it used.

Calls are HTTPS GET requests that return JSON, with your key in the `apikey` query parameter. Each call is debited from an API credit balance; the ones documented here are marked Premium and need purchased credits. The docs list more endpoints (ASInfo, DomainSearch, ReverseNS, ReverseMX and others) that are not covered here.

The docs state daily and per-minute limits; over-limit calls return HTTP 403 or 429.

## Errors

| Status | Meaning |
| --- | --- |
| 403 | Daily or per-minute limit exceeded, or access denied |
| 429 | Too many requests |
| 503 | Global limit reached; service unavailable |

## IP lookups

### Routing, hosted domains, hosting history, blocklist and geo data for an IPv4 address.

`GET /ipinfo/{ip}`

- Takes: IP address, Domain
- Footprint: passive (the target is not contacted)
- Cost: 3 credits
- Plan: Premium

If a hostname is given, the first IPv4 address it resolves to is used. Lists up to 10 domains, MX and NS records and up to 100 neighbouring IPs in the /24.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IPv4 address, or a hostname Example: 203.0.113.7 |

Response fields:

- `status` (string): succeed or error
- `data.question` (string): The requested IP address
- `data.asinfo.asn` (integer): Autonomous system number
- `data.asinfo.cidr` (string): Routed subnet in CIDR form
- `data.asinfo.shortname` (string): AS name
- `data.ptr` (string): Reverse DNS record, empty if none
- `data.ndomains` (integer): Number of domains on the IP
- `data.domains[]` (string): Up to 10 domains
- `data.hostinghistory.ndomains` (integer): Unique domains hosted in the past
- `data.subnethosting.ips[].ip` (string): IP in the same /24 with hosted domains
- `data.subnethosting.ips[].count` (integer): Domains on that IP
- `data.blocklist.dnsblcountsubnet` (integer): Listed IPs in the subnet
- `data.geoinfo.country_code` (string): Country code
- `data.geoinfo.country_name` (string): Country name

```bash
curl 'https://api.dnslytics.net/v1/ipinfo/203.0.113.7?apikey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": "succeed",
  "data": {
    "question": "203.0.113.7",
    "typeinfo": "ipinfo",
    "asinfo": {
      "asn": 64500,
      "ip_start": "203.0.113.0",
      "ip_end": "203.0.113.255",
      "subnet": 24,
      "cidr": "203.0.113.0/24",
      "shortname": "Example Hosting"
    },
    "ptr": "",
    "ndomains": 2,
    "domains": [
      "example.com",
      "example.org"
    ],
    "hostinghistory": {
      "ndomains": 5,
      "nmxrecords": 1,
      "nnsrecords": 0
    },
    "subnethosting": {
      "ips": [
        {
          "ip": "203.0.113.8",
          "count": 1,
          "example": "example.net"
        }
      ]
    },
    "blocklist": {
      "dnsblcountsubnet": 0
    },
    "geoinfo": {
      "country_code": "US",
      "country_name": "United States"
    }
  }
}
```

### List domains hosted on an IP address.

`GET /reverseip/{ip}`

- Takes: IP address, Domain
- Footprint: passive (the target is not contacted)
- Cost: 5 credits
- Plan: Premium

Each call returns up to 2,500 domains; page 1 to 40 retrieves up to 100,000. The docs describe entries as objects with domain, firstseen and lastseen but their example shows plain strings, so check the live output.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IPv4 or IPv6 address, or a hostname Example: 203.0.113.7 |
| `page` | query | integer | no | Page of results, 1 to 40 Example: 1 |

Response fields:

- `status` (string): succeed or error
- `data.question.ip` (string): The requested IP
- `data.question.page` (integer): The requested page
- `data.ndomains` (integer): Total domains found
- `data.domains[]` (string): Domain names

```bash
curl 'https://api.dnslytics.net/v1/reverseip/203.0.113.7?apikey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": "succeed",
  "data": {
    "question": {
      "ip": "203.0.113.7",
      "page": 1
    },
    "typeinfo": "reverseip",
    "ndomains": 2,
    "domains": [
      "example.com",
      "example.org"
    ]
  }
}
```

## Domain lookups

### Historic A, AAAA, MX, NS and SPF records for a domain.

`GET /hostinghistory/{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Cost: 4 credits
- Plan: Premium

Each record has a last-seen date. The docs name the name-server list ns in the field list and dns in the example, so it is left out here.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain name Example: example.com |

Response fields:

- `status` (string): succeed or error
- `data.question` (string): The requested domain
- `data.ipv4[].ip` (string): Historic IPv4 address
- `data.ipv4[].updatedate` (string): Last-seen date
- `data.ipv6[].ip` (string): Historic IPv6 address
- `data.mx[].mx` (string): Historic MX record
- `data.spf[].record` (string): Historic SPF record

```bash
curl 'https://api.dnslytics.net/v1/hostinghistory/example.com?apikey=YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": "succeed",
  "data": {
    "question": "example.com",
    "typeinfo": "hostinghistory",
    "ipv4": [
      {
        "ip": "203.0.113.7",
        "updatedate": "2018-04-29"
      }
    ],
    "ipv6": [
      {
        "ip": "2001:db8::7",
        "updatedate": "2018-04-29"
      }
    ],
    "mx": [
      {
        "mx": "mail.example.com",
        "updatedate": "2018-04-29"
      }
    ],
    "spf": [
      {
        "record": "v=spf1 ip4:203.0.113.7 ~all",
        "updatedate": "2018-04-29"
      }
    ]
  }
}
```

---

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/
