Check a prefix against an origin AS
check_routeCheck one (prefix, origin AS) pair against the public records: RPKI route origin validation (RFC 6811), the routing registries (IRR route objects) and how many RIPE RIS peers see that origin for the prefix.
Use it to answer whether an AS is authorised to originate a prefix, why a route may be dropped by networks that filter on RPKI, or whether a registry object matches an announcement. For everything about one prefix or AS use lookup_target instead.
Behavior: offline, answered from local snapshots; the result lists only the datasets this instance has loaded. RPKI "invalid" can be a stale ROA and an IRR object is a claim, so neither is proof of a hijack or of authorisation. A prefix RIS does not see may still be announced to peers it does not have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | the origin AS number to check the prefix against, written AS13335; a bare number is not an ASN | |
| prefix | Yes | one announced or planned prefix in CIDR form, IPv4 or IPv6, e.g. 1.1.1.0/24 or 2606:4700::/32; host bits are ignored. A bare address or a range is not accepted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| irr | No | routing registry check: match, less_specific, mismatch or none; absent without an IRR dataset. A registry object is a claim, not an authorisation | |
| rpki | No | route origin validation of (prefix, origin): valid, invalid or not_found; absent without a VRP set. Informational | |
| origin | Yes | ||
| prefix | Yes | the prefix with host bits cleared | |
| seen_by | No | number of RIPE RIS peers that see this origin for the prefix | |
| summary | Yes | the human-readable result, the same text as the text content | |
| announced | No | whether the routing table lists this exact prefix with this origin; absent without a routing table | |
| details_url | No | the result page of the prefix |