Google reviews scraping explained - API first, rules and limits - DataImpulse

To scrape google reviews, start with the official Google Places API for listing ratings and a review sample, or the Business Profile API for verified businesses you are authorized to manage. Use the Python workflows below to request the appropriate source, paginate where supported and produce structured output.

Places API returns up to five relevance-ranked reviews per place. For verified locations you are authorized to manage, Business Profile API supports review pagination.


Key Facts

  • Choose a review source based on ownership, coverage and permitted use.
  • Keep a listing’s reported rating count separate from the number of reviews collected.
  • A relevance-selected review sample should not be treated as a complete archive.
  • Record language, sorting, collection time and source with every collection run.
  • Deduplicate reviews by source identifier where available.
  • Country targeting cannot guarantee identical review results.

How to scrape google reviews: choose your method

Choose the official API that matches your ownership and reporting needs first. Consider another source only after identifying a specific coverage gap and checking whether your intended use is permitted.

Choose Places API for a rating and a small review sample, or Business Profile API for reviews of verified locations you manage. Before using another source, identify the missing data and confirm the collection, export, and retention rights for that workflow.

Google Maps Platform terms prohibit extracting Google Maps Content for use outside the Services, including copying and saving user reviews. Browser use is also subject to Google Maps End User Additional Terms, which prohibit mass downloads and restrict copying. A robots.txt allowance does not grant authorization. See our web scraping legal guide for the broader legal considerations.


Places API: Google rating, review counts and review limits

Answer: Google Places API (New) returns up to five reviews per place, sorted by relevance (as of November 2026). It does not expose review pagination for a complete archive; see the official Place resource reference.

A Place Details request identifies a place and specifies the desired fields. Request rating for its aggregate rating, userRatingCount for its total rating count, and reviews for the selected reviews. The total includes ratings with or without text, so it is not the number of written reviews you can export.

Keep three separate fields in your reporting: reported rating, reported rating count and returned review count. Never calculate a supposed listing-wide average from the selected review texts, and do not interpret a missing field as zero.

The Place Details guide documents field masks and language settings. Request only the fields your application needs. The example requests reviews, which triggers the Place Details Enterprise + Atmosphere SKU. If you only need rating and userRatingCount, omit reviews to use the Enterprise SKU.

Mechanically, the workflow is Place ID, field-masked request, JSON response, then validation and permitted use. Finding more places does not unlock additional review pages for an individual place.

How a Google Reviews scraper collects data in 4 steps


Business Profile API: reviews for businesses you manage

Answer: The Business Profile API lists reviews for verified locations you are authorized to manage, with up to 50 reviews per page (as of November 2026). Continue with nextPageToken until it is absent, following the reviews.list reference.

This is the owner or authorized-manager route, not a way to obtain arbitrary businesses’ review histories. Request and receive Business Profile API access approval for your Google Cloud project, then enable the required APIs. Obtain an OAuth token with the https://www.googleapis.com/auth/business.manage scope. Set GBP_PARENT to accounts/ACCOUNT_ID/locations/LOCATION_ID, using Business Profile resource IDs rather than a Places Place ID.

The response contains reviews, averageRating and totalReviewCount. The documented sorting options are rating ascending, rating descending and update time descending. An update-time order should not be described as original publication order.

Keep account and location resource identifiers separate from a Places Place ID. A completed pagination loop means you exhausted that response sequence; it does not prove that a changing review dataset remained fixed during collection.


How do you scrape google reviews with Python API examples?

Use a field-masked Place Details request for a selected review sample, or a token-driven Business Profile loop for managed locations.

Example: request Places data as JSON

Follow the Places API setup instructions: enable billing and Places API (New), create a restricted key, and keep it outside source code. Find the correct listing with Google’s Place ID finder, confirming its name and address.

Set GOOGLE_MAPS_API_KEY and PLACE_ID in your environment. This example uses Python’s documented HTTP client and prints JSON for inspection; printing content does not grant permission to retain it.

