Requirements
Node.js 20+
Required by the SDK’s
engines field in package.json.API key
Create a free account to get yours, no credit card required.
Install the package
Install the SDK with your package manager of choice:The SDK has two dependencies,
- npm
- yarn
- pnpm
- bun
fastq (concurrency queue) and fetch-retry (retry logic on top of fetch), installed automatically.Verify the install
Run this in a Node.js script or REPL to confirm the package is available:Or with ES modules / TypeScript:If it prints the
ZenRows class without raising an error, you’re ready to go.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.
Next: Quickstart
Make your first request with the SDK.