zenrows
Python client for ZenRows API
What it is and what it does
ZenRows is a thin Python wrapper around a commercial web scraping service. It abstracts away the complexity of rotating proxies, rendering JavaScript, and solving CAPTCHAs by delegating those tasks to ZenRows' managed infrastructure. You instantiate a client with an API key, then call get(), post(), or put() methods much like you would with requests, passing parameters to control rendering, proxy selection, and data extraction. The SDK handles retries automatically (with exponential backoff for status codes 429, 500, 502, 503, 504) and supports both synchronous and asynchronous concurrency patterns via asyncio.
The package is not a standalone scraper—it's a client library for a paid service. Every request incurs API credits based on the features you enable (basic requests are cheaper; JavaScript rendering and residential proxies cost more). It's useful when you need reliable scraping without maintaining your own proxy infrastructure or browser automation, but it trades local control for operational simplicity and shifts the cost model from development time to per-request fees.
Use it for:
- Scrape JavaScript-heavy websites without managing a headless browser locally.
- Rotate through residential or datacenter proxies to avoid IP bans, without maintaining a proxy pool.
- Extract structured data from websites using CSS selectors via the autoparse and css_extractor parameters.
- Handle CAPTCHA-protected pages by offloading the solving to the ZenRows service.
- Parallelize scraping across many URLs using asyncio concurrency with automatic rate-limit handling.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client for the ZenRows web scraping API that handles proxy rotation, headless browser rendering, and CAPTCHA solving through a managed service.
Yes, if you need reliable web scraping and can absorb per-request API costs. The package is actively maintained, has no known vulnerabilities, and integrates cleanly with requests. Install it when you want to avoid the operational burden of proxy rotation and browser automation, but be aware that every request consumes credits from a paid service—evaluate the pricing model and free tier limits before committing to production use.
Install
zenrows on PyPI
pip
pip install zenrowsuv
uv add zenrowspoetry
poetry add zenrowsInstalling zenrows
Before you install
Low friction install with a single runtime dependency (requests). The package is actively maintained with a recent commit on 2026-07-27, and supports Python 3.6 and later.
License in practice
MIT license is permissive; you can use this package in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install zenrows
from zenrows import ZenRowsClient
client = ZenRowsClient("YOUR-API-KEY", retries=1)
response = client.get("https://example.com", params={"js_render": False})
print(response.text)
Requires a ZenRows API key (free tier available); the service is cloud-based and not a local library.
Verify before relying
- Whether the free tier API key provides sufficient quota for typical development use.
- Pricing model and credit consumption for different feature combinations (js_render, premium_proxy, etc.).
- Rate limits and concurrency constraints beyond what the pricing page documents.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 639 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 140,010/month — #11,281 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: zenrows-1.4.0-py3-none-any.whl
Keywords: zenrows, scraper, scraping
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
scrapingbeePython SDK wrapper for ScrapingBee's web…
permissive · top 15,000 on PyPI
scrapfly-sdkPython SDK for the Scrapfly web scraping…
permissive · top 15,000 on PyPI
scraplingScrapling is a web scraping and crawling…
permissive · top 5,000 on PyPI
crawleeCrawlee is a web scraping and browser…
permissive · top 5,000 on PyPI
oxylabsOfficial Python client for Oxylabs web scraping…
permissive · top 15,000 on PyPI
wafer-pyAn anti-detection HTTP client that handles TLS…
permissive · top 15,000 on PyPI
zendriverZendriver is an async-first web automation…
agpl · top 15,000 on PyPI
spider-clientPython SDK for the Spider Cloud API that…
permissive · top 15,000 on PyPI
cloudscraperBypasses Cloudflare's anti-bot protection by…
permissive · top 5,000 on PyPI
scrapy-zyte-apiScrapy plugin that integrates Zyte API for web…
permissive · top 15,000 on PyPI