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.

Try it
Ready-made, maintained by usRecords, 28 fieldsv1.0

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

Resources
IP prefixes, IP addresses or AS numbers to check, such as 1.1.1.0/24, 8.8.8.8 or AS3333. Up to 100 per run. One per line, or separated by commas.
Example: 1.1.1.0/24, AS13335

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
Endpoint
POSThttps://pullrow.dev/v1/apis/bgp-routing-status/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

resourceslistrequired
IP prefixes, IP addresses or AS numbers to check, such as 1.1.1.0/24, 8.8.8.8 or AS3333. Up to 100 per run.
example: 1.1.1.0/24, AS13335

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

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 nameTypeShown on this page asFilled
resourcetextResource3 of 3
resource_typetextResource type3 of 3
prefixtextPrefix2 of 3
is_announcedyes or noAnnounced3 of 3
origin_asnslistOrigin asns3 of 3
origin_as_nameslistOrigin as names3 of 3
ris_peers_seeingnumberRis peers seeing3 of 3
total_ris_peersnumberTotal ris peers3 of 3
visibility_pctnumberVisibility (%)3 of 3
ipv6_ris_peers_seeingnumberIpv 6 ris peers seeing1 of 3
ipv6_total_ris_peersnumberIpv 6 total ris peers1 of 3
ipv6_visibility_pctnumberIpv 6 visibility (%)1 of 3
first_seen_atdate and timeFirst seen at3 of 3
first_seen_prefixtextFirst seen prefix3 of 3
first_seen_originnumberFirst seen origin3 of 3
last_seen_atdate and timeLast seen at3 of 3
last_seen_prefixtextLast seen prefix3 of 3
last_seen_originnumberLast seen origin3 of 3
less_specificslistLess specifics1 of 3
more_specificslistMore specifics0 of 3
irr_route_objectslistIrr route objects2 of 3
ipv4_prefixes_countnumberIpv 4 prefixes count1 of 3
ipv4_addresses_countnumberIpv 4 addresses count1 of 3
ipv6_prefixes_countnumberIpv 6 prefixes count1 of 3
ipv6_48_blocks_countnumberIpv 6 48 blocks count1 of 3
neighbours_countnumberNeighbours count1 of 3
observed_atdate and timeObserved3 of 3
ripestat_urllinkRipestat link3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordResourceResource typePrefixAnnouncedOrigin asnsOrigin as namesRis peers seeingTotal ris peersVisibility (%)Ipv 6 ris peers seeingIpv 6 total ris peersIpv 6 visibility (%)First seen prefixFirst seen originLast seen prefixLast seen originLess specificsMore specificsIrr route objectsIpv 4 prefixes countIpv 4 addresses countIpv 6 prefixes countIpv 6 48 blocks countNeighbours countFirst seen atLast seen atObservedRipestat link
11.1.1.0/24prefix1.1.1.0/24Yes13335AS13335 CLOUDFLARENET - Cloudflare, Inc.32332499.7%———1.1.1.0/2419,8551.1.1.0/2413,335——APNIC, RADB—————Nov 14, 2001Dec 6, 2026Dec 6, 2026stat.ripe.net/resource/1.1.1.0/24
28.8.8.8prefix8.8.8.0/24Yes15169AS15169 GOOGLE - Google LLC324324100%———8.8.8.0/2421,2848.8.8.0/2415,1698.0.0.0/9 AS3356, 8.0.0.0/12 AS3356—RADB—————Nov 6, 2002Dec 6, 2026Dec 6, 2026stat.ripe.net/resource/8.8.8.0/24
3AS3333asn—Yes3333AS3333 RIPE-NCC-AS Reseaux IP Europeens Network Coordination Centre (RIPE NCC)324324100%313313100%193.0.0.0/223,333193.0.18.0/233,333———64,608217909Aug 18, 2000Dec 6, 2026Dec 6, 2026stat.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.
Known limits
  • 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.