# Zenrows

```json
{
  "name": "Zenrows",
  "slug": "zenrows",
  "url": "https://composio.dev/toolkits/zenrows",
  "markdown_url": "https://composio.dev/toolkits/zenrows.md",
  "logo_url": "https://logos.composio.dev/api/zenrows",
  "categories": [
    "developer tools & devops"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-10-12T13:39:50.718Z"
}
```

![Zenrows logo](https://logos.composio.dev/api/zenrows)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Zenrows MCP or direct API to scrape websites, extract structured data, bypass CAPTCHAs, and automate web data collection through natural language.

## Summary

ZenRows is a web scraping API that helps you gather structured data from dynamic and protected websites. It makes extracting web data easy by bypassing CAPTCHAs and anti-bot measures.

## Categories

- developer tools & devops

## Toolkit Details

- Tools: 14

## Images

- Logo: https://logos.composio.dev/api/zenrows

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for ZenRows.
  - Setup:
    - Configure Api Key credentials for ZenRows.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Download a PDF of this news article
- Extract plain text from the given webpage
- Get latest property data from Zillow
- Show my current ZenRows API usage stats

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ZENROWS_GET_API_USAGE` | Get ZenRows API Usage Statistics | This tool retrieves the current API usage statistics and limits for your ZenRows account. It is an independent action that requires no additional parameters besides authentication. It is useful for monitoring API usage and ensuring that the account has sufficient remaining credits. |
| `ZENROWS_GET_CONCURRENCY_STATUS_DETAILED` | Get Detailed Concurrency Status | This tool provides detailed information about the current concurrency status and limits of your ZenRows account by making a request to the API and analyzing the response headers. It is essential for monitoring real-time API usage, managing concurrent requests, and ensuring optimal performance within plan limits. |
| `ZENROWS_GET_ORIGINAL_STATUS` | Get Original Status Code | This tool retrieves the original HTTP status code returned by the target website, which is useful for debugging purposes. It returns the original status code in the response headers under 'x-zenrows-original-status'. It can also provide the full response body and error messages, helping with debugging scraping issues, verifying website responses, monitoring availability, and understanding website behavior. |
| `ZENROWS_GET_PDF_FROM_URL` | Get PDF from URL | This tool generates a PDF version of the scraped content from a given URL. It requires JavaScript rendering to be enabled and sets the response type to PDF, making it ideal for archiving web pages, creating documentation, generating reports, or saving articles for offline reading. |
| `ZENROWS_GET_PLAINTEXT` | Get Plaintext Response | This tool extracts plain text content from a webpage using the ZenRows API. By using the response_type=plaintext parameter, it strips HTML tags and formats the content into clean, plain text. It's useful for extracting readable content for NLP, summarization, or archiving purposes. |
| `ZENROWS_GET_REAL_ESTATE_DATA` | Get Real Estate Property Data | A specialized tool for extracting structured data from real estate platforms like Zillow and Idealista. It leverages ZenRows' Real Estate API to fetch comprehensive property information, including property details, location information, features, seller details, and more, in a structured format. |
| `ZENROWS_GET_RESPONSE_COMPRESSION` | Get Response with Compression | A tool to fetch content from a URL using the ZenRows API with compression enabled to optimize bandwidth usage and improve performance. It supports gzip, deflate, and br compression encodings, handles decompression automatically, and provides compression statistics along with the decompressed content. |
| `ZENROWS_GET_RESPONSE_HEADERS` | Get response headers | A tool to retrieve and parse response headers from ZenRows API requests. It provides critical metadata such as concurrency limits, available request slots, request cost, unique request ID, and final URL after redirects, which is essential for monitoring usage, debugging, and optimizing requests. |
| `ZENROWS_GET_SESSION_ID` | Get Session ID | This tool implements ZenRows' session management functionality to maintain the same IP address across multiple requests for up to 10 minutes. It supports parameters like url, session_id, and premium_proxy, and is useful for maintaining consistent scraping sessions, simulating real user behavior, and avoiding detection by anti-bot systems. |
| `ZENROWS_GET_WALMART_PRODUCT` | Get Walmart Product Details | This tool allows users to extract detailed product information from Walmart using ZenRows' specialized e-commerce scraping API. It provides structured data for Walmart products including product details, pricing, availability, and more. |
| `ZENROWS_SCRAPE_URL_AUTOPARSE` | Scrape url autoparse | The ZENROWS_SCRAPE_URL_AUTOPARSE tool automatically parses and extracts structured data from any given URL using intelligent parsing capabilities. It eliminates the need for manual CSS selectors by auto-identifying relevant content on web pages, returning data such as titles, main content, meta descriptions, images, links, prices, and contact information in a structured JSON format. |
| `ZENROWS_SCRAPE_URL_HTML` | Scrape URL HTML | This tool extracts raw HTML data from a given URL using ZenRows' Universal Scraper API. It focuses on retrieving the pure HTML content of the webpage without automatic parsing or data extraction. It supports parameters such as js_render for enabling JavaScript rendering, custom_headers for custom HTTP headers, premium_proxy for using premium proxies, and session_id for maintaining the same IP across multiple requests. |
| `ZENROWS_SCRAPE_WITH_CSS_SELECTORS` | Scrape URL with CSS Selectors | This tool allows users to scrape specific elements from a webpage using CSS selectors. It is particularly useful for targeted data extraction rather than retrieving the entire page content. The endpoint takes a URL and a JSON object containing CSS selectors for parsing elements such as titles, links, images, and prices, and includes optional parameters like using premium proxies, specifying response wait times, and custom headers among others. |
| `ZENROWS_SCREENSHOT_URL` | Screenshot URL | A tool to capture screenshots of web pages using ZenRows API. This tool allows you to take screenshots of entire web pages or specific elements, with customizable options for format and quality. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Zenrows
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["zenrows"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["zenrows"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Zenrows tools with your agent

Send a request, execute the Zenrows tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Extract all product prices from this Amazon search page."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Extract all product prices from this Amazon search page." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Zenrows and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["zenrows"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["zenrows"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Zenrows request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Zenrows tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Extract all product prices from this Amazon search page.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Extract all product prices from this Amazon search page.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Zenrows Integration

- Supports both Zenrows MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for scraping, parsing, and extracting structured web data

### 2. Managed Auth

- Built-in API key management and secure credential storage
- Central place to manage, scope, and revoke Zenrows access
- Per user and per environment credentials instead of hard-coded keys

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Zenrows
- Scoped, least privilege access to Zenrows resources
- Full audit trail of agent actions to support review and compliance

## Use Zenrows with any AI Agent Framework

Choose a framework you want to connect Zenrows with:

- [Claude Code](https://composio.dev/toolkits/zenrows/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/zenrows/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/zenrows/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/zenrows/framework/claude-agents-sdk)
- [Muse](https://composio.dev/toolkits/zenrows/framework/muse)
- [Codex](https://composio.dev/toolkits/zenrows/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/zenrows/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/zenrows/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/zenrows/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/zenrows/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/zenrows/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/zenrows/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/zenrows/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/zenrows/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/zenrows/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/zenrows/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/zenrows/framework/autogen)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Authyo](https://composio.dev/toolkits/authyo) - Authyo is a REST API service for passwordless authentication, OTP verification, session management, and transactional notifications. Use it to add secure login flows and user verification without building auth infrastructure from scratch.
- [AWS Marketplace MCP](https://composio.dev/toolkits/aws_marketplace_mcp) - AWS Marketplace MCP provides MCP access to AWS Marketplace's cloud software, data, and services catalog. Use it to discover, compare, and evaluate 30K+ AWS Marketplace listings faster.
- [Azure Monitor Activity Log](https://composio.dev/toolkits/azure_monitor_activity_log) - Azure Monitor Activity Log is Azure's service that records management and control-plane events for a subscription. Use it to audit changes, troubleshoot issues, and track resource operations across your Azure resources.
- [Backendless](https://composio.dev/toolkits/backendless) - Backendless is a backend-as-a-service platform for mobile and web apps, offering database, file storage, user authentication, and APIs. It helps developers ship scalable applications faster without managing server infrastructure.
- [Baserow](https://composio.dev/toolkits/baserow) - Baserow is an open-source no-code database platform for building collaborative data apps. It makes it easy for teams to organize data and automate workflows without writing code.

## Frequently Asked Questions

### Do I need my own developer credentials to use Zenrows with Composio?

Yes, Zenrows requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
