Skip to content

IANA Registry Info


This endpoint gives access to various data sources maintained by IANA. These include:

The endpoint supports a "resource" parameter which filters all results down to entries that are topologically related to the given resource.
The data is refreshed once a day to guarantee up-to-date information.

GET /data/iana-registry-info/data.json?resource=193/23
Try it

Parameters

KeyValueInfoRequired
resourceIP address, prefix or ASNStates the resource the data is being filtered on.NO - if this parameter is not given the entire information is returned.
best_match_onlytrue/falseIf a resource is given and this parameter is set, only the best match (which is the closest topologically) is returned.NO - by default it is set to false.

Data Output

KeyInfo
load_timeShows when the data was loaded from IANA.
resourceMirrors the resource (if given) for this lookup.
returnedNumber of entries in the result.
resourcesHolds all the results that the lookup matches - if not filtered it will return all results from IANA. The details vary between data sources but all have in common the "description", "source" and "source_url" fields. "Description" is an added field, which tries to create a more human readable summary of the parsed data.

Code Examples

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

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

Available versions for this endpoint:

0.1 (current)