import json
import os
from urllib.parse import quote, urlencode
from urllib.request import Request, urlopen

place_id = quote(os.environ["PLACE_ID"], safe="")
query = urlencode({"languageCode": "en"})
url = f"https://places.googleapis.com/v1/places/{place_id}?{query}"
request = Request(url, headers={
    "X-Goog-Api-Key": os.environ["GOOGLE_MAPS_API_KEY"],
    "X-Goog-FieldMask": "id,rating,userRatingCount,reviews",
})
with urlopen(request, timeout=30) as response:
    result = json.load(response)
print(json.dumps(result, ensure_ascii=False, indent=2))

Example: paginate managed-location reviews

Set GBP_ACCESS_TOKEN to a valid OAuth token authorized for the https://www.googleapis.com/auth/business.manage scope, and set GBP_PARENT to accounts/ACCOUNT_ID/locations/LOCATION_ID, using Business Profile resource IDs rather than a Places Place ID. This example keeps selected fields in memory and outputs JSON, or CSV when OUTPUT_FORMAT=csv.

import csv
import json
import os
import sys
from urllib.parse import urlencode
from urllib.request import Request, urlopen

parent = os.environ["GBP_PARENT"]
url = f"https://mybusiness.googleapis.com/v4/{parent}/reviews"
headers = {"Authorization": "Bearer " + os.environ["GBP_ACCESS_TOKEN"]}
params = {"pageSize": 50, "orderBy": "updateTime desc"}
rows, tokens = {}, set()
while True:
    request = Request(url + "?" + urlencode(params), headers=headers)
    with urlopen(request, timeout=30) as response:
        page = json.load(response)
    for review in page.get("reviews", []):
        row = {k: review.get(k, "") for k in
               ("reviewId", "starRating", "comment", "updateTime")}
        rows[row["reviewId"]] = row
    token = page.get("nextPageToken")
    if not token:
        break
    if token in tokens:
        raise RuntimeError("Repeated pagination token")
    tokens.add(token)
    params["pageToken"] = token
if os.getenv("OUTPUT_FORMAT", "json") == "csv":
    writer = csv.DictWriter(sys.stdout, fieldnames=[
        "reviewId", "starRating", "comment", "updateTime"])
    writer.writeheader()
    writer.writerows(rows.values())
else:
    print(json.dumps(list(rows.values()), ensure_ascii=False))

The Review resource documents these fields. The example preserves the API’s rating enum rather than silently converting it. For spreadsheet use, also neutralize formula-leading text in your export layer.

Both examples stop on HTTP errors. In a production job, record errors without credentials, respect retry instructions, use bounded backoff for transient failures and stop on authorization failures. Add request budgets and collection timestamps before scheduling recurring work.


Playwright extraction scaffold: manual setup required

This scaffold requires page-specific selectors and loading checks before it can reliably extract reviews. locator.all() does not wait for cards to load and can return unstable results during rerendering. Newly loaded reviews are not expanded automatically.

Install Playwright and Chromium using the official installation guide. Set MAPS_URL, REVIEW_PANEL_SELECTOR, REVIEW_CARD_SELECTOR, REVIEW_TEXT_SELECTOR and REVIEW_ID_ATTRIBUTE after inspecting the permitted page. The text selector must target review text inside each card; the ID attribute must contain a stable review identifier.

python -m pip install playwright
python -m playwright install chromium

Example: open the Reviews panel manually, choose the intended sort and expand any text you need before continuing. This avoids assuming a universal button label or undocumented browser endpoint.

