Skip to main content

Google Maps Scraper Python API (boltscraper)

PyPI version Python versions License: MIT Free Tier

The official Python SDK for Bolt Scraper — fast, proxy-free, cloud-native data extraction for Google Maps listings, Google customer reviews, and company websites.

Extract 60+ business attributes (names, phones, direct emails, social profiles, hours, ratings, coordinates) without browser automation overhead, CAPTCHA hassles, or IP bans.


Why Developers Use boltscraper

Feature Selenium / BeautifulSoup Google Places API (New) Bolt Scraper Python SDK
Speed & Setup Slow browser overhead Complex GCP console setup 5 lines of Python code
IP Bans & CAPTCHAs Frequent blocks & CAPTCHAs None (metered API) 0% bans (automatic proxy rotation)
Direct Emails Requires custom scraping Not offered (0% returned) Included (crawls company websites)
Customer Reviews DOM fragile / breaks Max 5 reviews only Extracts all 5,000+ reviews
Data Storage Unstructured HTML 30-day cache ban 100% owned indefinitely
Pricing Proxy costs ($50+/mo) $32 – $65+ per 1k requests $0 Free tier ($0.38 / 1k on paid)

Installation

pip install boltscraper

Requires Python 3.8+.


Quickstart

Get your free API key at app.boltscraper.com (includes 1,000 free lead credits every month).

from boltscraper import BoltScraper

# Initialize client (or set BOLTSCRAPER_API_KEY environment variable)
client = BoltScraper(api_key="bs_live_YOUR_API_KEY")

# 1. Real-time Google Maps search (~2-4 seconds)
results = client.maps.search("Coffee shops in Seattle", page=1)

print(f"Found {results.get('total_results', len(results.get('data', [])))} places:")
for place in results.get("data", []):
    print(f"Name:    {place.get('Name')}")
    print(f"Phone:   {place.get('Phone')} ({place.get('Phone Type')})")
    print(f"Website: {place.get('Website')}")
    print(f"Rating:  {place.get('Average Rating')} ({place.get('Review Count')} reviews)")
    print("-" * 40)

Core Capabilities & Examples

Perfect for search bars, AI agent tool calling, and live user queries. Returns instant JSON without background polling:

response = client.maps.search(
    keyword="Dentists in Austin, TX",
    page=1,
    hl="en"
)

for lead in response.get("data", []):
    print(lead.get("Name"), lead.get("Full Address"), lead.get("Coordinates"))

2. Large-Scale Asynchronous Batch Jobs

Scrape entire cities or hundreds of queries with automatic website email enrichment and Ultra Mode:

# Launch background scraping job
job = client.maps.create_job(
    keywords=["Roofers in Miami, FL", "Solar contractors in Miami, FL"],
    title="Miami Home Services",
    scrape_websites=True,   # Crawls company websites for direct emails & socials
    ultra_mode=True,        # Multi-point grid scan for up to 3x more results
    webhook_url="https://your-crm.com/api/webhooks/bolt"
)

job_id = job["job_id"]
print(f"Started job: {job_id}")

# Check status
status = client.maps.get_job(job_id)
print(f"Status: {status.get('status')} — Extracted: {status.get('total_leads', 0)} leads")

# Download CSV dataset upon completion
csv_bytes = client.maps.download_csv(job_id)
with open("miami_leads.csv", "wb") as f:
    f.write(csv_bytes)

3. Google Reviews Extraction (Without OAuth)

Bypass Google's 5-review API limitation and extract all customer reviews, ratings, reviewer levels, and owner responses:

# Synchronously extract customer reviews for any Google Place ID
reviews_data = client.reviews.search(
    place_id="ChIJb8Jg9q-1RIYRAxvq_mZ0gXY",
    max_reviews=500,
    sort="newest"  # 'newest', 'most_relevant', 'highest_rating', 'lowest_rating'
)

