ASN Lookup APIs
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
BigDataCloud's Network Engineering APIASN details, BGP prefix data, IP-to-network lookups and Tor exit-node detection for network engineering. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Untested |
Country.isLooks up a visitor's country (and optionally city/ASN) from their IP address. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
GeoJSFree IP geolocation lookup returning country, city, coordinates and ASN, no key required. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
HackerTarget IP Tools APIASN, DNS, reverse DNS/IP, WHOIS, GeoIP, HTTP header and subnet lookups for any IP or domain as plain text. Developer Tools › WHOIS & DNS | Freemium | None | CSV | <100/day | Live |
Host.ioDNS records, backlinks, IP/ASN and related-domain data across 600M+ registered domains. Developer Tools › WHOIS & DNS | Freemium | API key | JSON | <100/day | Live |
ip.appReturns caller's IP, ASN, geolocation, timezone, user-agent and basic bot/security signals. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
Ip2GeoConverts an IPv4/IPv6 address into country, city, coordinates, timezone, currency and ASN data. Location & Mapping › IP Geolocation | Freemium | API key | JSON | <100/day | Live |
ipapi.coLooks up city, region, country, coordinates, timezone, and ASN for any IPv4/IPv6 address. Location & Mapping › IP Geolocation | Freemium | None | JSON | 100–1k/day | Live |
ipgeolocation.ioIP-to-location, timezone, ASN, currency, and (paid) security/company data for any IP address. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Live |
ipgeolocationapiIP-to-location lookup with ASN, timezone, currency and (paid) VPN/proxy threat detection, no key for basics. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Live |
IPinfoMaps an IPv4 or IPv6 address to country and ASN free; paid tiers add city, VPN/proxy and carrier data Location & Mapping › IP Geolocation | Freemium | API key | JSON | Unlimited | Live |
IPLocateIP geolocation plus ASN, hosting, company and privacy/threat data (VPN, proxy, Tor detection) for any IP. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Live |
IPQueryFree keyless IP lookup: geolocation, ISP/ASN, and VPN, Tor, proxy and datacenter risk flags. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
MyIPRightNowReturns the caller's public IP, ASN, ISP, geolocation and timezone as JSON with no key needed. Location & Mapping › IP Geolocation | Free | None | JSON | Unlimited | Live |
Proweblook IP CheckerEdge-hosted IP geolocation returning country, city, ASN, ISP, timezone and VPN/proxy risk flags. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 100–1k/day | Live |
The IP APIIP geolocation, ASN/WHOIS lookup and VPN/datacenter/bogon detection for IPv4 and IPv6. Location & Mapping › IP Geolocation | Freemium | API key | JSON | 1k–10k/day | Degraded |
Choosing an ASN Lookup API
Is there a free ASN Lookup API?
Yes. GeoJS, Country.is, ip.app, IPQuery and MyIPRightNow are free to use, and IPinfo, HackerTarget IP Tools API, BigDataCloud's Network Engineering API, Host.io, Ip2Geo and 6 others have a free tier alongside paid plans.
Which ASN Lookup APIs work without an API key?
HackerTarget IP Tools API, GeoJS, Country.is, ip.app, ipapi.co and 2 others need no key or sign-up, so you can try them with a plain request.
Can I call an ASN Lookup API from front-end JavaScript?
HackerTarget IP Tools API, GeoJS, Country.is, ip.app, ipapi.co and 2 others allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.
Can I use ASN Lookup APIs in a commercial project?
IPinfo, BigDataCloud's Network Engineering API, Country.is and ipgeolocationapi permit commercial use. ipapi.co and ipgeolocation.io restrict it, for example to non-commercial or attributed use, so read the terms first.
Which ASN Lookup APIs work with AI agents?
ip.app has both an MCP server and an OpenAPI spec. ipgeolocationapi and Proweblook IP Checker publish an OpenAPI spec for generating clients and tools.
Broader: IP Geolocation APIs · Location & Mapping APIs
More in IP Geolocation: VPN & Proxy Detection APIs