{"api":{"id":"api_69d0fe7c6576ff6d2e0a0471","slug":"rpki-route-validation","name":"RPKI Route Validation API","description":"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.","kind":"ready_made","visibility":"public","domain":"stat.ripe.net","source_url":"https://stat.ripe.net/docs/data-api/api-endpoints/rpki-validation","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":1000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:33:09.249Z","updated_at":"2026-12-06T03:33:09.249Z","runnable":true},"version":"1.0","contract_hash":"869e91c1de9c47ab98a936a9f1fc790e8e036671663c514a2dd2c1477318f64b","fields":[{"name":"origin_asn","type":"integer","description":"Origin network number (ASN) of the route, such as 13335.","required":true,"coverage":1,"example":13335},{"name":"prefix","type":"string","description":"The prefix checked, such as 1.1.1.0/24.","required":true,"coverage":1,"example":"1.1.1.0/24"},{"name":"rpki_status","type":"string","description":"valid, invalid_asn (ROAs cover the prefix but allow other origins), invalid_length (longer than the ROA allows) or unknown (no ROA covers it).","required":false,"coverage":1,"example":"valid"},{"name":"is_valid","type":"boolean","description":"True when rpki_status is valid.","required":false,"coverage":1,"example":true},{"name":"roa_count","type":"integer","description":"How many ROAs cover the prefix.","required":false,"coverage":1,"example":1},{"name":"roa_max_length","type":"integer","description":"Longest prefix length the ROA for this origin allows, such as 24; empty when no ROA names this origin.","required":false,"coverage":1,"example":24},{"name":"roa_origins","type":"array","description":"Network numbers the covering ROAs allow to announce the prefix (0 means no network may).","required":false,"coverage":1,"example":[13335]},{"name":"covering_roas","type":"array","description":"Each covering ROA in plain words, such as AS13335 may announce 1.1.1.0/24 up to /24.","required":false,"coverage":1,"example":["AS13335 may announce 1.1.1.0/24 up to /24"]},{"name":"found_via","type":"string","description":"routes when you listed the route, expand_asns when it came from an ASN you asked to expand.","required":false,"coverage":1,"example":"routes"},{"name":"validator","type":"string","description":"The RPKI validator that gave the answer, such as routinator.","required":false,"coverage":1,"example":"routinator"},{"name":"prefix_url","type":"url","description":"The prefix's page on RIPEstat.","required":false,"coverage":1,"example":"https://stat.ripe.net/resource/1.1.1.0/24"},{"name":"checked_at","type":"datetime","description":"When RIPEstat ran the check (UTC).","required":false,"coverage":1,"example":"2026-12-06T03:20:49.432Z"}],"inputs":[{"name":"routes","type":"array","description":"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"]},{"name":"expand_asns","type":"array","description":"ASNs whose announced prefixes should all be checked, such as AS3333. Up to 20 per run.","example":["AS577"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"checked_at":{"description":"When RIPEstat ran the check (UTC).","format":"date-time","type":"string"},"covering_roas":{"description":"Each covering ROA in plain words, such as AS13335 may announce 1.1.1.0/24 up to /24.","type":"array"},"found_via":{"description":"routes when you listed the route, expand_asns when it came from an ASN you asked to expand.","type":"string"},"is_valid":{"description":"True when rpki_status is valid.","type":"boolean"},"origin_asn":{"description":"Origin network number (ASN) of the route, such as 13335.","type":"integer"},"prefix":{"description":"The prefix checked, such as 1.1.1.0/24.","type":"string"},"prefix_url":{"description":"The prefix's page on RIPEstat.","format":"uri","type":"string"},"roa_count":{"description":"How many ROAs cover the prefix.","type":"integer"},"roa_max_length":{"description":"Longest prefix length the ROA for this origin allows, such as 24; empty when no ROA names this origin.","type":"integer"},"roa_origins":{"description":"Network numbers the covering ROAs allow to announce the prefix (0 means no network may).","type":"array"},"rpki_status":{"description":"valid, invalid_asn (ROAs cover the prefix but allow other origins), invalid_length (longer than the ROA allows) or unknown (no ROA covers it).","type":"string"},"validator":{"description":"The RPKI validator that gave the answer, such as routinator.","type":"string"}},"required":["origin_asn","prefix"],"title":"RPKI Route Validation API","type":"object"},"samples":[{"origin_asn":13335,"prefix":"1.1.1.0/24","rpki_status":"valid","is_valid":true,"roa_count":1,"roa_max_length":24,"roa_origins":[13335],"covering_roas":["AS13335 may announce 1.1.1.0/24 up to /24"],"found_via":"routes","validator":"routinator","prefix_url":"https://stat.ripe.net/resource/1.1.1.0/24","checked_at":"2026-12-06T03:20:49.432Z"},{"origin_asn":15169,"prefix":"8.8.8.0/24","rpki_status":"valid","is_valid":true,"roa_count":1,"roa_max_length":24,"roa_origins":[15169],"covering_roas":["AS15169 may announce 8.8.8.0/24 up to /24"],"found_via":"routes","validator":"routinator","prefix_url":"https://stat.ripe.net/resource/8.8.8.0/24","checked_at":"2026-12-06T03:20:48.811Z"},{"origin_asn":13335,"prefix":"1.1.1.0/25","rpki_status":"invalid_length","is_valid":false,"roa_count":1,"roa_max_length":24,"roa_origins":[13335],"covering_roas":["AS13335 may announce 1.1.1.0/24 up to /24"],"found_via":"routes","validator":"routinator","prefix_url":"https://stat.ripe.net/resource/1.1.1.0/25","checked_at":"2026-12-06T03:20:49.432Z"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"checked_at":1,"covering_roas":1,"found_via":1,"is_valid":1,"origin_asn":1,"prefix":1,"prefix_url":1,"roa_count":1,"roa_max_length":1,"roa_origins":1,"rpki_status":1,"validator":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.249Z","activated_at":"2026-12-06T03:33:09.249Z","active":true,"contract_hash":"869e91c1de9c47ab98a936a9f1fc790e8e036671663c514a2dd2c1477318f64b","fields_count":12}]}