reviews = reviews_data.get("data") or reviews_data.get("reviews", [])
for review in reviews:
    stars = review.get("stars") or review.get("rating", 0)
    author = review.get("reviewer", {}).get("name") if isinstance(review.get("reviewer"), dict) else review.get("reviewer_name", "Anonymous")
    text = review.get("review_text") or review.get("text", "")
    print(f"★ {stars} by {author}")
    print(f"Text: {text}")

Turn raw domain lists into enriched B2B contact lists:

# Instant single-domain enrichment (crawls /contact, /about, /team subpages)
response = client.website.scrape("https://example.com")
company = response.get("data", response)

print("Direct Emails:", company.get("emails", []))
print("Phone Numbers:", company.get("phones", []))
socials = company.get("social_links") or company.get("socials", {})
print("Social Links: ", socials)

5. Webhook Signature Verification

Verify incoming webhook payloads with HMAC SHA-256 to ensure authenticity:

from boltscraper import WebhooksResource

# In your FastAPI / Flask / Django webhook handler:
is_valid = WebhooksResource.verify_signature(
    raw_body=request.body,
    signature_header=request.headers.get("X-Bolt-Signature"),
    secret="YOUR_WEBHOOK_SECRET"
)

if not is_valid:
    return "Invalid signature", 401

60+ Extracted Data Points

Each Google Maps listing returns comprehensive, production-ready structured data:

  • Identity: Business Name, Category, Sub-categories, Google Category IDs, Place ID, CID, KGMID, Feature ID.
  • Location: Full Address, Street Address, City, State, ZIP/Postal Code, Country, Municipality, Latitude, Longitude, Timezone.
  • Contact: Formatted Phone, Phone Type (Mobile, Landline, VOIP), International Phone, Phone URI (tel:), Website URL, Domain.
  • Enrichment: Direct Emails discovered from company websites, Social Media URLs (LinkedIn, Facebook, Instagram, Twitter/X, YouTube).
  • Reputation & Hours: Star Rating, Total Reviews Count, Review URL, Operating Status (Open, Closed), Opening Hours (Monday–Sunday schedules).
  • Media Assets: Logo URL, Main Photo URL, Photos Page URL, Favicon URL.

Rate Limits & Error Handling

All requests are rate-limited to 60 requests per minute per API key. The SDK automatically handles 429 Too Many Requests responses with exponential backoff using the server's Retry-After header.

from boltscraper.exceptions import (
    AuthenticationError,
    QuotaExceededError,
    RateLimitError,
    BoltScraperError
)

try:
    results = client.maps.search("Plumbers Denver")
except AuthenticationError:
    print("Invalid API key. Check https://app.boltscraper.com")
except QuotaExceededError:
    print("Monthly quota exhausted. Upgrade plan at https://boltscraper.com/pricing")
except RateLimitError as e:
    print(f"Rate limited. Reset in {e.retry_after} seconds.")
except BoltScraperError as e:
    print(f"API Error ({e.status_code}): {e.message}")

Documentation & Resources


License

MIT License. Copyright (c) 2026 Bolt Scraper.

Metadata

Release files for boltscraper 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boltscraper 1.0.1
File Size Uploaded Provenance Actions
boltscraper-1.0.1.tar.gz 14.3 kB Without provenance Details for boltscraper-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for boltscraper 1.0.1
File Interpreter ABI Platform Actions
boltscraper-1.0.1-py3-none-any.whl Python 3 none any Details for boltscraper-1.0.1-py3-none-any.whl

Total release size: 27.8 kB

Release files / boltscraper-1.0.1.tar.gz

Download URL boltscraper-1.0.1.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1841056a86b7ef2136156258c170986463e339f221f30603115c621f4405973d
BLAKE2b-256 checksum
How to use checksums
d53fff0d16fa2c7c6faf41a2262581b2b82b99048686418a92eed5888b8f4942
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / boltscraper-1.0.1-py3-none-any.whl

Download URL boltscraper-1.0.1-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
822eb91198d6018c31d51bc3973506dc461634ec4b5ff4a3fffb8209dca3f32f
BLAKE2b-256 checksum
How to use checksums
c1a84342f5fc12360b56aacd4d261a3fa0d6eeba01970011f132e1050e0f23d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Security for boltscraper 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page