Bgp Prefix Origin
bgp_prefix_originIdentify the autonomous systems (ASes) originating a BGP prefix, including RPKI status when available. Queries Cloudflare Radar first, falling back to RIPEstat if needed.
Instructions
Find which AS(es) originate a given prefix.
Returns the distinct origin ASN(s) with AS names. Cloudflare Radar
(pfx2as) is queried first because it also reports per-origin RPKI
status; if it is not configured or returns nothing, RIPEstat
routing-status is used (no rpki_status). error is set only when
every source failed, so an empty origins with no error means the
prefix is genuinely not announced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | IP prefix in CIDR notation (e.g. '1.1.1.0/24') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set when an upstream lookup failed; other fields may be empty or partial. | |
| source | No | Which data source produced this result | |
| origins | Yes | Distinct origin ASes | |
| query_prefix | Yes | Prefix that was queried |