IP Address Details API
Find geolocation with ip address
- Our call
- HTTP 200
- Latency
- 181 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://ipinfo.io/jsonPress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://ipinfo.io/json");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://ipinfo.io/json'import requests
r = requests.get("https://ipinfo.io/json", timeout=10)
r.raise_for_status()
print(r.json())IP Address Details 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://ipinfo.io/json- Result
- HTTP 200 in 181 ms (189 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 332 bytes, a JSON object
- Fields
iphostnamecityregioncountrylocorgpostaltimezonereadme- Rate-limit headers
- none sent (that doesn't mean unlimited)
Access-Control-Allow-Origin: * to us, so browser code can call it.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
IP Address Details is listed in Geocoding. IP Address Details needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
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. 20 others have the same setup, such as adresse.data.gouv.fr, Cartes.io and Cep.la.
IP Address Details and other Geocoding APIs
| Fact | IP Address Details (this page) | BigDataCloud's Free API | Country | GeoJS | ipapi.co |
|---|---|---|---|---|---|
| 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 | Not recorded | Yes | Yes | Yes | Yes |
| Our test call Measured by us | 181 ms | 5,159 ms | 7,868 ms | 2,866 ms | 1,625 ms |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does IP Address Details need an API key?
IP Address Details needs no key: you can call it without signing up.
Can I call IP Address Details from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the IP Address Details docs?
At https://ipinfo.io/. When we checked, the link answered 200 in 11824 ms.
What are some alternatives to IP Address Details?
Other Geocoding APIs in the list include adresse.data.gouv.fr, Cartes.io, Cep.la and CitySDK.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.