> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenrows.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Zenrows HTTP API serves Fetch and Extract (extract=auto) at https://api.zenrows.com/v1/, Crawl at https://api.zenrows.com/v1/crawls, and Batch at https://async.api.zenrows.com/v1. Fetch, Extract, Crawl and Batch are described in OpenAPI 3.1 at https://www.zenrows.com/openapi.json and listed in the RFC 9727 API catalog at https://www.zenrows.com/.well-known/api-catalog. Every endpoint also has its own page under /api-reference with its schema. Use the spec for exact parameter names and types. Crawl's endpoints, parameters and errors are also at https://docs.zenrows.com/crawl/endpoints.md. To call Zenrows from an agent, connect the MCP server at https://mcp.zenrows.com/mcp. To search these docs from an agent, connect the docs MCP server at https://docs.zenrows.com/mcp. Agent skills for Zenrows are published at https://github.com/ZenRows/cli and install with `npx skills add ZenRows/cli`.

# Installing the Python SDK

> Install the Zenrows Python SDK and get your API key ready to make requests.

## Requirements

> [card] Python 3.6+
>
> Any Python version from 3.6 onward works.

> [card] [API key](https://app.zenrows.com/register?p=free)
>
> Create a free account to get yours, no credit card required.

**1. Install the package**

Install the SDK from PyPI with `pip`:

```bash theme={null} theme={"theme":"css-variables"}
pip install zenrows
```

This pulls in the SDK's only dependencies, `requests` and `urllib3`, so there's nothing else to install manually.

> [!TIP]
>
> Working in a project with other dependencies? Add `zenrows` to your `requirements.txt` (or `pyproject.toml`) instead of installing it standalone, so the version stays pinned alongside the rest of your project.

**2. Verify the install**

Run this in a Python shell or script to confirm the package is available:

```python theme={null} theme={"theme":"css-variables"}
import zenrows

print(zenrows.ZenRowsClient)
```

If it prints something like `<class 'zenrows.client.ZenRowsClient'>` without raising an `ImportError`, you're ready to go.

**3. Get your API key**

Your API key authenticates every request you send through the SDK. Grab it from the Zenrows Request Playground after signing up.

[Open the Playground](https://app.zenrows.com/fetch)

> [!WARNING]
>
> Keep your API key private. Load it from an environment variable or a `.env` file instead of hardcoding it in scripts you commit to version control.

> [card] [Next: Quickstart](https://docs.zenrows.com/fetch/sdk/python/quickstart.md)
>
> Make your first request with the SDK.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.