---
title: "Returns the nearest named location for a given GPS coordinates."
method: GET
path: "/nearest_place"
tags: ["Location endpoints"]
---

# Returns the nearest named location for a given GPS coordinates.

`GET /nearest_place`

## Search for nearest place by coordinates

You can use this endpoint to find the nearest place from given coordinates.

*Note: If you specify coordinates of a secluded place (e.g. middle of the ocean), the nearest point can be very far from the coordinates.*

## Query parameters

- `lat` string, required — Latitude in format 12N, 12.3N, 12.3, or 13S, 13.2S, -13.4
- `lon` string, required — Longitude in format 12E, 12.3E, 12.3, or 13W, 13.2W, -13.4
- `language` 'cs' | 'en' | 'de' | 'es' | 'fr' | 'pl' | 'pt'
- `key` string — Your unique API key. You can either specify it in this parameter, or set it in `X-API-Key` header.

## Response `200`

Successful Response

- FindPlacesModel
  - `name` string — name of the place
  - `place_id` string — unique identifier of the place, which can be used in /point and /map endpoints
  - `adm_area1` string, nullable — first-level administrative area (a US state, for example)
  - `adm_area2` string, nullable — second-level administrative area (a US county, for example)
  - `country` string, nullable — name of the country
  - `lat` string — Latitude of the point, always in the format \<float><N/S>, for example ``23.5S``
  - `lon` string — Longitude of the point, always in format \<float><E/W>, for example ``23.5W``
  - `timezone` string, nullable — Timezone of the point in tzinfo format.
  - `type` string — The character of the place. May be one of the following values: * administrative areas (states, counties, districts...): ``administrative_area`` * country: ``country`` * a different political entity from a country (for example, a dependent teritory): ``political_entity`` * villages, towns and cities: ``settlement`` * air industry locations: ``airbase``, ``airfield``, ``heliport``, ``airport``, ``airport_terminal`` * places related to water: ``bay``, ``channel``, ``fjord``, ``lake``, ``pond``, ``falls``, ``gulf``, ``harbor``, ``reservoir``, ``sea``, ``dam``, ``cape``, ``island``, ``peninsula`` * places related to mountain areas: ``hill``, ``mountain``, ``peak``, ``valley``, ``volcano``, ``canyon`` * other places related to nature: ``park``, ``reserve``, ``resort``, ``desert`` * places based on postcodes: ``postcode``

## Other responses

- `400` — Error in passed parameter.
- `402` — Maximum requests per day limit exceeded.
- `403` — API key not not specified or invalid.
- `422` — Validation Error
- `429` — Maximum requests per minute limit exceeded.

---

[API](https://skmtc.dev/meteosource/apis/interactive-documentation-for-your-premium-plan.md) · [All operations](https://skmtc.dev/meteosource/apis/interactive-documentation-for-your-premium-plan/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/meteosource/interactive-documentation-for-your-premium-plan/revisions/639d912e4ae5/schema)
