ipapi.co

IP address to city, region, country, and coordinates

🗺 Geo & MapsDYINGchecked 15h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Point it at any IP address (or none, for the caller's own) and it hands back location, network, timezone, and currency details as clean JSON. No key needed for light use; it answers with a 429 once you cross its quota.

35HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 35 · dying
Uptime history
1.0%90 days
1.7%30 days
440P50 · ms
440P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 440 ms, slowest 440 ms, most recent 440 ms.
Live response samplecaptured by our last successful check
GET https://ipapi.co/8.8.8.8/json/

{
  "ip": "8.8.8.8",
  "network": "8.8.8.0/24",
  "city": "Mountain View",
  "region": "California",
  "country_name": "United States",
  "postal": "94043",
  "latitude": 37.42301,
  "longitude": -122.083352,
  "timezone": "America/Los_Angeles"
}
Call itcurl · fetch · python
curl "https://ipapi.co/8.8.8.8/json/"
const res = await fetch("https://ipapi.co/8.8.8.8/json/");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://ipapi.co/8.8.8.8/json/")
print(res.json())
Endpoints · 6DyingFULL DOCS ↗
Dying — error rate climbing on GET /8.8.8.8/json/440 mschecked 15h ago
GET/8.8.8.8/json/PROBED

IP address to city, region, country, and coordinates

GET/8.8.8.8

8 8 8 8 — documented GET route.

GET/8.8.8.8/1

8.8.8.8 details by ID (example: 1).

GET/8.8.8.8?limit=10

8 8 8 8 — documented GET route.

GET/8.8.8.8/search?q=test

Search by query parameters.

GET/%7Bip%7D/%7Bformat%7D/%3C/code%3E%3C/p%3E

P%3E — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

ipapi.co: common questions

Is ipapi.co free to use?

Yes — ipapi.co is a free geo & maps API. Free tier: Free — quota not published; returns 429 when exceeded. Whether the free tier allows commercial use is unclear — check the provider docs.

Does ipapi.co need an API key?

No — ipapi.co needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished (429 Quota exceeded)).

Can I call ipapi.co from the browser?

Yes — ipapi.co returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is ipapi.co up right now?

As of our last scheduled check, ipapi.co is dying with 1.0% uptime over 90 days and a 440 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.