Google Maps Scraper avatar
Google Maps Scraper

Pricing

Pay per event

Go to Store
Google Maps Scraper

Google Maps Scraper

Developed by

Compass

Compass

Maintained by Apify

Extract data from thousands of Google Maps locations and businesses, including reviews, reviewer details, images, contact info, opening hours, location, prices & more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

4.2 (90)

Pricing

Pay per event

1545

Total users

123K

Monthly users

17K

Runs succeeded

97%

Issues response

3.2 days

Last modified

13 hours ago

VC

How do i get the rank for results based on search?

Closed

vivacious_coral opened this issue
7 months ago

For example, i want to know which results appear when i search "burger" in the city Mississauga. How do i determine which location appears as #1, which location appears as #2.

This is like the tools BrightLocal, and LocalFalcon.

{ "city": "mississauga", "countryCode": "ca", "deeperCityScrape": false, "includeWebResults": false, "language": "en", "locationQuery": "mississauga, ontario", "maxCrawledPlacesPerSearch": 10, "maxImages": 1, "maxQuestions": 0, "maxReviews": 1000, "onlyDataFromSearchPage": false, "scrapeDirectories": false, "scrapeImageAuthors": false, "scrapeReviewsPersonalData": true, "searchStringsArray": [ "burgers" ], "skipClosedPlaces": false, "reviewsSort": "newest", "reviewsFilterString": "", "searchMatching": "all", "placeMinimumStars": "", "website": "allPlaces", "allPlacesNoSearchAction": "" }

ondrejklinovsky avatar

Hey,

thanks for the question. We store place's rank in rank property, but the tricky part is that the Scraper splits your search area (Mississauga in your case) into multiple smaller areas and searches each area separately. This will give you many places with rank = 1 (because they all appeared as #1).

What you could do is to use the following input:

{
"maxCrawledPlacesPerSearch": 20,
"searchStringsArray": [
"burger Mississauga"
]
}

Notice that none of the location parameters (locationQuery, city, ...) is defined, so the Scraper won't split the area. It will just put your search string into a single URL: https://www.google.com/maps/search/burger+Mississauga and scrape that. This way you should be able to get first 20 search results in the city.