Geocode to Location
Returns informations
Input
Expects a json body
{
"latitude": 50.1104684,
"longitude": 8.6816587
}Output · HTTP 200
Response
{
"result": [
{
"latitude": 50.1104684,
"longitude": 8.6816587,
"formattedAddress": "Römer, 21, Römerberg, Altstadt, Innenstadt 1, Frankfurt am Main, Hessen, 60311, Deutschland",
"country": "Deutschland",
"city": "Frankfurt am Main",
"state": "Hessen",
"zipcode": "60311",
"streetNumber": "21",
"countryCode": "DE"
}
]
}Show curl command
curl -X POST 'https://api.1001fx.com/geo/geocode2location' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"latitude":50.1104684,"longitude":8.6816587}'