BGP Prefix Routing Status API
Whether an IP block or AS number is announced in BGP right now, from RIPEstat's routing status (RIPE NCC route collectors): origin ASes and their names, how many RIS peers see it, first and last seen, related larger and smaller blocks and IRR route objects.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from stat.ripe.net/docs/data-api/api-endpoints/routing-status
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/bgp-routing-status/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"resources":["1.1.1.0/24","AS13335"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
28 fields.
Basics
- Resource
The entry this row answers, as it was asked, such as 1.1.1.0/24, 8.8.8.8 or AS3333.
Example 1.1.1.0/24
- Resource type
prefix for an IP block or address, asn for an AS number.
Example prefix
- Prefix
The block that was checked: the entry itself, or for an IP address the most specific routed block that holds it. Empty for AS numbers.
Example 1.1.1.0/24
- Announced
Yes when RIS peers see the block (or any block of the AS number) announced right now.
Example Yes
- Origin asns
AS numbers announcing exactly this block now; for an AS number, the AS itself while it is seen.
Example 13335
- Origin as names
Each origin AS with RIPEstat's name for it, such as AS13335 CLOUDFLARENET - Cloudflare, Inc.
Example AS13335 CLOUDFLARENET - Cloudflare, Inc.
- Ris peers seeing
Full-feed RIS peers that see the block now (IPv4 peers for an AS number).
Example 323
- Total ris peers
All full-feed RIS peers of that IP family.
Example 324
- Visibility (%)
ris_peers_seeing as a percentage of total_ris_peers, to one decimal.
Example 99.7%
- Ipv 6 ris peers seeing
For an AS number: IPv6 full-feed RIS peers that see any of its blocks.
Example 313
- Ipv 6 total ris peers
For an AS number: all IPv6 full-feed RIS peers.
Example 313
- Ipv 6 visibility (%)
For an AS number: its IPv6 visibility as a percentage, to one decimal.
Example 100%
- First seen prefix
The block announced when it was first seen.
Example 1.1.1.0/24
- First seen origin
The origin AS when it was first seen.
Example 19,855
- Last seen prefix
The block announced when it was last seen.
Example 1.1.1.0/24
- Last seen origin
The origin AS when it was last seen.
Example 13,335
- Less specifics
Larger announced blocks that contain this block, each with its origin, such as 8.0.0.0/9 AS3356 (at most 50).
Example 8.0.0.0/9 AS3356, 8.0.0.0/12 AS3356
- More specifics
Smaller announced blocks inside this block, each with its origin, such as 8.8.4.0/24 AS15169 (at most 50).
Example 193.0.64.0/18 AS8890, 193.0.0.0/21 AS3333
- Irr route objects
Routing registries with a route object matching the block and a current origin, such as RADB or APNIC.
Example APNIC, RADB
- Ipv 4 prefixes count
For an AS number: IPv4 prefixes it announces.
Example 6
- Ipv 4 addresses count
For an AS number: IPv4 addresses those prefixes cover, overlaps counted once.
Example 4,608
- Ipv 6 prefixes count
For an AS number: IPv6 prefixes it announces.
Example 2
- Ipv 6 48 blocks count
For an AS number: IPv6 space it announces, counted in /48 blocks.
Example 17
- Neighbours count
For an AS number: neighbouring ASes RIS observes (it may have more).
Example 909
Dates
- First seen at
When RIS first saw the block or AS number in BGP (UTC).
Example Nov 14, 2001
- Last seen at
When RIS last saw it in BGP (UTC); the latest collection while it is still announced.
Example Dec 6, 2026
- Observed
The RIS collection time this status describes (UTC).
Example Dec 6, 2026
Links
- Ripestat link
The block's or AS number's page on RIPEstat.
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
resource | text | Resource | 3 of 3 |
resource_type | text | Resource type | 3 of 3 |
prefix | text | Prefix | 2 of 3 |
is_announced | yes or no | Announced | 3 of 3 |
origin_asns | list | Origin asns | 3 of 3 |
origin_as_names | list | Origin as names | 3 of 3 |
ris_peers_seeing | number | Ris peers seeing | 3 of 3 |
total_ris_peers | number | Total ris peers | 3 of 3 |
visibility_pct | number | Visibility (%) | 3 of 3 |
ipv6_ris_peers_seeing | number | Ipv 6 ris peers seeing | 1 of 3 |
ipv6_total_ris_peers | number | Ipv 6 total ris peers | 1 of 3 |
ipv6_visibility_pct | number | Ipv 6 visibility (%) | 1 of 3 |
first_seen_at | date and time | First seen at | 3 of 3 |
first_seen_prefix | text | First seen prefix | 3 of 3 |
first_seen_origin | number | First seen origin | 3 of 3 |
last_seen_at | date and time | Last seen at | 3 of 3 |
last_seen_prefix | text | Last seen prefix | 3 of 3 |
last_seen_origin | number | Last seen origin | 3 of 3 |
less_specifics | list | Less specifics | 1 of 3 |
more_specifics | list | More specifics | 0 of 3 |
irr_route_objects | list | Irr route objects | 2 of 3 |
ipv4_prefixes_count | number | Ipv 4 prefixes count | 1 of 3 |
ipv4_addresses_count | number | Ipv 4 addresses count | 1 of 3 |
ipv6_prefixes_count | number | Ipv 6 prefixes count | 1 of 3 |
ipv6_48_blocks_count | number | Ipv 6 48 blocks count | 1 of 3 |
neighbours_count | number | Neighbours count | 1 of 3 |
observed_at | date and time | Observed | 3 of 3 |
ripestat_url | link | Ripestat link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Resource | Resource type | Prefix | Announced | Origin asns | Origin as names | Ris peers seeing | Total ris peers | Visibility (%) | Ipv 6 ris peers seeing | Ipv 6 total ris peers | Ipv 6 visibility (%) | First seen prefix | First seen origin | Last seen prefix | Last seen origin | Less specifics | More specifics | Irr route objects | Ipv 4 prefixes count | Ipv 4 addresses count | Ipv 6 prefixes count | Ipv 6 48 blocks count | Neighbours count | First seen at | Last seen at | Observed | Ripestat link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1.1.1.0/24 | prefix | 1.1.1.0/24 | Yes | 13335 | AS13335 CLOUDFLARENET - Cloudflare, Inc. | 323 | 324 | 99.7% | — | — | — | 1.1.1.0/24 | 19,855 | 1.1.1.0/24 | 13,335 | — | — | APNIC, RADB | — | — | — | — | — | Nov 14, 2001 | Dec 6, 2026 | Dec 6, 2026 | stat.ripe.net/resource/1.1.1.0/24 |
| 2 | 8.8.8.8 | prefix | 8.8.8.0/24 | Yes | 15169 | AS15169 GOOGLE - Google LLC | 324 | 324 | 100% | — | — | — | 8.8.8.0/24 | 21,284 | 8.8.8.0/24 | 15,169 | 8.0.0.0/9 AS3356, 8.0.0.0/12 AS3356 | — | RADB | — | — | — | — | — | Nov 6, 2002 | Dec 6, 2026 | Dec 6, 2026 | stat.ripe.net/resource/8.8.8.0/24 |
| 3 | AS3333 | asn | — | Yes | 3333 | AS3333 RIPE-NCC-AS Reseaux IP Europeens Network Coordination Centre (RIPE NCC) | 324 | 324 | 100% | 313 | 313 | 100% | 193.0.0.0/22 | 3,333 | 193.0.18.0/23 | 3,333 | — | — | — | 6 | 4,608 | 2 | 17 | 909 | Aug 18, 2000 | Dec 6, 2026 | Dec 6, 2026 | stat.ripe.net/resource/AS3333 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Data from RIPEstat by the RIPE NCC, built from its RIS route collectors. Credit RIPEstat (RIPE NCC) when you show or publish results; the RIPE NCC provides this data for network analysis, monitoring, debugging and research.
- Status is the latest RIS collection, made at 00:00, 08:00 and 16:00 UTC, so it can be up to about 8 hours old. Routes seen by fewer than 10 full-feed RIS peers do not count as announced.
- A block is checked exactly as written: one announced only in smaller pieces shows as not announced, with the pieces in more_specifics. An IP address is checked through the most specific routed block that holds it, shown in prefix.
- less_specifics and more_specifics list at most 50 blocks each, as RIPEstat gives them. First and last seen go back to 2000 and are empty for a block RIS never saw.
- irr_route_objects lists the routing registries that hold a route object matching the block and a current origin; an empty list means RIPEstat found none.
- Very large networks can be too slow for RIPEstat: AS13335 (Cloudflare) got no answer within 60 seconds and is skipped, and the run then ends as partial with the other entries. Blocks answer within seconds.
- Up to 100 entries per run, one record each. AS-number rows fill the IPv6 visibility, announced space and neighbour counts; block rows fill origins, related blocks and route objects.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.