Skip to content

Network Info ​


This endpoint returns the containing prefix and announcing ASN of a given IP address, based on information from RIPE RIS.

GET /data/network-info/data.json?resource=140.78.90.50
Try it

Parameters ​

KeyValueInfoRequired
resourceIP addressAny IP address one wants to get network info forYES

Data Output ​

KeyInfo
asnsASNs the prefix is announced from
prefixPrefix that the given query resource is matching if routed

Code Examples ​

bash
curl --location --request GET "https://stat.ripe.net/data/network-info/data.json?resource=140.78.90.50"
js
const requestOptions = {
	method: 'GET',
};

fetch("https://stat.ripe.net/data/network-info/data.json?resource=140.78.90.50", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Available versions for this endpoint: ​

1.1 (current)

Results are based on data from the RISwhois service, based on 8h data dumps.