ipinfo.io
by ipinfo.io
IP to location APIs
Added on October 31st, 2026
Checked and working on November 15th, 2026
Visit ipinfo.io →
What it does
ipinfo.io returns data about any IP address: city, region, country, coordinates, postal code, time zone, hostname and the organisation or network (ASN) it belongs to. A simple request like ipinfo.io/8.8.8.8/json is enough to start. A free account with a token raises the limits; paid plans add details such as privacy detection (VPN, proxy, Tor) and company data. An official MCP server at https://mcp.ipinfo.io/ lets AI agents look up IP addresses; detailed fields need a paid plan.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- A free account with a token raises the limits; paid plans add details such as privacy detection (VPN, proxy, Tor) and company data.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET, MCP
- Provider
- ipinfo.io
- Last checked
- Working on November 15th, 2026
More information: https://ipinfo.io/developers
Compare: ip-api vs ipinfo.io
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://ipinfo.io/8.8.8.8/json'
JavaScript
const response = await fetch("https://ipinfo.io/8.8.8.8/json");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://ipinfo.io/8.8.8.8/json",
timeout=30,
)
print(response.json())
The JavaScript works in a web page as well as in Node.js 18 or newer.