Geocoding

Search by coordinates (reverse)

Reverse geocoding (search by coordinates).

get/geocoding/{longitude},{latitude}.json

Request

Response

Search result represented as FeatureCollection where every item is represented as a GeoJSON Feature

type'FeatureCollection' required
querystring[] required

Tokenized search query

attributionstring required

Attribution of the result

Example response

{
  "features": [
    {
      "id": "municipality.46425",
      "text": "Paris",
      "language": "en",
      "properties": {
        "ref": "osm:r71525",
        "country_code": "fr",
        "categories": [
          "restaurant"
        ],
        "place_designation": "city"
      },
      "geometry": {
        "coordinates": [
          8.528509,
          47.3774434
        ]
      },
      "bbox": [
        5.9559,
        45.818,
        10.4921,
        47.8084
      ],
      "center": [
        8.528509,
        47.3774434
      ],
      "context": [
        {
          "ref": "osm:r71525",
          "country_code": "fr",
          "categories": [
            "restaurant"
          ],
          "place_designation": "city",
          "id": "municipality.46425",
          "text": "Paris",
          "language": "en"
        }
      ]
    }
  ],
  "attribution": "<a href=\"https://www.maptiler.com/copyright/\" target=\"_blank\">&copy; MapTiler</a> <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">&copy; OpenStreetMap contributors</a>"
}

Changes

No recorded changes to this operation across all 1 revision of this API.