scrapingbee
ScrapingBee Python SDK
What it is and what it does
ScrapingBee is a Python client for a managed web scraping service that abstracts away the complexity of headless browsers, proxy rotation, and anti-bot detection. Instead of managing your own browser automation or proxy infrastructure, you instantiate a client with an API key and call methods like html_api(), google_search(), amazon_product(), or youtube_metadata() to fetch structured or raw data from target sites. The service handles rendering JavaScript, rotating proxies, and retrying failed requests on your behalf; you pay per request in API credits.
The SDK wraps requests and typing_extensions to provide a simple interface to ScrapingBee's endpoints. It supports both GET and POST requests, optional JavaScript rendering, screenshots, and an Auto-Mode feature that tries cheaper configurations first and charges only for the one that succeeds. Use it when you need reliable scraping without maintaining your own infrastructure, or when target sites require sophisticated anti-bot evasion that would be expensive to build yourself.
Use it for:
- Scrape product listings and pricing from Amazon, Walmart, or other e-commerce sites for price monitoring or market research.
- Extract search results from Google or YouTube in bulk for SEO analysis, competitor research, or content aggregation.
- Retrieve HTML content from JavaScript-heavy websites that require a headless browser to render.
- Monitor web pages for changes or updates by periodically fetching and comparing HTML snapshots.
- Integrate web data collection into a data pipeline where you need reliable, proxy-rotated requests without managing infrastructure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK wrapper for ScrapingBee's web scraping API, providing methods to scrape HTML, search results, product data, and interact with AI endpoints via a managed proxy and headless browser service.
Yes, if you need web scraping and can absorb the per-request API cost. The SDK is actively maintained, has low install friction, and eliminates the operational burden of managing browsers and proxies. No, if you prefer open-source scraping tools (requests, BeautifulSoup, Scrapy) or cannot justify the recurring API charges. Yes-with-conditions if you're already using Scrapy—the package integrates via middleware, but you'll still incur per-request costs.
Install
scrapingbee on PyPI
pip
pip install scrapingbeeuv
uv add scrapingbeepoetry
poetry add scrapingbeeInstalling scrapingbee
Before you install
Low friction: pure Python wheel with only two lightweight runtime dependencies (requests and typing_extensions). Repository is actively maintained with a recent commit on 2026-08-14 and no archived status.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without legal friction.
Quickstart
pip install scrapingbee
from scrapingbee import ScrapingBeeClient
client = ScrapingBeeClient(api_key='YOUR-API-KEY')
response = client.html_api('https://example.com', params={'render_js': False})
print(response.content)
Requires a ScrapingBee API key (obtained by signing up at scrapingbee.com); API calls consume credits from your account.
Verify before relying
- Pricing model and credit consumption rates for different API endpoints
- Rate limiting and concurrency constraints beyond the max_concurrency field in usage response
- Whether the SDK handles automatic retry logic for rate limits or only for 5XX responses
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, typing_extensions |
| Maintenance | actively maintained — 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 336,929/month — #7,454 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: scrapingbee-2.1.1-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
scrapfly-sdkPython SDK for the Scrapfly web scraping…
permissive · top 15,000 on PyPI
zenrowsPython client for the ZenRows web scraping API…
permissive · top 15,000 on PyPI
oxylabsOfficial Python client for Oxylabs web scraping…
permissive · top 15,000 on PyPI
spider-clientPython SDK for the Spider Cloud API that…
permissive · top 15,000 on PyPI
scrapegraph-pyClient SDK for the ScrapeGraphAI managed API,…
permissive · top 15,000 on PyPI
firecrawlA Python SDK for web scraping, crawling,…
permissive · top 5,000 on PyPI
scrapinghubA Python client library for communicating with…
permissive · top 15,000 on PyPI
firecrawl-pyClient library for the Firecrawl API that…
permissive · top 5,000 on PyPI
googlesearch-pythonScrapes Google search results by sending HTTP…
permissive · top 5,000 on PyPI
scrapy-zyte-apiScrapy plugin that integrates Zyte API for web…
permissive · top 15,000 on PyPI