zyte-api
Python interface to Zyte API
Decision gist · record as of 2026-08-14
Yes, if you have a Zyte API account and need a Python client. Low install friction, active maintenance, no security vulnerabilities, and permissive licensing make it a straightforward choice. The async API is well-suited for concurrent scraping workloads. The Alpha status and small community (30 stars) mean you should verify it handles your specific use case before committing to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Python 3.10+ is required.
- You must have a valid Zyte API account and API key.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
permissive license (permissive) — BSD 3-Clause license (permissive). You may use, modify, and distribute this code freely in commercial and private projects, provided you retain the copyright notice and disclaimer.
last release 2026-07-23 (22 days) · last repo commit 2026-08-11 · 30 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 200,289 downloads/mo, #9,695 on PyPI
Alternatives
Verify before relying
pip install zyte-api
from zyte_api import ZyteAPI
client = ZyteAPI(api_key="YOUR_API_KEY")
response = client.get({"url": "https://toscrape.com", "httpResponseBody": True})- Whether the async API handles connection pooling or rate-limiting automatically.
- Whether the command-line tool supports batch processing beyond reading from a text file.
- Performance characteristics and typical latency for API requests.
What it is and what it does
zyte-api is a Python wrapper around Zyte's web scraping and data extraction API. It provides both synchronous and asynchronous client interfaces, plus a command-line tool, to send requests to Zyte's infrastructure for tasks like fetching HTTP response bodies, extracting structured data, and handling JavaScript-heavy pages. The library wraps eight runtime dependencies including aiohttp for async HTTP, tenacity for retry logic, and tqdm for progress reporting.
The package is in Alpha status but actively maintained. It targets modern Python versions (3.10–3.13) and is permissively licensed under BSD 3-Clause. Installation is straightforward with no compiled dependencies. You supply your API key via environment variable or constructor argument, then call either the sync `.get()` method or the async `.get()` coroutine to execute scraping jobs.
Use it for
- Batch scrape a list of URLs from the command line, saving results to JSONL format.
- Build a Python script that fetches and parses HTTP response bodies from JavaScript-heavy websites.
- Integrate Zyte API into an asyncio-based web crawler or data pipeline.
- Extract structured data from web pages using Zyte's server-side rendering and parsing.
- Monitor and retry failed scraping requests with built-in retry logic via tenacity.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have a Zyte API account and need a Python client.
Low install friction, active maintenance, no security vulnerabilities, and permissive licensing make it a straightforward choice. The async API is well-suited for concurrent scraping workloads. The Alpha status and small community (30 stars) mean you should verify it handles your specific use case before committing to production.
Install
zyte-api on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 22 days ago; last commit on 2026-08-11. Requires Python 3.10+, which is enforced at install time.
Python 3.10+ is required. You must have a valid Zyte API account and API key.
License in practice
BSD 3-Clause license (permissive). You may use, modify, and distribute this code freely in commercial and private projects, provided you retain the copyright notice and disclaimer.
Quickstart
pip install zyte-api
from zyte_api import ZyteAPI
client = ZyteAPI(api_key="YOUR_API_KEY")
response = client.get({"url": "https://toscrape.com", "httpResponseBody": True})
Verify before relying
- Whether the async API handles connection pooling or rate-limiting automatically.
- Whether the command-line tool supports batch processing beyond reading from a text file.
- Performance characteristics and typical latency for API requests.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesaiohttpattrsbrotlipython-dotenvrunstatstenacitytqdmw3lib |
| Maintenance | Actively maintained 22 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 200,289 / month, #9,695 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: zyte_api-0.11.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “zyte api client”
- zyte-apiPython client library and command-line tool for Zyte API, providing…
- scrapy-zyte-apiScrapy plugin that integrates Zyte API for web scraping, allowing you…
- ScrapyScrapy is a web scraping framework that extracts structured data from…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also scrapy-zyte-api · scrapinghub · simple-rest-client · linkup-sdk · pytest-httpx · Scrapy · oxylabs · brightdata-sdk · simile · Crawl4AI