Skip to content
InternetData

Every prefix announced in the global routing table.

Each IPv4 and IPv6 prefix in global BGP, with its origin AS, how many collectors see it and its RPKI state; one with several origins keeps a row per origin, so possible hijacks stay visible.

Request evaluation

In the lookup API: prefixes, on a paid plan.

Real rows, with what each column means.

See documentation →

The schema and metadata are in the docs. It is published as CSVGZ.

prefixfamilyorigin_asnpeer_countrpki_statusfirst_seen
1.0.0.0/2441333517valid2026-10-02
24.116.251.0/2441149217not_found2026-10-02
85.107.128.0/174912117valid2026-10-02
113.29.101.64/27433561not_found2026-10-02
2a09:8e80::/2964845620valid2026-10-02
ID
bgp_route_v1
Entries
1,448,522
Refresh
Daily
CSVGZ
5.94 MB

Download it from your code in one call.

Database API reference →

Every official client fetches the current BGP Route build to disk, as a link for your own runner or into memory, and checks it against its published checksums.

download()
Streams the current build to a file, which lands only once the whole transfer has arrived, so a failed one never leaves a truncated file behind.
downloadUrl()
The time-limited link the API redirects to, for your own downloader, a job runner or a CDN pull.
downloadBytes()
The build in memory, for a small database or a pipeline that never touches a filesystem.
metadata()
Row count, file sizes and when the build last updated. Poll it and fetch only when a new one has landed.
checksums()
The md5, sha1, sha256 and sha512 digests of one file, to verify it once it lands.
import os
from internetdata import InternetData
client = InternetData(os.environ["INTERNETDATA_API_KEY"])
# what is in today's build, without moving the file
meta = client.database.metadata("bgp_route_v1")
client.database.download("bgp_route_v1", "csvgz", "./bgp_route_v1.csv.gz")
sums = client.database.checksums("bgp_route_v1", "csvgz")
print(meta.updated, meta.entries, sums["sha256"])
load.pypip install internetdata
Also available for .NET, Ruby, Rust, Swift, Erlang, Perl and Zig. See all on GitHub →

Put it to work in your own systems.

Teams join BGP Route against traffic they already log, inside their own infrastructure, and never send an address anywhere to get an answer.

Traffic attribution

Group requests, flows and logs by the prefix and origin AS that announces them.

Route security

Flag prefixes that RPKI marks invalid or that more than one origin announces, which is what a leak or a hijack looks like.

Routing visibility

See how widely each prefix is observed across collectors before you trust a route.

License the full database
Sales will quote on volume, term and whether you need redistribution rights.
Checksums published per file: md5, sha1, sha256 and sha512.
The ID fixes the schema, so a new build never changes the columns your parser reads.
Samples are cut from the current build.

Call the API in your language, with an official client.

All SDKs on GitHub →

Thirteen official clients, one for each language you ship in and one for the browser, plus middleware for seven web frameworks. Each answers private addresses without a request, caches what it looks up and splits big batches for you.

On this page

Why does a prefix appear twice?

It's announced by more than one origin AS, a multi-origin (MOAS) prefix. Each origin gets its own row, because a second origin can be deliberate, as in anycast or a migration, or a leak or hijack.

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.