Google Maps Extractor avatar

Google Maps Extractor

Pricing

from $15.00 / 1,000 results

Go to Apify Store
Google Maps Extractor

Google Maps Extractor

Extract business data from Google Maps. Get business names, addresses, phone numbers, ratings, reviews, websites, opening hours & GPS coordinates. Perfect for lead generation, sales prospecting, and market research.

Pricing

from $15.00 / 1,000 results

Rating

0.0

(0)

Developer

Praveen Kumar

Praveen Kumar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

19 hours ago

Last modified

Share

Google Maps Business Extractor

Extract business data from Google Maps search results. Get names, addresses, phone numbers, ratings, reviews, websites, GPS coordinates, opening hours, and more for any search query.

What it does

For each business found on Google Maps, the actor extracts:

  • Business info - name, category, address, phone, website
  • Ratings - star rating and total review count
  • Location - GPS latitude and longitude
  • Details - opening hours, price level, main image
  • Link - Direct Google Maps URL for the business

Input

FieldTypeDefaultDescription
searchQuerystringrequiredWhat to search (e.g., "restaurants in Mumbai")
maxResultsinteger20Maximum businesses to extract (1-100)
languagestringenLanguage for results
zoominteger14Map zoom level (5-20)

Example input

{
"searchQuery": "restaurants in Mumbai",
"maxResults": 20,
"language": "en",
"zoom": 14
}

Output

Each business produces a dataset item:

{
"title": "Taj Mahal Palace Hotel",
"category": "5-star hotel",
"address": "Apollo Bunder, Colaba, Mumbai, Maharashtra 400001",
"phone": "+91 22 6665 3366",
"website": "tajhotels.com",
"rating": 4.7,
"reviewsCount": 48523,
"latitude": 18.9217,
"longitude": 72.8332,
"placeUrl": "https://www.google.com/maps/place/...",
"openingHours": [
{ "day": "Monday", "hours": "Open 24 hours" },
{ "day": "Tuesday", "hours": "Open 24 hours" }
],
"priceLevel": "$$$$",
"imageUrl": "https://lh5.googleusercontent.com/...",
"searchQuery": "restaurants in Mumbai",
"scrapedAt": "2026-03-07T12:00:00.000Z"
}

How it works

  1. Opens Google Maps in a Playwright browser with the search query
  2. Dismisses any consent/cookie popups
  3. Scrolls the results panel to load more businesses (infinite scroll)
  4. Collects all unique business URLs from the results list
  5. Navigates to each business detail page and extracts all available data
  6. Saves results to the dataset with random delays between actions

Anti-detection measures

  • Realistic Chrome user agent string
  • Full HD viewport (1920x1080)
  • Random delays (1-3 seconds) between page navigations
  • Automation detection flags disabled
  • Human-like scrolling behavior

Running locally

$apify run --input='{"searchQuery":"cafes in Bangalore","maxResults":5}'

Deploy to Apify

apify login
apify push

Notes

  • Google Maps shows up to ~120 results per search query. The maxResults input is capped at 100.
  • Some fields (opening hours, price level, image) may not be available for all businesses.
  • The actor uses Playwright with Chromium, which requires the actor-node-playwright-chrome Docker image.
  • Consider using Apify proxy for production runs to avoid IP-based rate limiting.

Technology