import json
import os
import sys
from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch(headless=False)
    page = browser.new_page(locale="en-US")
    page.goto(os.environ["MAPS_URL"], wait_until="domcontentloaded")
    print("Open Reviews, select sorting, then press Enter:",
          file=sys.stderr, flush=True)
    input()
    panel = page.locator(os.environ["REVIEW_PANEL_SELECTOR"])
    panel.wait_for(state="visible")
    seen, idle = {}, 0
    for _ in range(20):
        before = len(seen)
        cards = panel.locator(os.environ["REVIEW_CARD_SELECTOR"])
        for card in cards.all():
            key = card.get_attribute(os.environ["REVIEW_ID_ATTRIBUTE"])
            if not key:
                raise RuntimeError("Missing review identifier")
            text = card.locator(os.environ["REVIEW_TEXT_SELECTOR"])
            if text.count():
                seen[key] = {"review_id": key, "text": text.inner_text()}
        idle = idle + 1 if len(seen) == before else 0
        if idle >= 3:
            break
        panel.hover()
        page.mouse.wheel(0, 700)
        page.wait_for_timeout(1500)
    browser.close()
print(json.dumps(list(seen.values()), ensure_ascii=False))

The example uses documented locator methods and mouse scrolling. Its scroll budget, delay and no-growth threshold are illustrative settings, not measured recommendations.

Exported text includes only what the page exposes. This example skips cards without a matching text element; a matching element may still contain an empty string. It does not expand collapsed text automatically. Dynamic rerendering can also interrupt extraction; validate a small sample manually and report whether collection stopped because of no growth, the budget or an error. None of those outcomes proves complete coverage.

For related implementation context, see our Google scraping with Python and proxies guide.


Google reviews scraper APIs compared

Compare scraper services by continuation controls, sorting, export format and billing unit. A price per search and a price per collected review cannot be compared directly without estimating the requests your job will require.

Service Pagination and sorting Output and scope controls Published price
SerpApi Google Maps Reviews API next_page_token; relevance, newest, highest-rating and lowest-rating sorting. JSON. num requests 1-60 results per response and defaults to 10. Requests using query or topic_id return at most five reviews and do not support pagination. Starter: $25/month for 1,000 searches (as of November 2026). Official pricing; endpoint documentation.
Outscraper Google Maps Reviews lastPaginationId; relevance, newest, highest-rating and lowest-rating sorting. reviewsLimit controls requested reviews per place. CSV, Excel and JSON exports. $3 per 1,000 reviews for monthly usage from 501 through 100,000 reviews (as of November 2026). Official pricing and exports; endpoint documentation.
Apify Compass Google Maps Reviews Scraper Run-based collection from place URLs or supported place IDs. reviewsSort supports newest, mostRelevant, highestRanking, and lowestRanking; maxReviews limits reviews per place. Use newest when setting reviewsStartDate. JSON, CSV, Excel, XML and HTML exports. Set a collection scope before starting a run. Advertised from $0.30 per 1,000 scraped reviews (as of November 2026). Official actor pricing; actor documentation; input schema.

Competitor data: taken from each provider’s official pricing and documentation pages linked in this article, collected on November 10, 2026.

For Google-only reviews, set reviewsOrigin to google in the Compass Actor and source=google in Outscraper. Compass defaults to reviewsOrigin=all, which can include reviews from third-party platforms.

These are published product details, not performance measurements. An advertised starting price is not a quote for your workload. Check applicable plan conditions, requested fields, pagination costs and export rights before estimating total cost.

Decision rule: Use a scraper service when its documented controls and permitted uses match your collection requirements. Avoid choosing solely by the smallest headline price or assuming that a requested review count guarantees that many unique results.


Collection quality: locale, duplicates, pacing and storage

Make collection comparable by recording its settings and distinguishing reported totals from collected records. Keep retention and caching tied to the source’s rules, rather than applying one policy to every dataset.

  • Locale: record requested language, browser locale, requested exit country, sorting and collection time. Country targeting controls one input; it cannot freeze ordering, translations or a changing review set.
  • Identity: use the place identifier and source review identifier as a deduplication key. Update an existing record when its content changes rather than treating it as a new review.
  • Coverage: record returned rows, unique rows, textless reviews, pages and the stop reason separately. Do not label an incomplete run as a full archive.
  • Pacing: start with low concurrency, bounded retries and a request budget. Stop and investigate repeated errors rather than increasing traffic.
  • Minimization: collect rating, timestamps and text only when needed. Exclude profile photos and reviewer histories from routine analysis, while preserving attribution where display rules require it.

