Logo
Openapi.it Public API Documentation

{{baseUrl}}/geocode

POST {{baseUrl}}/geocode

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "success": "true", "elements": { "id": "v442c6653ee93a5733e8a9ea2f842cd5c250d2b6ab", "element": { "providedBy": "google_maps | openstreetmap", "latitude": 41.808916, "longitude": 12.4535602, "bounds": { "south": 41.7691104, "west": 12.3831487, "north": 41.8731993, "east": 12.4985637 }, "streetNumber": "null", "streetName": "Via Cristoforo Colombo", "postalCode": "04019", "locality": "Roma", "subLocality": "null", "adminLevels": { "1": { "name": "Lazio", "code": "Lazio", "level": 1 }, "2": { "name": "Citta Metropolitana di Roma", "code": "RM", "level": 2 }, "3": { "name": "Roma", "code": "Roma", "level": 3 } }, "country": "Italy", "countryCode": "IT", "timezone": "null" } } }



Curl
curl -X POST 'baseUrl/geocode' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"address":"\u003cstring\u003e"}'

ENDPOINTS