Scrape all reviews for any business on Google Maps with our no-code app or via API
The scraper is also available to use as an API. These parameters are accepted in the body
Name | Description | Example |
---|---|---|
url | Url of the business listing and Place ID | https://www.google.com/maps/place/Crunch+Fitness+-+Midtown+East/data=!4m7!3m6!1s0x89c259533844dd0b:0x698d635c9d77f7ca!8m2!3d40.7549187!4d-73.9733077!16s%2Fg%2F11ht1vh70l!19sChIJC91EOFNZwokRyvd3nVxjjWk?authuser=0&hl=en&rclk=1 |
place_id | The place id for the business listing. Can be found by using [Google Maps Search Scraper](/scrapers/google-maps-search-scraper) | ChIJC91EOFNZwokRyvd3nVxjjWk |
service_platform | Variable to indicate scraper platform name | gmaps_reviews |
webhook_url | Callback url where results will be posted on job completion. URL must accept post requests. | https://yourserverurl.com/path |
Set the following header for authentication:
Authorization: Token <your_api_key>
Login here to find your API key.
Using the scraper via API requires a simple post request with the url
and service_platform
details sent in the body of the request.
1curl -X POST 'https://data.unwrangle.com/api/jobs/' \2-H 'Authorization: Token <your_api_key_here>' \3-H 'Content-Type: application/json' \4-d '{5 "url": "https://www.google.com/maps/place/Crunch+Fitness+-+Midtown+East/data=!4m7!3m6!1s0x89c259533844dd0b:0x698d635c9d77f7ca!8m2!3d40.7549187!4d-73.9733077!16s%2Fg%2F11ht1vh70l!19sChIJC91EOFNZwokRyvd3nVxjjWk?authuser=0&hl=en&rclk=1",6 "place_id": "ChIJRzq_yZ892YgRJ3hC2fWqW8k",7 "service_platform": "gmaps_reviews"8}'
This is the response you will receive when a scraping job is created successfully.
1{2 "created": "2024-06-10T09:19:40.161178Z",3 "id": 27602,4 "url": "https://www.google.com/maps/place/Crunch+Fitness+-+Midtown+East/data=!4m7!3m6!1s0x89c259533844dd0b:0x698d635c9d77f7ca!8m2!3d40.7549187!4d-73.9733077!16s%2Fg%2F11ht1vh70l!19sChIJC91EOFNZwokRyvd3nVxjjWk?authuser=0&hl=en&rclk=1",5 "place_id": "ChIJC91EOFNZwokRyvd3nVxjjWk",6 "search": null,7 "urls": [],8 "status": "queued",9 "n": null,10 "service_platform": "google_maps_reviews",11 "from_date": null,12 "webhook_url": null,13 "external_id": null,14 "is_webhook_sent": false,15 "credits_used": 10,16 "completed": null17}
The results retrieved by the scraping job can also be queried via API by making a request with the job ID in it if a webhook URL is not present.
1curl -X GET 'https://data.unwrangle.com/api/jobs/27602/results/' \2-H 'Authorization: Token <your_api_key>'
Each record returned will cost 1 credit and an additional 10 credits will be charged as a base fee for each job that is created