When displaying Places API reviews, credit the author using the available attribution resources, provide access to the original review through googleMapsUri, and explain the ordering and filtering. Follow Google’s specific attribution layout requirements; do not publish a text-only export as a compliant review widget.

Storage answer: access to a review does not automatically authorize indefinite storage. Places API policies restrict caching and storage subject to exceptions and impose display attribution requirements. Business Profile API access does not grant unrestricted archival rights. Its content-storage policy limits storage outside your Business Profile project to limited amounts used to improve project performance. Stored content must be secured, retained for no more than 30 calendar days, and neither manipulated nor aggregated. Apply these restrictions before retaining JSON or CSV exports.

Decide which fields may be retained before enabling exports or logs. For review normalization on another source, our Amazon reviews collection guide offers related context; its source rules are not interchangeable with Google’s.


Proxies for Google reviews: when and which type?

Use proxies only when a permitted browser workflow needs controlled network egress or country-level routing. Official API integrations normally work directly, and a proxy does not expand their review coverage or authorization.

Google scraping proxies: a practical decision matrix

Workflow Use X when… Avoid X when…
Official API requests Use a direct connection when credentials and project configuration meet the integration’s needs. Avoid adding a scraping proxy to solve a review limit or missing permission.
Permitted browser collection for one market Use residential country targeting with a sticky session when the workflow needs a consistent exit during navigation. Avoid treating country selection as proof of identical local results.
Separate market-specific jobs Use a separate recorded session per market when comparing explicitly configured collection runs. Avoid changing exits mid-panel merely to continue an incomplete scroll sequence.

Competitor data: taken from each provider’s official pricing and documentation pages linked in this article, collected on November 10, 2026.

DataImpulse is our proxy product: regular residential traffic starts at $1/GB, with country targeting included and rotating or sticky sessions. State, city, ZIP and ASN targeting on regular residential counts traffic at 2x; Premium residential costs $5/GB with all targeting included.

A proxy cannot guarantee access, stable selectors or complete review coverage.

Compare routing requirements in our web scraping proxy guide. Keep language, sorting and collection time in your records even when the exit country stays unchanged.


Frequently Asked Questions

There is no universal answer based only on public visibility. Assess the collection method, applicable terms, intended use and privacy obligations before collecting or retaining review text.

How many reviews does the Places API return?

It returns a selected sample subject to the review limit documented in the Places section above. Keep the returned array length separate from the listing’s total rating count, and do not treat that sample as an archive.

Can I collect reviews for a business I manage?

Start with the Business Profile authorization workflow described above. Confirm both API access and your authority over the specific location before scheduling collection.

Can I scrape all Google reviews with Python?

Python cannot expand a source’s coverage or permissions. Define what completeness means for your use case, exhaust supported pagination where available and record any remaining gap.

Why do API results differ from the browser?

First check that both requests concern the same listing and that you are comparing the same type of output. Then inspect selection rules, sorting, language and collection time instead of assuming a proxy will remove the difference.

Can I export Google reviews to CSV?

A permitted collection can be serialized as CSV using the Python example above. Decide what you may retain first, preserve identifiers for deduplication and protect spreadsheet users from formula-leading review text.

Do I need proxies for Google reviews?

Start without one for an official API integration. Consider country-targeted routing only when it serves a specific permitted browser requirement, and validate its effect rather than assuming improved coverage.

Should I keep reviewer names?

Avoid retaining identity fields unless your application needs them and you have an appropriate basis. Separately check attribution requirements before displaying reviews, since analytical minimization and public display have different requirements.


Country-targeted routing with DataImpulse

For a permitted browser workflow that needs a country-specific exit, DataImpulse residential proxies include country targeting and support rotating or sticky sessions.

Last updated: November 10, 2026.