# Network Info


This data call returns the containing prefix and announcing ASN of a given IP address.

GET /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

# Data Output

Key Info
asns ASNs the prefix is announced from
prefix Prefix that the given query resource is matching if routed

# Code Examples

Copy

curl --location --request GET "https://stat.ripe.net/data/network-info/data.json?resource=140.78.90.50"


Copy

var 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));


Last Updated: Friday 9 September 2022