GET
/
geocode_location

Get coordinates and location details for a given location name.

Request

location
string
required

The name of the location to geocode (e.g., “Paris”, “New York”, “Europe”)

Response

location
Location Object

Example Request

Request
localhost:3690/geocode_location?location=Berlin
Returned Coordinates
    {
    "coordinates": [
        13.407032,
        52.524932
    ],
    "location_type": "locality",
    "bbox": [
        "13.088333",
        "52.338242",
        "13.760469",
        "52.674917"
    ],
    "area": 0.118017
}

Query Parameters

location
string
required

Response

200 - application/json

The response is of type any.