# InternetData API reference

> InternetData looks up an IP address, an AS number or a domain and returns network, ownership and hosting facts. Basic fields cover flags such as Tor and relay, location and the AS; paid plans add city, company, abuse contacts, VPN and proxy flags, WHOIS and hosted domains. Calls go to…

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

- Base URL: https://api.internetdata.io
- Authentication: API key in the `X-Api-Key` header. Get a key: https://app.internetdata.io/auth/signup Optional for lookups. A bearer token or an apikey query parameter also works.
- Free tier: yes
- Pricing: Subscription
- Rate limits: No key: 100 lookups per UTC day per calling address (429 after). Free key: full fields for the first 1,000 lookups per UTC day. Paid plans have a monthly quota.
- Vendor docs: https://docs.internetdata.io/api

## Overview

InternetData looks up an IP address, an AS number or a domain and returns network, ownership and hosting facts. Basic fields cover flags such as Tor and relay, location and the AS; paid plans add city, company, abuse contacts, VPN and proxy flags, WHOIS and hosted domains.

Calls go to `https://api.internetdata.io`. The docs say a lookup works without a key; keys can be sent as a bearer token, an `X-Api-Key` header or an `apikey` query parameter. A field the plan does not include is left out, never sent as false, and every answer carries `cap_reached`.

Without a key each calling address gets 100 lookups per UTC day. A free key has no cap on basic fields and full fields for the first 1,000 lookups each UTC day. A batch endpoint (up to 1,000 items, paid plan) exists but its body is not documented on the pages read, so it is left out here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Input is not an IP address, AS number or domain |
| 401 | Key unknown, revoked or expired, or batch sent without a key |
| 402 | Batch sent with a free-plan key |
| 403 | Source address not allowed, key lacks the Lookups scope, or plain HTTP |
| 429 | Rate limited; wait the seconds in Retry-After |

## Lookups

### Look up an IP address: network, location, ownership and flags.

`GET /{ip}`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Full fields need a paid plan

Returns basic fields on every plan; paid plans add region, city, company, abuse contacts, VPN and proxy flags, WHOIS and hosted domains.

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

Response fields:

- `ip` (string): The address looked up
- `is_bogon` (boolean): Private, loopback or reserved range
- `is_tor` (boolean): Tor flag
- `is_relay` (boolean): Relay flag
- `is_anycast` (boolean): Anycast flag
- `hostname` (string): Reverse hostname
- `location` (object): Continent, country, timezone, currency, flag
- `asn.number` (integer): AS number
- `asn.name` (string): AS name
- `asn.domain` (string): AS domain
- `asn.prefix` (string): Announced prefix
- `cap_reached` (boolean): True when only basic fields were returned because the quota is used up

```bash
curl 'https://api.internetdata.io/203.0.113.7' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "is_bogon": false,
  "is_tor": false,
  "hostname": "host.example.com",
  "asn": {
    "number": 64500,
    "name": "Example Network",
    "domain": "example.com",
    "prefix": "203.0.113.0/24"
  },
  "cap_reached": false
}
```

### Look up an autonomous system by number.

`GET /asn/{asn}`

- Footprint: passive (the target is not contacted)
- Plan: Full fields need a paid plan

Free fields are asn, name, country, registry, allocated and domain; paid plans add type, prefix counts, rank, peers, upstreams, downstreams and hosted domains.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `asn` | path | string | yes | AS number Example: 64500 |

Response fields:

- `asn` (integer): AS number
- `name` (string): AS name
- `country` (string): Country
- `registry` (string): Regional registry
- `allocated` (string): Allocation date
- `domain` (string): AS domain

```bash
curl 'https://api.internetdata.io/asn/64500' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "asn": 64500,
  "name": "Example Network",
  "country": "ZZ",
  "registry": "example",
  "allocated": "2000-01-01",
  "domain": "example.com"
}
```

### Look up a domain: registration and DNS record flags, more on paid plans.

`GET /domain/{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Plan: Full fields need a paid plan

Free fields are domain, is_registered and flags for A, AAAA, MX, NS and CNAME records; paid plans add disposable status, DNS, hosting, cohosted domains, web, redirects and backlinks.

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

Response fields:

- `domain` (string): The domain looked up
- `is_registered` (boolean): Whether the domain is registered
- `has_a` (boolean): Has an A record
- `has_aaaa` (boolean): Has an AAAA record
- `has_mx` (boolean): Has an MX record
- `has_ns` (boolean): Has an NS record
- `has_cname` (boolean): Has a CNAME record

```bash
curl 'https://api.internetdata.io/domain/example.com' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "domain": "example.com",
  "is_registered": true,
  "has_a": true,
  "has_aaaa": false,
  "has_mx": true,
  "has_ns": true,
  "has_cname": false
}
```

### Return the caller's own IP address.

`GET /myip`

- Footprint: passive (the target is not contacted)

Returns the address the request came from.

```bash
curl 'https://api.internetdata.io/myip' \
  -H 'X-Api-Key: YOUR_API_KEY'
```

Example response (200):

```
203.0.113.7
```

---

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/
