Sourcelane

Google Maps Popular Times Scraper v2

Google Maps

Operated by Sourcelane✓ verified

Extract how busy any Google Maps business is by hour and day of the week — the full popular-times histogram plus live busyness right now.

Read full description

Extracts Google Maps "popular times" busyness data by scraping the visible histogram and live occupancy indicators; returns structured popular-times data including hourly busyness percentages for every reported hour of each weekday, a live current busyness percentage and human-readable label when open, a precomputed weekly peak hour and peak busyness metric, and associated place context such as name, address, rating, review count, public place URL and unique identifiers. Designed to accept search queries or place URLs/IDs and produce one structured record per place containing weekly hourly busyness patterns, peak-time summary, live occupancy reading, and place metadata for downstream analysis.

Verified Oct 25, 10:11 PM

$0.01

per place

Up to 100 per call. Only pay for results returned; failed calls are refunded.

What people use it for

You give it

  • Search queries

    Businesses to search on Google Maps, one query per line — e.g.

  • Place URLs or IDs

    Alternatively fetch popular times for specific places — Google Maps place URLs, maps.app.goo.gl short links,…

  • Country

    Two-letter country code that biases search results, e.g.

Optional settings

Max places per queryLanguageLatitude (search bias)Longitude (search bias)Zoom level (search bias)

You get back

People & accounts
Place name
Numbers & stats
RatingReview count
Location
Place address
Links & media
Place URL
Other details
Place IDGoogle place IDOpen nowCurrent busyness pctCurrent busyness labelWeekly popular timesPeak dayPeak hour+2 more

Trust & reliability

7d uptime trend
WindowUptimeSuccess ratep50p95Calls
24h————0
7d————0
30d————0

Calling contract

Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.

Call it via Sourcelane

curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"google-maps-popular-times-scraper-v2","params":{"searchQueries":["Starbucks Times Square New York"],"maxPlacesPerQuery":5},"maxResults":10}'

Request params

FieldTypeRequiredDescription
searchQueriesarrayoptionalBusinesses to search on Google Maps, one query per line — e.g. "Starbucks Times Square New York", "gyms in Austin TX".
placeUrlsarrayoptionalAlternatively (or additionally) fetch popular times for specific places — Google Maps place URLs, maps.app.goo.gl short links, ?cid= links, Place IDs (ChIJ…) or hex IDs (0x…:0x…).
maxPlacesPerQueryintegeroptionalMaximum number of places to process per search query (Google Maps returns at most ~120 per query). 0 = everything Google returns. Capped at 100 per call.
languagestringoptionalLanguage code for results, e.g. en, de, fr, es, pt-BR.
countrystringoptionalTwo-letter country code that biases search results, e.g. us, gb, de, au.
latitudenumberoptionalOptional latitude to bias search results toward a specific area.
longitudenumberoptionalOptional longitude to bias search results toward a specific area.
zoomintegeroptionalOptional map zoom level (3-21) used together with latitude/longitude to bias search results. Higher = tighter radius.

Each result contains

FieldTypeDescription
placeIdstringPlace Id
googlePlaceIdstringGoogle Place Id
placeNamestringPlace Name
placeAddressstringPlace Address
ratingnumberRating
reviewCountintegerReview Count
placeUrlstringPlace Url
isOpenNownullIs Open Now
currentBusynessPctnullCurrent Busyness Pct
currentBusynessLabelnullCurrent Busyness Label
weeklyPopularTimesarray—
peakDaystringPeak Day
peakHourintegerPeak Hour
peakBusynessPctinteger—
searchQuerynull—
scrapedAtstring—

Use Google Maps Popular Times Scraper v2 from Claude, ChatGPT or Cursor

Pick your tool and connect in under a minute. Then just ask — for example: “List 40 dentists in Austin TX with phone, website and rating above 4.5.”

Connect Claude

Web, desktop and mobile. One click, then confirm.

  1. 1Click Add to Claude — claude.ai opens with Sourcelane filled in
  2. 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +

Claude Code

Adds the Sourcelane MCP server with your key as a header.

terminal
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
  --header "Authorization: Bearer sl_live_your_agent_key"

Claude Desktop (config file)

Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "mcpServers": {
    "sourcelane": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.usesourcelane.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

Cursor & Windsurf

Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).

mcp.json
{
  "mcpServers": {
    "sourcelane": {
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

VS Code

Save as .vscode/mcp.json. VS Code prompts for your key once.

.vscode/mcp.json
{
  "servers": {
    "sourcelane": {
      "type": "http",
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:sourcelane-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "sourcelane-key",
      "description": "Sourcelane agent key",
      "password": true
    }
  ]
}

ChatGPT Custom GPT (Actions)

Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.

OpenAPI schema URL
https://usesourcelane.com/openapi.json

REST

One POST. Pass maxResults to cap cost.

curl
curl -X POST https://api.usesourcelane.com/v1/call \
  -H "Authorization: Bearer sl_live_your_agent_key" \
  -H "Content-Type: application/json" \
  -d '{"listing":"google-maps-popular-times-scraper-v2","params":{"searchQueries":["Starbucks Times Square New York"],"maxPlacesPerQuery":5},"maxResults":10}'

Python, LangChain, CrewAI, OpenAI Agents SDK…

Wrap the REST call as a tool, or point an MCP client at the endpoint.

python
import requests

res = requests.post(
    "https://api.usesourcelane.com/v1/call",
    headers={"Authorization": "Bearer sl_live_your_agent_key"},
    json={
        "listing": "google-maps-popular-times-scraper-v2",
        "params": {"searchQueries":["Starbucks Times Square New York"],"maxPlacesPerQuery":5},
        "maxResults": 10,
    },
    timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])

Reviews

—

0 reviews

5
0
4
0
3
0
2
0
1
0

Leave a review

Loading reviews…

Related Google Maps connectors

See all Google Maps data connectors →