Network Info

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

Parameters

Key Value Info Required
resource IP address Any IP address one wants to get network info for YES

Output

Data

Key Info
asns ASNs the prefix is announced from
prefix prefix the requested IP address is in

Example

{
    "asns": [
        "5511",
        "6453"
    ],
    "prefix": "41.138.32.0/20"
}