Scrape Google Maps listings for local-business lead generation
Когда использовать: You need 500 'coffee shops in Berlin' with address, phone, website, and rating — and you don't want to be blocked mid-run.
Предварительные требования
- Apify account + API token — console.apify.com → Settings → Integrations → API token
- Enough platform credits on Apify for your run size — Free plan gives $5 credit/month; most Google Maps runs cost ~$1 per 1000 places
Поток
-
Pick the right Actor for your targetFind the best-maintained Apify Actor for scraping Google Maps places. Prefer one with >5 stars and recent updates.✓ Скопировано→ Actor slug like
compass/crawler-google-placeswith its input schema -
Run it with your queryRun that Actor with searchStringsArray=['coffee shop Berlin'], maxCrawledPlacesPerSearch=500, language='en'. Wait for completion.✓ Скопировано→ Run status SUCCEEDED with a dataset id
-
Pull and clean the datasetGet the dataset items. Keep only name, address, phone, website, rating, reviewsCount. Drop places without a phone. Output as CSV.✓ Скопировано→ CSV of 400–500 cleaned leads
Итог: A de-duped lead list ready for CRM import, typically $1–3 in Apify credits.
Подводные камни
- Running the wrong Actor — many copycats exist with worse reliability — Filter by usage count and last-updated in the Apify store; stick to the top 3 for a target
- Massive datasets blow out your context window when returned inline — Ask Claude to page through items (limit+offset) or save to filesystem first, then summarize