Autonomous system lookup
ASN API
Put a network name
behind the number.
Turn the ASN in your logs into a readable network organization and recorded country. Add context to an incident report or network inventory with one lookup.
Complete ASN lookup on every plan.
Try it
One request. Four fields.
A number in.
A network back.
Use the AS prefix or a decimal number. The response keeps the ASN numeric and gives your app readable names.
Identify the network.
Send AS13335 from a log or network tool. The complete response gives the number, organization and recorded country.
Request
curl "https://api.parseapi.com/asn/AS13335" \
-H "X-API-Key: YOUR_API_KEY"Example response
Coverage and interpretation
Know what the
record tells you.
Look up known public networks by their AS number. Use the organization to label a network and the recorded country for context.
Read the ASN docs- Country belongs to the record
- A network can span many countries. The recorded country does not locate every IP address in that network.
- Unknowns stay clear
- Missing public records return 404. A known network can still have a null name or country.
- Have an IP address instead?
- Use IP lookup for the address's network and estimated location. Explore IP lookup
From lookup to application
One key.
Your network context.
Start with the request above. Keep the ASN as your identifier and display the returned organization alongside your own logs.
HTTP, SDKs and MCP
Call /asn/{asn} over HTTP, use the ASN method in one of eight SDKs, or give your agent the ASN tool through MCP.
Before you build.
Which ASN formats work?
Pass a decimal AS number from 1 to 4294967295, with or without the AS prefix. AS13335 and 13335 return the same record. Dotted ASDOT notation is not accepted.
What happens if a network is unknown?
An AS number with no known public network record returns 404. Private, documentation and reserved numbers also return 404. This does not establish that a number is available for assignment. Malformed input returns 400.
What does the country mean?
The country belongs to the network record. A network can operate in many countries. For the estimated location and network of an individual address, use /ip.
How current is the answer?
The lookup returns the network record we currently hold. It does not include an observation date or describe live routing announcements. Save the response and your lookup time when you need a record for a report.
Can a field be missing?
Yes. A known record can have null name, country or country_name fields. Preserve those unknowns in your app instead of filling them from a guess.
Do I need Deep or a paid plan?
The complete ASN lookup is available on every plan. Each call uses one API request from your shared monthly allowance. ASN has no additional Deep fields and no separate lookup charge.
ASN API pricing
Start with a number.
Each ASN lookup counts as one API request. Your monthly allowance is shared across ParseAPI products.
Free
Start free
Try ASN with a free API key.
Room to grow
See plans
Choose the volume your app needs.