# Country ASNs


This data call provides information on a country's registered and routed ASNs. Registered ASNs are based on registration information made public by the Regional Internet Registries. The routing information is based on the data collected with the RIPE NCC's RIS system, https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/routing-information-service-ris.
The data call supports history, with data points being aligned to times dumps are created in RIS (00:00, 08:00 and 16:00 UTC).
By default, the data call returns just the number of registered and routed ASNs. This is mainly to prevent returning thousands of ASNs. See parameter settings below to further tailor the output to your needs.

GET /data/country-asns/data.json?resource=nl

# Parameters

Key Value Info Required
resource country The country has to be provided as an ISO-3166-1 alpha-2 country code. See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 for details. Yes
query_time ISO8601 or Unix timestamp Defines the time of the lookup. This value needs to be or will be aligned to the RIS dump times! No - by default it will return the latest available data point (either 00:00, 08:00 or 16:00 UTC)
"lod" integer Defines the level of detail in which the data is being returned.
Levels are:

* 0 - Least detailed output
* 1 - Most detailed output
NO - default: 0

# Output

# Code Examples

# Available versions for this data call:

deprecated - n.a.
upcoming - n.a.
Last Updated: Wednesday, 8 March 2023