Google Maps
Search Google Maps via API and retrieve structured place results (address, website, phone).
Status: Experimental
Credit cost: 1 credit per request
Authorization
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Request Body
application/json
query*string
Search query for Google Maps (e.g. business type, brand, or place name).
page?number
Page number for pagination (1 = first page).
Default
"1"hl?string
Language to use (two-letter language code, e.g. en, fr).
gl?string
Country to use (two-letter country code, e.g. us, fr).
ll?string
Map center / geo hint in Google format (e.g. @43.5131985,1.4600501,60m). Helps focus results around a coordinate and zoom radius.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.autom.dev/v1/google/maps" \ -H "Content-Type: application/json" \ -d '{ "query": "string" }'[
{
"fid": "0x12aebf2675445053:0xff6b4af3e0c18407",
"lat": null,
"long": null,
"title": null,
"address": "Le 153 Bar & Cocktails, 153 Rue Saint-Martin, 75003 Paris",
"website": "https://www.le153.com/",
"phone_number": "+33 7 62 82 29 26"
}
]{
"error": "Bad Request"
}{
"error": "Invalid API Key"
}{
"error": "Payment required"
}{
"error": "Rate limit exceeded for the API key: quota monthly"
}{
"error": "Internal Error"
}