Zenrows Integration for AI Agents

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.
Zenrows Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Supported Tools

Tools
Get ZenRows API Usage StatisticsThis tool retrieves the current api usage statistics and limits for your zenrows account.
Get Concurrency StatusThis tool retrieves the current concurrency status of your zenrows api usage.
Get Detailed Concurrency StatusThis 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.
Get Original Status CodeThis tool retrieves the original http status code returned by the target website, which is useful for debugging purposes.
Get PDF from URLThis tool generates a pdf version of the scraped content from a given url.
Get Plaintext ResponseThis tool extracts plain text content from a webpage using the zenrows api.
Get Real Estate Property DataA specialized tool for extracting structured data from real estate platforms like zillow and idealista.
Get Response with CompressionA tool to fetch content from a url using the zenrows api with compression enabled to optimize bandwidth usage and improve performance.
Get response headersA tool to retrieve and parse response headers from zenrows api requests.
Get Session IDThis tool implements zenrows' session management functionality to maintain the same ip address across multiple requests for up to 10 minutes.
Get Walmart Product DetailsThis tool allows users to extract detailed product information from walmart using zenrows' specialized e-commerce scraping api.
Scrape urlScrape and extract data from a specified url.
Scrape url autoparseThe zenrows scrape url autoparse tool automatically parses and extracts structured data from any given url using intelligent parsing capabilities.
Scrape URL HTMLThis tool extracts raw html data from a given url using zenrows' universal scraper api.
Scrape URL with CSS SelectorsThis tool allows users to scrape specific elements from a webpage using css selectors.
Screenshot URLA tool to capture screenshots of web pages using zenrows api.

Connect Zenrows MCP Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Zenrows tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Extract plain text from https://news.ycombinator.com/')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Connect Zenrows API Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio_openai
Install the Composio SDK

Initialize Composio and Create Tool Router Session

python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
Import and initialize Composio client, then create a Tool Router session

Execute Zenrows Tools via Tool Router with Your Agent

python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Extract all product prices from this Amazon search page.'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
Get tools from Tool Router session and execute Zenrows actions with your Agent

Why Use Composio?

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

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

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

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

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.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

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

Used by agents from

Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.