GeoAPI

Geolocation and country data at the edge

Free JSON API for IP location, 245 countries, and 200+ holiday calendars. No key. Global CDN.

$ curl https://geoapi.info/api/geo
# detecting your location…
{
  "country": "…",
  "city": "…",
  "timezone": "…"
}

Core endpoints

Start here. Full schemas and try-it live on the docs page.

GET /api/geoLocation for the client IP GET /api/countriesPaginated country list GET /api/countrySingle country by code or name GET /api/holidaysPublic holidays by country GET /api/countries/statsGlobal aggregates GET /api/countries/searchSearch by name

What you get

Built for apps that need reliable geo context without standing up their own stack.

IP geolocation

Country, region, city, coordinates, timezone, and ISP fields from the edge network.

Country database

Demographics, geography, currencies, languages, flags, and subdivisions for 245 countries.

Holiday calendars

Public and observances for 200+ territories, including historical and future years.

Country data fields

Available through country endpoints and field-specific routes.

Basics

  • Name, ISO codes, capital
  • Continent and region
  • Independence date

Demographics

  • Population and density
  • Life expectancy
  • Languages

Geography

  • Area, elevation, coastline
  • Landlocked status
  • Coordinates

Economy & politics

  • Currency code and name
  • Government type
  • Calling code, TLD

Culture & climate

  • Religion, national dish
  • Average temperature
  • Driving side

More

  • SVG flags (1:1 and 4:3)
  • Subdivisions (ISO 3166-2)
  • Search and filters

Try it

Pick a country, currency, or continent and hit the live API.

Response


      

Limits that stay out of the way

100 requests/minute per IP · CORS enabled · JSON everywhere

Read the docs OpenAPI spec