# Whois


This data call returns whois information from the relevant Regional Internet Registry and Routing Registry.

GET /data/whois/data.json?resource=192.0.20/23

# Parameters

Key Value Info Required
resource ASN/IPv4/IPv6/IP Range - YES

# Data Output

Key Info
authorities holds the authorities that were involved in the query (e.g. "ripe", "afrinic", "apnic", "lacnic", "arin", "iana")
records A list of whois records returned for this resource (authorities are combined); each record is an array of entries with the following structure:

key type of the entry (e.g. "aut-num", "as-name"...)
value the value of that entry
details_link in case it's available it provides a link with further informations (either on RIPEstat or the responsible whois database)
irr_records A list of records returned for Routing Registries (RIPE, RADB...); each record is an array of entries with the following structure:

key type of the entry (e.g. "route", "descr", "origin", "source"...)
value the value of that entry
details_link in case it's available it provides a link with further informations (either on RIPEstat or the responsible IRR database)
resource holds the resource the query was based on
query_time holds the time the query was based on

# Code Examples

Copy

curl --location --request GET "https://stat.ripe.net/data/whois/data.json?resource=192.0.20/23"


Copy

var requestOptions = {
	method: 'GET',
};

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


# Available versions for this data call:

deprecated - n.a. - not available
upcoming - not available
Last Updated: Friday 16 September 2022