# ipapi.co

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/ipapi-co.html  
Documentation: https://ipapi.co/api/

ipapi.co returns the location and details of an IP address: city, region, country, postal code, coordinates, time zone, currency, calling code, languages and the network (ASN and organisation). Ask for one field or the full record, as JSON, XML, CSV or YAML. Free without a key up to about 1,000 requests per day; paid plans for more.

- API key: Not needed
- Pricing: Free without a key up to about 1,000 requests per day; paid plans for more.
- From the browser: Yes (CORS)
- Formats: JSON, XML, CSV
- Interface: REST, HTTP-GET
- Provider: ipapi.co
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl 'https://ipapi.co/8.8.8.8/json/'
```

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

