Skip to main content

Requirements

Python 3.6+

Any Python version from 3.6 onward works.

API key

Create a free account to get yours, no credit card required.
1

Install the package

Install the SDK from PyPI with pip:
pip install zenrows
This pulls in the SDK’s only dependencies, requests and urllib3, so there’s nothing else to install manually.
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:
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 Builder after signing up.
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.

Next: Quickstart

Make your first request with the SDK.