IPinfo
APIIP address geolocation, ASN and privacy detection API
- Price
- Free tier, then paid
- Access
- API token
About
IPinfo returns location, ASN, company and VPN or proxy signals for an IP address, through an API or downloadable databases. The free Lite tier gives unlimited country and ASN lookups; city-level data and privacy detection need a paid plan.
What you can do with it
- Look up a visitor's country or city from their IP address
- Detect VPN, proxy, Tor and hosting IPs to block fraud
- Enrich logs with ASN and company data, up to 1,000 IPs per batch request
Get started
- Sign up for a free IPinfo account
- Copy your API token from the dashboard
Example
curl "https://api.ipinfo.io/lite/8.8.8.8?token=$IPINFO_TOKEN"Details
- Hosting
- Hosted service, Self-hosted
- Available in
- Worldwide
- Official SDKs
- Python, JavaScript/TypeScript, Java, Go, Ruby, PHP, C#, Rust, Swift
- MCP server
- Remote