This data call returns the containing prefix and announcing ASN of a given IP address.
https://stat.ripe.net/data/network-info/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/network-info/data.json?resource=140.78.90.50
Key | Value | Info | Required |
---|---|---|---|
resource | IP address | Any IP address one wants to get network info for | YES |
Key | Info |
---|---|
asns | ASNs the prefix is announced from |
prefix | prefix the requested IP address is in |
{ "asns": [ "5511", "6453" ], "prefix": "41.138.32.0/20" }