ipapi.co API
Find IP address location information
- Our call
- HTTP 200
- Latency
- 1,625 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://ipapi.co/json/Press Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://ipapi.co/json/");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://ipapi.co/json/'import requests
r = requests.get("https://ipapi.co/json/", timeout=10)
r.raise_for_status()
print(r.json())ipapi.co docsMore Geocoding APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://ipapi.co/json/- Result
- HTTP 200 in 1,625 ms (1,626 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: https://freetierapis.vercel.app
- HTTPS
- Yes
- Response
- application/json, 797 bytes, a JSON object
- Fields
ipnetworkversioncityregionregion_codecountrycountry_namecountry_codecountry_code_iso3- Rate-limit headers
- none sent (that doesn't mean unlimited)
Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
ipapi.co is listed in Geocoding. ipapi.co needs no key: you can call it without signing up. The list says it sends CORS headers, so JavaScript on a web page can call it straight from the browser.
The list has 102 Geocoding APIs: 48 need no key, 53 need an API key and 1 uses OAuth, and 51 of them are marked as allowing browser calls. 23 others have the same setup, such as administrative-divisons-db, BigDataCloud's Free API and bng2latlong.
ipapi.co and other Geocoding APIs
| Fact | ipapi.co (this page) | BigDataCloud's Free API | Country | GeoJS | IP Address Details |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Yes | Yes | Yes | Yes | Not recorded |
| Our test call Measured by us | 1,625 ms | 5,159 ms | 7,868 ms | 2,866 ms | 181 ms |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does ipapi.co need an API key?
ipapi.co needs no key: you can call it without signing up.
Can I call ipapi.co from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: https://freetierapis.vercel.app, so a web page can call it directly.
Where are the ipapi.co docs?
At https://ipapi.co/api/#introduction. When we checked, the link answered 200 in 5352 ms.
What are some alternatives to ipapi.co?
Other Geocoding APIs in the list include administrative-divisons-db, BigDataCloud's Free API, bng2latlong and Country.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.