# ipinfo.io

Category: [IP to location APIs](https://free-web-services.com/web-services/geo/ip-to-location/)  
Page: https://free-web-services.com/web-services/geo/ip-to-location/ipinfo-io.html  
Documentation: https://ipinfo.io/developers

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.

- API key: Needed, free
- 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

Example request:

```sh
curl 'https://ipinfo.io/8.8.8.8/json'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

