ASN Lookup API - Autonomous System Number & RDAP Enrichment
Send an ASN number to retrieve the organization name, country, and RDAP registration data including handle, entity name, type, IP range, registration date, and abuse contact email. If no ASN is provided, the caller's own ASN (from Cloudflare) is used.
Code examples
curl -X POST https://api.botoi.com/v1/asn/lookup \
-H "Content-Type: application/json" \
-d '{"asn":13335}'When to use this API
Network peering analysis
Look up ASNs to identify which organizations operate specific network ranges. Use this data to evaluate peering partnerships, map interconnection points, and analyze traffic routing paths.
ISP identification for traffic analysis
Enrich IP log data with ASN organization names to identify which ISPs or hosting providers your users connect from. Group traffic by ASN to spot unusual patterns or high-risk hosting providers.
Abuse contact lookup
When you detect abusive traffic from an IP range, look up the ASN to find the abuse contact email. Automate abuse reports by pulling the contact directly from the RDAP record.
Frequently asked questions
What is an ASN?
What happens if I omit the asn parameter?
Where does the RDAP data come from?
Can I look up ASNs for any country?
Is the abuse contact always available?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.