Zermatt

Place search & reverse geocoding API

Search places by name.

7.3 million cities, villages, parks, islands, ski areas and landmarks in 195 countries. Search by full or partial name. Each result includes coordinates, timezone, population and country.

query=
try
coordinates
46.0200° N 7.7486° E
timezone
Europe/Zurich
population
6,629
Get an API keyRead the docs1,000 requests a month, free

Endpoints

A JSON API over HTTPS. Send your API key in the X-API-Key header. All endpoints are available on all plans.

https://api.geoloods.io/v2/

X-API-Key: gl_live_…

  1. 01

    Search

    Find places by name. Matches partial input and typos, so you can use it for autocomplete. lang sets the language of the returned names.

    GET /v2/search?query=rotter&lang=en
  2. 02

    Reverse

    Returns the town, city or administrative area at a coordinate. Hotels and other venues are excluded by default; use filter=simple to get the nearest feature of any kind.

    GET /v2/geocode?lat=52.3702&lng=4.8952
  3. 03

    Nearby

    Named places within a radius of a coordinate, including venues such as hotels.

    GET /v2/nearby?lat=59.9139&lng=10.7522&radius_km=50
  4. 04

    Bounding box

    Named places inside a bounding box, for example the visible area of a map. Maximum 10° per side.

    GET /v2/bbox?min_lat=59.8&max_lat=60&min_lng=10.6&max_lng=10.9
  5. 05

    Countries

    All countries with ISO codes, names, flags and currencies.

    GET /v2/countries

Response

All endpoints return places in the same format. Each place includes these fields:

Latitude, Longitude
WGS 84 decimal degrees.
Timezone
IANA timezone name, such as Europe/Zurich.
Population
Where available.
Country and currency
ISO 3166 country code, country name in the requested language, flag emoji and ISO 4217 currency code.
Admin1Name, Admin2Name
First- and second-level administrative divisions, such as province and district.
_featureCode
Feature code for the kind of place, such as PPL (populated place), PRK (park) or AIRP (airport).
GET /v2/search?query=zermatt&limit=1
{
  "results": [{
    "location": {
      "Geonameid": 2657928,
      "Name": "Zermatt",
      "Latitude": 46.019981,
      "Longitude": 7.74863,
      "_featureCode": "PPL",
      "CountryCode": "CH",
      "CountryName": "Switzerland",
      "CountryFlag": "🇨🇭",
      "CurrencyCode": "CHF",
      "Admin1Name": "Valais",
      "Admin2Name": "Visp District",
      "Population": 6629,
      "Timezone": "Europe/Zurich"
    }
  }]
}

Coverage

Geoloods covers named places such as “Lisbon” or “Lake Garda”. It does not geocode street addresses.

Included

  • Cities, towns, villages and hamlets
  • City districts and neighbourhoods
  • National parks and nature reserves
  • Ski areas and resorts
  • Islands, mountains, lakes
  • Airports, castles, museums and other landmarks

Not included

  • Street addresses and house numbers
  • Routing or directions
  • Shops, restaurants and other businesses
  • Map tiles

Free

€0a month

1,000 requests/month

No credit card required

Pro

€9a month

50,000 requests/month

Overage: €0.09 / 1,000 requests

Scale

€49a month

1,000,000 requests/month

Overage: €0.049 / 1,000 requests

For AI agents

An agent can create a trial key without a browser or email address. The key allows 1,000 requests and is valid for 12 hours. Instructions are in llms.txt and the OpenAPI spec.

POST https://api.geoloods.io/v2/agent/signup

Get an API key

Create an account to get a key. The free plan includes 1,000 requests a month and does not expire. The playground works without an account.