Skip to content

Asn resource

URL Resources

ASN URLs

URLs to fetch CSV file containing the IP to ASN mappings.

A list. Each one: text. Name in the API: asnUrls.

Geolocation URLs

URLs to fetch CSV file containing the IP to country code mappings.

A list. Each one: text. Name in the API: geoUrls.

Retrieval

Expiry

How often to refresh the ASN/Geo data.

A length of time. Default: 1d. Name in the API: expires.

Max Size

Maximum size of the ASN/Geo data file.

A size in bytes (KB, MB and GB are accepted). Default: 100 MB. Name in the API: maxSize.

Timeout

Time after which the ASN/Geo resource fetch is considered failed.

A length of time. Default: 5m. Name in the API: timeout.

Authentication

Authentication

The type of HTTP authentication to use.

Settings of their own: see HTTP auth. Name in the API: httpAuth.

Headers

Headers

Additional headers to include in HTTP requests.

A set of entries, each a key and its value. Name in the API: httpHeaders.