The Google Maps Scraper extracts business data like name, address, phone number, website, ratings, review count, and more — at scale, with no setup. You can download the results in JSON, CSV, or Excel formats.

This scraper job is asynchronous. You’ll receive a jobId, and can fetch results via polling or webhook delivery.

Example Request

curl --request POST \
  --url 'https://api.hasdata.com/scrapers/google-maps/jobs' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>' \
  --data '{
    "keywords": ["coffee shops"],
    "locations": ["CUSTOM>New York, NY"],
    "extractEmails": true
  }'

Job Parameters

keywords
string[]
required

Search terms like “restaurants” or “hardware store”

locations
string[]
required

Must be prefixed with CUSTOM>, e.g. CUSTOM>San Diego or CUSTOM>90210

extractEmails
boolean

Try to extract emails from websites linked in listings

Getting Results

Webhooks

Receive real-time updates when your scraper job starts, completes, or collects data.

Results API

Use the Results API to fetch your data using the jobId, with support for polling and pagination.

Stopping a Job

Cancel an active scraper job early if it’s no longer needed or you want to save credits.