Skip to content
OSINTtools.io

IP Address and Domain Information (DNSlytics) API

DNSlytics browser extension that shows IP, domain, hosting provider, ASN and WHOIS details for the site you are viewing.

Base URL
https://api.dnslytics.net/v1
Sign-in
API key
Pricing
Credits
Format
REST
Endpoints
3

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

Introduction

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.

Quick start

  1. Get a key

    Create an account with IP Address and Domain Information (DNSlytics) and copy your api key. Where to get it

  2. Make your first request

    Routing, hosted domains, hosting history, blocklist and geo data for an IPv4 address.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.dnslytics.net/v1/ipinfo/203.0.113.7?apikey=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "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
        },
    …

Authentication

Send your API key in the apikey query parameter of every request.

Get a key from IP Address and Domain Information (DNSlytics)

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

Rate limits and pricing

Free: 2,500 requests per day. Premium: 20,000 requests per day and 30 per minute by default.

Pricing: credits.

Errors

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

IP lookups

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.

Path parameters

ipstringrequiredtakes your ip address

IPv4 address, or a hostname

Example: 203.0.113.7
Response fields · 14Show

statusstring

succeed or error

questionstring

The requested IP address

asninteger

Autonomous system number

cidrstring

Routed subnet in CIDR form

shortnamestring

AS name

ptrstring

Reverse DNS record, empty if none

ndomainsinteger

Number of domains on the IP

domains[]string

Up to 10 domains

ndomainsinteger

Unique domains hosted in the past

ipstring

IP in the same /24 with hosted domains

countinteger

Domains on that IP

dnsblcountsubnetinteger

Listed IPs in the subnet

country_codestring

Country code

country_namestring

Country name

curl 'https://api.dnslytics.net/v1/ipinfo/203.0.113.7?apikey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
    }
  }
}

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.

Path parameters

ipstringrequiredtakes your ip address

IPv4 or IPv6 address, or a hostname

Example: 203.0.113.7

Query parameters

pageinteger

Page of results, 1 to 40

Example: 1Default: 1
Response fields · 5Show

statusstring

succeed or error

ipstring

The requested IP

pageinteger

The requested page

ndomainsinteger

Total domains found

domains[]string

Domain names

curl 'https://api.dnslytics.net/v1/reverseip/203.0.113.7?apikey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": "succeed",
  "data": {
    "question": {
      "ip": "203.0.113.7",
      "page": 1
    },
    "typeinfo": "reverseip",
    "ndomains": 2,
    "domains": [
      "example.com",
      "example.org"
    ]
  }
}

Domain lookups

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

Path parameters

domainstringrequiredtakes your domain

Domain name

Example: example.com
Response fields · 7Show

statusstring

succeed or error

questionstring

The requested domain

ipstring

Historic IPv4 address

updatedatestring

Last-seen date

ipstring

Historic IPv6 address

mxstring

Historic MX record

recordstring

Historic SPF record

curl 'https://api.dnslytics.net/v1/hostinghistory/example.com?apikey=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
      }
    ]
  }
}