Whether a prefix is announced, by which ASNs, and related prefixes.
GET/prefix-overview/data.json
- Takes: IP address
- Passive: the target is not contacted
Returns announcement state, originating ASNs with holder names and IANA block information for a prefix.
Query parameters
resourceThe prefix to look up
min_peers_seeingMinimum number of RIS peers that must see a resource
max_relatedLimit on related prefixes returned
query_timeISO8601 or Unix timestamp; defaults to latest data
Response fields · 8ShowHide
resource
The prefix queried
type
Always prefix
announced
Whether the prefix is announced
asn
Originating ASN
holder
Name of the AS
name
IANA registry name
actual_num_related
Total related prefixes
is_less_specific
True if the answer covers a larger block than requested
curl 'https://stat.ripe.net/data/prefix-overview/data.json?resource=203.0.113.0%2F24'{
"status": "ok",
"status_code": 200,
"data_call_name": "prefix-overview",
"data": {
"resource": "203.0.113.0/24",
"type": "prefix",
"announced": true,
"asns": [
{
"asn": 64496,
"holder": "EXAMPLE-AS Example Network"
}
],
"block": {
"resource": "203.0.113.0/24",
"desc": "Example block",
"name": "Example registry"
},
"actual_num_related": 0,
"is_less_specific": false
}
}