Skip to content
Browse all functions

Location to Geocode

geo/location2geocode

location2geocode (Location to Geocode) is a 1001fx API function in the group Geo: POST https://api.1001fx.com/geo/location2geocode, 1 credit per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Looks up a provided location and returns geo informations.

  • This service is provided by an external service provider: OpenStreetMap. The data of the call is sent to the provider. More about service providers

Try it in the 1001fx app

Run location2geocode in your browser with your API key – fill the form, click Run and get the answer or the file.

location2geocode in the 1001fx app: the form with example values
Location to Geocode in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/geo/location2geocode
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json

Parameters

  • locationstringrequired

    Location to look up.

    Example:
    Römer Frankfurt

Examples

Location to Geocode

Returns informations

Input

Expects a json body
{
  "location": "Römer Frankfurt"
}

Output · HTTP 200

Response
{
  "result": [
    {
      "latitude": 50.1104684,
      "longitude": 8.6816587,
      "country": "Deutschland",
      "countryCode": "DE",
      "city": "Frankfurt am Main"
    }
  ]
}
Show curl command
curl -X POST 'https://api.1001fx.com/geo/location2geocode' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"location":"Römer Frankfurt"}'

Try location2geocode now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.018.04.2023created
Ask 1001fx