skillfed

zenrows

Python client for ZenRows API

zenrows v1.4.0 140.0K downloads/30d#11,281 on PyPI19
Permissive license MIT Active released

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 zenrows

uv

uv add zenrows

poetry

poetry add zenrows

Installing 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

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: Proxy ServersTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules

Tags

web scraping api clientproxy rotation pythonheadless browser scrapingcaptcha handling scraperzenrows api sdk
web-scrapingapi-clientproxy-rotation

More Python Modules packages