Skip to content
InternetData

IP and domain lookup API: any IP, AS or domain, as JSON

api.internetdata.io answers any IP address, AS or domain as JSON: free on Unlimited, with no key and no daily or monthly cap, and every field on a paid plan.

Published 2 min read

On this page
  1. One address, no key
  2. The site's paths, on the API host
  3. What a paid plan adds
  4. From your own code
  5. Getting access

The IP and domain lookup API is out: one GET to api.internetdata.io answers what our databases say about any IP address, AS or domain, as JSON. Unlimited, the free plan, needs no key and has no daily or monthly cap. A paid plan answers every field.

One address, no key

bash
curl https://api.internetdata.io/8.8.8.8

It answered on November 16:

json
{
  "ip": "8.8.8.8",
  "is_bogon": false,
  "is_tor": false,
  "is_relay": false,
  "is_anycast": true,
  "is_carrier": false,
  "is_satellite": false,
  "is_ssh": false,
  "is_smtp": false,
  "is_web": true,
  "is_dns_resolver": true,
  "is_bittorrent": false,
  "location": {
    "continent": "NA",
    "continent_name": "North America",
    "country": "US",
    "country_name": "United States",
    "timezone": "America/Los_Angeles",
    "currency_code": "USD",
    "currency_name": "Dollar",
    "currency_symbol": "$",
    "flag_emoji": "🇺🇸",
    "flag_unicode": "U+1F1FA U+1F1F8"
  },
  "tor": {},
  "relay": {},
  "asn": {
    "asn": 15169,
    "name": "Google LLC",
    "domain": "google.com",
    "type": "hosting",
    "prefix": "8.8.8.0/24"
  },
  "company": {
    "name": "Google LLC",
    "domain": "google.com"
  },
  "hostname": "dns.google",
  "abuse": {
    "email": "network-abuse@google.com"
  }
}

That's Unlimited's answer: where the address is to the country, the network and company behind it, the abuse email, the reverse DNS hostname, and the Tor, relay, anycast, carrier, satellite and service flags. A field your plan doesn't include is left out, never sent as false. Test for its presence: no is_vpn here means the answer doesn't say, not that the address isn't a VPN.

The site's paths, on the API host

The API takes the same paths as the pages on internetdata.io: /AS15169 for an AS, /nytimes.com for a domain.

bash
curl https://api.internetdata.io/AS15169
json
{
  "asn": 15169,
  "name": "Google LLC",
  "country": "US",
  "registry": "arin",
  "allocated": "2000-03-30",
  "domain": "google.com"
}
bash
curl https://api.internetdata.io/nytimes.com
json
{
  "domain": "nytimes.com",
  "is_registered": true,
  "has_a": true,
  "has_aaaa": false,
  "has_mx": true,
  "has_ns": true,
  "has_cname": false
}

Each address and domain page on the site switches between the page and its JSON, and curl https://internetdata.io/myip answers for the address you're calling from.

What a paid plan adds

A key on a paid plan widens the answer. An address gains VPN and the residential, datacenter, mobile and public proxy flags with their detail, hosting and CDN, the carrier or satellite operator, location to the city, the full abuse contact, its whois records, the detail behind each service flag, and how many domains point at it, with the ten most popular. An AS gains its whois record, the prefixes it announces and their RPKI status, its rank, and its upstreams, peers and downstreams. A domain gains its DNS records, whether it's a disposable email domain, and the organization's IP ranges from Domain IP Ranges. On November 16, nytimes.com's answer listed its A, MX and NS records and 25 ranges holding 61,638 IPv4 addresses.

bash
curl -H "Authorization: Bearer $KEY" https://api.internetdata.io/8.8.8.8

Trimmed to a few of its fields:

json
{
  "ip": "8.8.8.8",
  "is_vpn": false,
  "is_resproxy": false,
  "is_hosting": true,
  "location": {
    "country": "US",
    "region": "California",
    "city": "Mountain View"
  },
  "dns_resolver": {
    "port": 53,
    "recursion_available": true,
    "rcode": 0,
    "answer_correct": true,
    "last_seen": "2026-11-14"
  }
}

Every paid plan answers the same fields:

PlanPrice a monthLookups a monthThen, per 1,000
UnlimitedFreeNo cap
Starter$39250,000$0.18
Scale$1992,000,000$0.14
Max$3995,000,000$0.10

Paying yearly costs ten months. On a paid plan, POST /batch takes up to 1,000 addresses, ASes and domains in one call, each counted as a lookup.

From your own code

  • Client libraries for 12 languages and the browser. Each answers private addresses without a request, caches what it looks up and splits big batches for you.
  • Middleware for Express, Fastify, Next.js, net/http, Gin, Spring Boot and axum, which looks up the visitor behind every request your app serves.
  • The CLI: internetdata 8.8.8.8, internetdata AS15169 or internetdata example.com, internetdata myip, and internetdata bulk for a list, a CIDR or a range, as CSV or JSON lines.
  • The MCP server, for an AI assistant: lookup_ip, lookup_ips for a list of addresses, lookup_asn, lookup_domain, and my_entitlement for your plan and what's spent of it.

Getting access

Unlimited needs nothing: send the request. Its answers may be used for any purpose, commercial included, as long as they aren't redistributed, resold or used in a competing service (terms). Sign up for a key: a free account answers every field for its first 100 lookups each UTC day, then as Unlimited, with trial_expired on each answer saying which. The key goes in a header or a query parameter, as the docs show. Compare the plans on pricing. Enterprise is priced to your volume, with database licenses beside it: talk to us.

Written by

  • Uman Shahzad

    Founder & CEO

    Uman has worked on IP data for over eight years, including as lead engineer at IPinfo. He built systems and practices that IP data companies now use to run at scale and keep their data accurate.

Get new posts by email

Or follow along in a feed reader.

RSS feed

Put this data to work.

Everything these posts report on is in the API. Look up any address, AS or domain free with no key, or get every field on a paid plan.

00 · Unlimited

Unlimited lookups, no sign-up.

Paste it into a terminal. Any address answers with its country, network, company and hostname, with no key and no daily or monthly cap. ASes and domains answer too.

curl https://api.internetdata.io/8.8.8.8
{
"ip": "8.8.8.8",
"is_bogon": false,
"is_tor": false,
"is_relay": false,
"is_anycast": true,
"is_carrier": false,
"is_satellite": false,
"is_ssh": false,
"is_smtp": false,
"is_web": true,
"is_dns_resolver": true,
"is_bittorrent": false,
"hostname": "dns.google",
"location": {
"continent": "NA",
"continent_name": "North America",
"country": "US",
"country_name": "United States",
"timezone": "America/Los_Angeles",
"currency_code": "USD",
"currency_name": "Dollar",
"currency_symbol": "$",
"flag_emoji": "🇺🇸",
"flag_unicode": "U+1F1FA U+1F1F8"
},
"asn": {
"asn": 15169,
"name": "Google LLC",
"domain": "google.com",
"type": "hosting",
"prefix": "8.8.8.0/24"
},
"company": {
"name": "Google LLC",
"domain": "google.com"
},
"tor": {},
"relay": {},
"abuse": {
"email": "network-abuse@google.com"
}
}
01 · Every field

All of the data on a paid plan.

VPN, proxy, hosting and CDN flags, each naming the operator.
Location to the city, with coordinates and an accuracy radius.
WHOIS records, the whole abuse contact and the services an address runs.
Up to 1,000 addresses, ASes and domains in one request.

A free API key answers every field for its first 100 lookups each day, with no card.