# ip-api

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/ip-api.html  
Documentation: https://ip-api.com/docs

ip-api finds the location of an IP address or domain: country, region, city, ZIP code, coordinates, time zone, ISP, organisation and AS number, and whether it is a mobile, proxy or hosting address. Responses are JSON, XML, CSV or other formats, and batch requests of up to 100 addresses are supported. Free for non-commercial use without a key, at up to 45 requests per minute over HTTP; commercial use and HTTPS need the paid Pro plan.

- API key: Not needed
- Pricing: Free for non-commercial use without a key, at up to 45 requests per minute over HTTP; commercial use and HTTPS need the paid Pro plan.
- Commercial use: Not on the free plan
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: ip-api.com
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl 'http://ip-api.com/json/8.8.8.8'
```

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

