Google Maps | Search Based URL Generator
Testing
Endpoint in charge of creating a Google Map URL from several location parameters.
Request
Body Params application/json
{
"latitude": -12.4304,
"longitude": -49.1792,
"zoom": 11
}
Request Code Samples
curl --location --globoff '/{{v2}}/location/url' \
--header 'Content-Type: application/json' \
--data '{
"latitude": -12.4304,
"longitude": -49.1792,
"zoom": 11
}'
Responses
application/json
{
"meta": {
"timestamp": "2025-06-03T11:31:24-04:00",
"api_version": "v1.2.0",
"status": 200,
"copyright": "© 2025 api.dataemergencia.com. All rights reserved."
},
"data": {
"type": "response",
"id": "success|1aK4VGRCEvrfRNjoR2a9rTSBavjyms2F",
"attributes": {
"message": "Google Maps URL generated successfully",
"url": "https://www.google.com/maps/search/?api=1&query=35.232100%2C84.826100&zoom=12"
}
}
}
Modified at 2025-06-03 15:30:09