← Docs

ASN Lookup API

A network organization and recorded country from its ASN.

Look up a network by its autonomous system number. Pass AS13335 or 13335. The response includes the numeric ASN, organization name, and recorded country.

Country describes the network record, not its footprint or an IP address location. An unknown ASN returns 404, malformed input returns 400, and missing fields in a known record are null.

Lookup

GET
api.parseapi.com/asn/{asn}
Network organization and recorded country
curl "https://api.parseapi.com/asn/AS13335" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "asn": 13335,
  "name": "Cloudflare, Inc.",
  "country": "US",
  "country_name": "United States"
}
curl "https://api.parseapi.com/asn/13335" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "asn": 13335,
  "name": "Cloudflare, Inc.",
  "country": "US",
  "country_name": "United States"
}

Response fields

asn
Autonomous system number as an integer, without the AS prefix
name
Recorded network organization name, or null
country
Recorded network country, ISO 3166-1 alpha-2, or null. This is not the network footprint or an IP location
country_name
Country name, or null

Use decimal notation, optionally prefixed with AS. Dotted ASDOT notation is unsupported. Each lookup uses one pooled request on every plan. ?deep=true adds deep: {} with no additional fields or charge.

Questions? Email