GET /asn/{asn}
ASN lookup API
The network behind the number.
Try it
One pooled request. Included on every plan.
What comes back.
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
1
Pass an ASN
AS13335 or 13335. Use the number you already have.
2
Get the network
Organization name and recorded country, in four fields.
3
Make the logs readable
Label network traffic, inventory, and incident reports.
Coverage
Recorded network organizations and countries for autonomous system numbers worldwide.
Turn an autonomous system number into a network name. Send the ASN from your logs or network tools and get its recorded organization and country.
Accepts the AS prefix or a decimal number. The response asn is always an integer. Each lookup counts as one pooled request on your plan.
32-bit ASNs.
One pooled request. Every plan.
Start includes 1M API requests a month for $20/mo.
Make your first request.
One key works across the APIs. Copy a request in your language and get JSON back.
curl "https://api.parseapi.com/asn/AS13335" \
-H "X-API-Key: YOUR_API_KEY"// Example response · 200 { "asn": 13335, "name": "Cloudflare, Inc.", "country": "US", "country_name": "United States" }
API referenceSDKsKeys and authentication
Every response field
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
QUESTIONS
- What is an ASN?
- An autonomous system number identifies a network on the internet. Pass AS13335 or 13335 to get its organization name and recorded country.
- Is the country where the network operates?
- country is the country recorded for that network. It does not describe every place the network operates. Use /ip for the country of an individual IP address.
- What happens with an unknown number?
- An ASN with no record returns 404. Malformed input returns 400. Within a known record, missing names and countries are null.
- Can I use ASDOT notation?
- Use the decimal number, optionally prefixed with AS. Dotted ASDOT notation is not accepted.
- What does an ASN lookup cost?
- One pooled request on every plan. There is no separate lookup charge. deep=true adds an empty deep object.