Skip to content

GeoJS API

Country and coordinates for an IP address.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
72 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://get.geojs.io/v1/ip/geo/8.8.8.8.json

Sent from your browser straight to get.geojs.io. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://get.geojs.io/v1/ip/geo/8.8.8.8.json'

Response stored by the verifier

This is what get.geojs.io answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

application/json · stored
{
  "accuracy": 1000,
  "area_code": "0",
  "asn": 15169,
  "continent_code": "NA",
  "country": "United States",
  "country_code": "US",
  "country_code3": "USA",
  "ip": "8.8.8.8",
  "latitude": "37.751",
  "longitude": "-97.822",
  "organization": "AS15169 Google LLC",
  "organization_name": "Google LLC",
  "timezone": "America/Chicago"
}

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "country".

Last check: — passed, HTTP 200 in 72 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Badge for your README

If you maintain this API, you can show its last check in your README. The image is made when the site is built, so it shows that check and its date; it is not live, and it can be older than the status page until the site is published again. The link goes back to this page.

freeapi.today: Working, checked 2026-11-26
Markdown
[![freeapi.today status](https://freeapi.today/badge/geojs.svg/)](https://freeapi.today/apis/geojs/)

Used in these collections

Questions

Does the GeoJS API need an API key?

No. The sample request on this page was answered without a key, token or account.

Can I call the GeoJS API from the browser?

Yes. get.geojs.io answered our verifier with an Access-Control-Allow-Origin header on Nov 26, 2026, so a fetch call from a web page can read the response.

Is the GeoJS API working?

At the check on Nov 26, 2026 it returned HTTP 200 with the expected data in 72 ms. The status at the top of this page shows the most recent result we have.

What is the GeoJS API good for?

Country and coordinates for an IP address. It is part of our collection "Free APIs for a weather app": A rough location from the visitor’s IP, to show something before they search.