Limited Time — Lifetime Access for just $99. Lock in before prices rise.

UScraper
Tutorials

How to Scrape Google Maps Leads by URL to CSV

Learn how to scrape Google Maps leads by URL. Export names, ratings, reviews, addresses, coordinates and place links to CSV with UScraper locally.

UScraper
June 23, 2026
10 min read
#how to scrape google maps#google maps scraper by url#scrape google maps business data#google maps leads scraper#google maps business#google maps to csv#google places api vs scraper#best google maps scraper#export google maps leads#local desktop app scraper
How to Scrape Google Maps Leads by URL to CSV

This tutorial shows how to scrape Google Maps leads by URL into a CSV using the Google Maps Leads Scraper by URLs template for UScraper. You will prepare Maps URLs, import the workflow, set the export path, validate rows, and understand when the official Places API fits better.

Prerequisites

Before you scrape Google Maps by URL

You need UScraper installed as a local desktop app, the free template from the UScraper template library, one or more Google Maps search-result URLs, and a folder for CSV exports. A good first test is narrow: one city, one category, and one URL.

This URL-based workflow is different from a place-detail scraper. It does not start from a keyword form, and it does not open every place panel one by one. Instead, it opens a prepared Maps result URL and extracts listing-visible fields from business cards that appear in the scrolling feed.

Treat Google Maps lead scraping as a compliance decision, not just a technical task. Review the current Google Maps additional terms and relevant Google Maps Platform policies, avoid bypassing access controls, and get legal review before commercial use.


Workflow

How the Google Maps URL lead scraper works

The template graph is intentionally inspectable: Set Window Size -> Navigate -> Wait for Page Load -> Sleep -> Wait for Element -> Inject JavaScript -> Sleep -> Wait for Buffered Rows -> Structured Export -> Loop Continue.

The important block is Inject JavaScript. Google Maps uses a virtualized infinite-scroll feed, so not every visible result remains in the DOM. The collector creates #uscraper-gmaps-buffer, reads visible cards, de-duplicates them by detail URL or title, scrolls likely feed containers, and stores fields as data attributes. Structured Export reads those buffered rows into fixed CSV columns.


Export shape

What Google Maps business data goes into the CSV

The export is built for lead review, not blind CRM import. It keeps source context, identity, reputation, contact, location, and enrichment fields in one spreadsheet.

Field groupExample columnsHow to use it
Source contextkeyword, page_urlTrace every lead back to the Maps search URL and inferred query.
Business identitytitle, category, description, current_statusFilter by business type, status, and profile completeness.
Reputationtotal_rating, reviewsPrioritize established businesses or find low-review opportunities.
Contact signalswebsite, phone, detail_urlReview manually before outreach or enrichment.
Locationaddress, latitude, longitude, plus_codeMap territories and dedupe branches.
Media and service hintsmain_image, image_1, delivery, price_rangeAdd context for local SEO audits or market research.

Because there is no CSV sample bundled with this template, treat the JSON workflow as the authoritative export definition. The key export settings look like this:

{
  "title": "Structured Export",
  "config": {
    "rowSelector": "#uscraper-gmaps-buffer .uscraper-gmaps-row",
    "fileName": "google-maps-scraper-store-details-by-url.csv",
    "includeHeaders": true,
    "fileMode": "append",
    "columns": [
      "keyword",
      "page_url",
      "title",
      "reviews",
      "total_rating",
      "address",
      "website",
      "phone",
      "detail_url",
      "latitude",
      "longitude",
      "category"
    ]
  }
}

Runbook

How to scrape Google Maps leads by URL

1

Import the workflow

Open the Google Maps Leads Scraper by URLs template, download the JSON, and import it into UScraper.

2

Prepare Maps result URLs

Search Google Maps manually, tune the location and zoom, then copy approved search-result URLs into the Navigate block.

3

Keep the waits

Preserve the page-load wait, listing-card wait, collector sleep, and buffered-row check until your first export is stable.

4

Set the export folder

In Structured Export, confirm the CSV name, local save location, headers, and append mode. Use separate files for different cities or campaigns.

5

Run one URL

Start with a single Maps URL. Compare the CSV against the visible feed and confirm that titles, ratings, addresses, and detail URLs make sense.

6

Scale gradually

Add more URLs only after the first rows pass QA. Pause if Maps shows consent, unusual traffic, verification, or empty result states.


Validation

Validate the Google Maps leads export

Before using the CSV, sort by detail_url, title, website, and phone. A clean run should have source URLs, meaningful titles, and enough fields to support manual review. Do not treat the export as opt-in outreach permission.

SymptomLikely causeFix
Empty CSVMaps did not render listing cards or the selector changedReopen the URL, handle prompts, extend waits, and rerun one URL.
Very few rowsThe feed stabilized early, the query is narrow, or Maps throttled loadingTry a narrower area, check the browser, and avoid parallel runs.
Blank phone or websiteThe search card did not expose that fieldKeep the row and enrich manually from the detail URL or business site.
Duplicate businessesOverlapping Maps URLs or append mode reused an old fileDedupe by detail_url, website domain, phone, and address.
Wrong category or addressLocale-specific card text changedValidate the market language and adjust parsing before scaling.

API comparison

Google Places API vs scraper

The official Places API is usually better for products, dashboards, and recurring systems that need durable contracts. It is built around API requests, field selection, place IDs, quotas, billing, and attribution requirements. A scraper is different: it helps analysts turn browser-visible result pages into a reviewable CSV without writing automation code.

Pick this pathWhen it fitsTrade-off
Places APIProduction apps, stable schemas, place IDs, billing controls, compliance reviewRequires API setup and may not match the exact visible feed you are reviewing.
Hosted scraperScheduled cloud jobs, larger throughput, API delivery, managed infrastructureData and run logs usually move through a vendor environment.
UScraper URL templateAnalyst-led local research from known Maps URLs into CSVBest effort against a changing browser UI; validate before scale.

For many local-business research jobs, the practical sequence is simple: use UScraper to create a first-pass lead sheet, validate the rows, remove unsuitable records, and move only reviewed businesses into your CRM or enrichment process.


FAQ

Common questions about Google Maps URL scraping

Google Maps can show public business information, but automated collection may still be restricted by Google terms, privacy law, database rights, copyright, and local data-use rules. Review current terms, avoid bypassing access controls, keep batches modest, and get legal review before commercial use.

Next step

Download the template and run one URL

Use the Google Maps Leads Scraper by URLs template as the download path, then run one Maps URL before building a larger lead list. For related workflows, browse all UScraper templates or read more tutorials in the UScraper blog.

FAQ

Frequently asked questions

Here are some of our most common questions. Can't find what you're looking for?

View All FAQs

Stop writing scripts. Start scraping visually.

Download UScraper and build your first web scraper in under 10 minutes. No subscriptions, no code, no limits.

Available on Windows 10+ and macOS 12+ · Need help? [email protected]