InternetData

v4.0.3
io.internetdata/mcp Checked 9 hours ago Published 1 day ago

Look up any IP address, AS or domain, and list InternetData's databases and your license for each.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

lookup_ip Look up an IP address

What every database InternetData publishes says about one IPv4 or IPv6 address: where it is, which network announces it, who uses it, its abuse contact and reverse DNS name; whether it is a Tor node, a privacy relay, anycast, or a mobile carrier's or satellite operator's space; whether an SSH, mail, web, open DNS resolver or BitTorrent service answered on it; whether it is a VPN, a residential, datacenter, mobile or public proxy, a hosting provider or a CDN; whether a crawler or other bot uses it, and whose; and its Whois and RWHOIS records and how many domains it hosts. Pass the `User-Agent`…

ParameterTypeDescription
ip *stringThe IPv4 or IPv6 address to look up.
user_agentstringThe `User-Agent` a client at this address sent. The answer's `user_agent` then names the agent and says whether this address bears it out, so a crawler forging its agent reads `spoofed`. An answer wit…

lookup_ips Look up several IP addresses

Look up a list of addresses in one call, returning a map keyed by address so duplicates collapse and the order you passed them stops mattering. Each answer is what `lookup_ip` gives for that address. Pass the whole list rather than splitting it yourself: a long one is batched for you. Prefer this over repeated `lookup_ip` calls when you already have the list, for example when triaging a log file. To check the agents such a log claims, pass `user_agents`, one `User-Agent` per address, and each answer says whether its address bears its agent out. A batch needs a key on a paid plan: with a key on…

ParameterTypeDescription
ips *arrayThe IPv4 or IPv6 addresses to look up.
user_agentsobjectEach address's `User-Agent`, keyed by the address as `ips` spells it. An address left out sends none. The answer's `user_agent` then names the agent and says whether this address bears it out, so a cr…

lookup_asn Look up an AS

What InternetData knows about one autonomous system, by its number: its operator, country, registry, allocation date and domain, the kind of network it runs, how many IPv4 addresses and prefixes it announces with their RPKI counts, its ASN Whois record, its rank and whether it is Tier 1, the AS numbers it gets transit from, peers with and provides transit to, how many domains it hosts with the most popular, and the prefixes it announces in global BGP with their RPKI status. The prefixes and each list of AS numbers hold their first 100, the AS numbers ascending, with `truncated` giving the tota…

ParameterTypeDescription
asn *integerThe AS number: 15169 for AS15169.

lookup_domain Look up a domain

What InternetData knows about one domain, from its latest snapshots rather than a live DNS query: whether it is registered, which DNS record types it has, the records themselves, the network announcing each address, the other domains on its first IPv4 address, its organization's IP ranges, whether it is a disposable email domain, what its home page says of itself and links to, and the domains whose home page redirects or links to it. Always read `coverage.note` before concluding anything from a field that is not in the result.

ParameterTypeDescription
domain *stringThe domain to look up, such as `example.com`.

my_entitlement Plan and usage for this key

What this API key is entitled to and how much of it has been used: the plan, the field tier that decides how much of a lookup answer comes back, the requests counted so far, the allowance, and when it resets. Use it to explain why a field is missing from a lookup, or before a large batch. A paid plan's usage counts against the anniversary of the subscription rather than the calendar month; the free plan's counts the UTC day's lookups answered with every field. Either can lag a few seconds behind. `hard_limit` is where full answers stop, and a null one means they never do - it is NOT a limit of…

list_databases List databases

The IP database catalog as this API key's organization may see it, one entry per database FAMILY, with `standing` saying where their license stands: `licensed` if the family is theirs today, `expired` if the term has ended, `unlicensed` if it is published but has never been bought. Each entry has a `base` ID, which is what a license names, and a `versions` array whose `id` is what the other database tools take - pass `versions[].id` (`bogon_ip_v1`), never the `base` (`bogon_ip`). Ask again rather than holding on to this: it is answered per key and is not the same for everyone.

database_metadata Describe a database

What is inside one database before you fetch it: the columns in each published format with their types, a few sample rows, the row count, the build date and the file sizes. Use this to answer questions about what a database contains without downloading it - the files reach several GB - and to budget a transfer before starting one.

ParameterTypeDescription
dataset_id *stringA VERSIONED database ID, from `versions[].id` in `list_databases` - `bogon_ip_v1`, not `bogon_ip`. The unversioned base ID is a license reference and is not accepted here.

database_checksum Get a database's checksums

The published digests for one database file, for verifying a copy you already hold or deciding whether a build has changed since you last fetched it. It is licensed like the download itself, so a database this key cannot download is refused here too. Looking up a checksum is not a download and does not appear in `list_downloads`.

ParameterTypeDescription
dataset_id *stringA VERSIONED database ID, from `versions[].id` in `list_databases` - `bogon_ip_v1`, not `bogon_ip`. The unversioned base ID is a license reference and is not accepted here.
format *stringWhich published file to digest.

list_downloads List recent download attempts

This organization's own recent download attempts, newest first, REFUSALS INCLUDED - a denial carries the `outcome` and `http_status` that answer "it stopped working", which nothing else here can. Use it to explain a failing fetch, to confirm a transfer ran, or to check whether a request was theirs. This is a bounded WINDOW of at most 200 rows, so a database missing from the answer means it is not in this window - never that it was never downloaded.

ParameterTypeDescription
limitintegerHow many attempts to return, newest first. At most 200; the API defaults to 50.