Google Maps Search API (Async)
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"query": "QUERY",
"latitude": LATITUDE,
"longitude": LONGITUDE,
"callback": {
"type": "webhook",
"url": "YYYYYY"
}
}' \
"https://async.scraperapi.com/structured/google/mapssearch"import requests
url = "https://async.scraperapi.com/structured/google/mapssearch"
headers = {
"Content-Type": "application/json"
}
data = {
"apiKey": "API_KEY",
"query": "QUERY",
"latitude": LATITUDE,
"longitude": LONGITUDE,
"callback": {
"type": "webhook",
"url": "YYYYY"
}
}
response = requests.post(url, json=data, headers=headers)
print(response.text)curl -X POST \
-H "Content-Type: application/json" \
-d '{
"apiKey": "API_KEY",
"jobs": [
{
"query": "QUERY1",
"latitude": LATITUDE_1,
"longitude": LONGITUDE_1,
"callback": {
"type": "webhook",
"url": "YYYYYY"
}
},
{
"query": "QUERY2",
"latitude": LATITUDE_2,
"longitude": LONGITUDE_2,
"callback": {
"type": "webhook",
"url": "YYYYYY"
}
}
]
}' \
"https://async.scraperapi.com/structured/google/mapssearch"Parameter
Details
Sample Response
Last updated

