Skip to main content
This tutorial shows you how to scrape a Google Maps place and get structured JSON data using the Bright Data Google Scraper API.

Prerequisites

1

Get your API key

Go to the user settings page in your Bright Data account and copy your API key.If you don’t have an account yet, sign up at brightdata.com. New users get $2 free credit for testing.
Your API key is shown only once when created. Copy and store it securely.
2

Send a request

We’ll use the Google Maps — Collect by URL endpoint with a synchronous request. Replace YOUR_API_KEY with your actual token:
curl -X POST \
  "https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_m8ebnr0q2qlklc02fz&format=json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"url": "https://www.google.com/maps/place/Empire+State+Building"}]'
You should see a 200 status code. This takes 10 to 30 seconds.
3

Review the response

The Bright Data Google Scraper API returns a JSON array with structured place data:
[
  {
    "place_id": "ChIJaXQRs6lZwokRY6EFpJnhNNE",
    "name": "Empire State Building",
    "address": "20 W 34th St., New York, NY 10001",
    "category": "Observation deck",
    "rating": 4.7,
    "reviews_count": 98500,
    "phone": "+1 212-736-3100",
    "website": "https://www.esbnyc.com/",
    "latitude": 40.7484405,
    "longitude": -73.9856644,
    "open_hours": {},
    "photos": [],
    "url": "https://www.google.com/maps/place/Empire+State+Building"
  }
]
Each place object includes location details, ratings, hours, photos and contact info. See the full response schema.
You’ve successfully scraped your first Google Maps place using the Bright Data Google Scraper API.

Common questions

Yes. Add more objects to the input array. Synchronous requests support up to 20 inputs. For larger batches or for discovery by keyword, CID or location, use the async /trigger endpoint.
[
  {"url": "https://www.google.com/maps/place/Empire+State+Building"},
  {"url": "https://www.google.com/maps/place/Central+Park"},
  {"url": "https://www.google.com/maps/place/Times+Square"}
]
Yes. Swap the dataset_id for the product you need. For example, Google Shopping Collect by URL uses gd_ltppk50q18kdw67omz, and Google SERP 100 uses gd_mfz5x93lmsjjjylob. See Send your first request for working examples of every endpoint.
Verify your API key is correct and hasn’t expired. Generate a new token from Account settings. See the authentication guide for details.
Synchronous requests have a 1-minute timeout. If the request exceeds this limit, it automatically switches to async and returns a snapshot_id. Use the async workflow for large batches.
Verify the Google URL is publicly accessible and correctly formatted. For Google Maps, the URL should follow the pattern https://www.google.com/maps/place/.... For Shopping and SERP, verify the URL works in an incognito browser window.

Next steps

Send your first request

Explore every endpoint with full examples in cURL, Python and Node.js.

Async batch requests

Scrape thousands of places or run discovery in a single batch job.

API reference

Endpoint specs, parameters and response schemas.