This data call returns prefixes that overlap or are adjacent to the specified IP resource.
https://stat.ripe.net/data/related-prefixes/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/related-prefixes/data.json?resource=140.78.0.0/16
Key | Value | Info | Required |
---|---|---|---|
resource | Prefix or IP range to query for | - | YES |
Key | Info |
---|---|
prefixes | contains the related prefixes in a list |
prefix | contains a single related prefix |
origin_asn | contains the origin ASN of this related prefix |
asn_origin | contains the name of the originating ASN |
relationship | contains the type of relationship (e.g. More Specific, Adjacency - Left) |
query_time | holds the time when the query was carried out |
resource | holds the resource the data is based on |
"data": { "prefixes": [ { "asn_name": "FR-LYRES Lyon Recherche et Enseignement Sup\ufffdeur (LyRES)", "origin_asn": "AS1945", "prefix": "140.77.0.0/16", "relationship": "Adjacency - Left" }, { "asn_name": "CSIRO Commonwealth Scientific and Industrial", "origin_asn": "AS6262", "prefix": "140.79.0.0/17", "relationship": "Adjacency - Right" } ], "query_time": "2012-05-02T12:06:00", "resource": "140.78.0.0/16" },