RPKI Route Validation API

RPKI status of internet routes from RIPEstat: check origin ASN and prefix pairs, or every prefix an ASN announces, and get valid, invalid_asn, invalid_length or unknown with the covering ROAs, the networks they allow and the longest prefix they permit.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

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

Data from stat.ripe.net/docs/data-api/api-endpoints/rpki-validation

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

Routesoptional
Routes to check, each an origin ASN and a prefix, such as 13335 1.1.1.0/24 or AS15169 8.8.8.0/24. Up to 1,000 per run. One per line, or separated by commas.
Example: 13335 1.1.1.0/24, 15169 8.8.8.0/24
Expand asnsoptional
ASNs whose announced prefixes should all be checked, such as AS3333. Up to 20 per run. One per line, or separated by commas.
Example: AS577

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,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/rpki-route-validation/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
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/rpki-route-validation/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "routes": [
      "13335 1.1.1.0/24",
      "15169 8.8.8.0/24"
    ]
  },
  "max_items": 50
}'

Inputs

Send them as input in the request body. Leave one out to use its default.

routeslist
Routes to check, each an origin ASN and a prefix, such as 13335 1.1.1.0/24 or AS15169 8.8.8.0/24. Up to 1,000 per run.
example: 13335 1.1.1.0/24, 15169 8.8.8.0/24
expand_asnslist
ASNs whose announced prefixes should all be checked, such as AS3333. Up to 20 per run.
example: AS577

What's in each record

12 fields.

Basics

  • Origin asn

    Origin network number (ASN) of the route, such as 13335.

    Example 13,335

  • Prefix

    The prefix checked, such as 1.1.1.0/24.

    Example 1.1.1.0/24

  • Rpki status

    valid, invalid_asn (ROAs cover the prefix but allow other origins), invalid_length (longer than the ROA allows) or unknown (no ROA covers it).

    Example valid

  • Valid

    Yes when rpki_status is valid.

    Example Yes

  • Roa count

    How many ROAs cover the prefix.

    Example 1

  • Roa maximum length

    Longest prefix length the ROA for this origin allows, such as 24; empty when no ROA names this origin.

    Example 24

  • Roa origins

    Network numbers the covering ROAs allow to announce the prefix (0 means no network may).

    Example 13335

  • Covering roas

    Each covering ROA in plain words, such as AS13335 may announce 1.1.1.0/24 up to /24.

    Example AS13335 may announce 1.1.1.0/24 up to /24

  • Found via

    routes when you listed the route, expand_asns when it came from an ASN you asked to expand.

    Example routes

  • Validator

    The RPKI validator that gave the answer, such as routinator.

    Example routinator

Dates

  • Checked

    When RIPEstat ran the check (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
origin_asnnumberOrigin asn3 of 3
prefixtextPrefix3 of 3
rpki_statustextRpki status3 of 3
is_validyes or noValid3 of 3
roa_countnumberRoa count3 of 3
roa_max_lengthnumberRoa maximum length3 of 3
roa_originslistRoa origins3 of 3
covering_roaslistCovering roas3 of 3
found_viatextFound via3 of 3
validatortextValidator3 of 3
prefix_urllinkPrefix link3 of 3
checked_atdate and timeChecked3 of 3

How it reads the site

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

Sample records

Sample records
RecordOrigin asnPrefixRpki statusValidRoa countRoa maximum lengthRoa originsCovering roasFound viaValidatorCheckedPrefix link
113,3351.1.1.0/24validYes12413335AS13335 may announce 1.1.1.0/24 up to /24routesroutinatorDec 6, 2026stat.ripe.net/resource/1.1.1.0/24
215,1698.8.8.0/24validYes12415169AS15169 may announce 8.8.8.0/24 up to /24routesroutinatorDec 6, 2026stat.ripe.net/resource/8.8.8.0/24
313,3351.1.1.0/25invalid_lengthNo12413335AS13335 may announce 1.1.1.0/24 up to /24routesroutinatorDec 6, 2026stat.ripe.net/resource/1.1.1.0/25

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
  • Statuses come from RIPEstat's RPKI validator (Routinator) at the time of the run, following RFC 6811: unknown means no ROA covers the prefix, invalid_asn means ROAs cover it but none allows this origin, invalid_length means the prefix is longer than the ROA allows.
  • A check says what RPKI allows, not whether the route is announced. For an ASN in expand_asns, the prefixes are those RIPEstat saw it announce at the end of the last two weeks, counting only routes seen by at least 10 RIS peers.
  • A prefix written with host bits set (1.1.1.1/24) is checked as its network (1.1.1.0/24). Entries without both an ASN and a prefix with a length are skipped.
  • Up to 1,000 routes, 20 expanded ASNs and 5,000 rows per run. Big networks announce thousands of prefixes (Bell Canada about 1,700): set the record limit to match.
  • Routes that share an origin ASN are checked 150 at a time; routes with different origins go about 4 a second, so 1,000 of them take about four minutes.
  • Data from RIPEstat by RIPE NCC under the RIPEstat Service Terms and Conditions: credit RIPEstat when you publish it.

Version history

A run uses the live version unless the request names another one with version.