CrewAI Tools for Live Web Scraping and Search.

Decodo’s CrewAI integration adds four tools to your crew. One retrieves web page content as Markdown. The other three return parsed JSON from Google, Bing, Google AI Mode, Amazon, Walmart and Target. Hand them to an agent like any other CrewAI tool. Proxies and anti-bot handling stay on Decodo’s side, and failed requests return structured errors that agents can handle instead of raising exceptions.

14-day money-back option

Where research crews usually break

Agents are good at planning and writing. Most bad crew output starts earlier, when one agent tries to read the web.

The block page gets summarized

A blocked request may return a CAPTCHA or error page. Without proper handling, an agent can mistake it for actual content and produce a misleading summary.

Markup eats the context window

Raw HTML from a product or news page can run to hundreds of kilobytes. The agent either spends its tokens on markup or gets cut off before the part that mattered.

Silent failures go unnoticed

An empty result can look like “nothing found” even when a request fails. The agent may continue with incomplete information and produce misleading conclusions.

Trusted by:

RTMP.IN logo

Built around how crews actually run

Practical features that help multi-agent workflows produce reliable results.

Purple glowing exclamation mark inside a circular icon indicating an alert.

Errors, not exceptions

Failed requests return a CrewAI ToolFailure with an error code and retry guidance. Depending on tool_failure_policy, agents can retry, use another source, or report the issue instead of stopping the run.

Purple outline icon of a pair of open scissors against a dark background.

Manage long-page output

The scraper limits Markdown output to 45,000 characters by default and flags truncated content. Adjust max_chars to control how much text agents receive, especially when reading several pages in one task.

Country and US ZIP targeting

Run searches and scrapes from selected countries, or check product prices and availability for a specific US ZIP code. Location settings help agents retrieve more relevant results and compare data across different markets.

Purple neon outline of a key icon on a dark background.

Fail at startup, not mid-run

A missing API key raises an error the moment the tool is created. You find out before kickoff, not halfway through the third agent’s task.

A minimalist purple icon of a computer chip or CPU against a dark background.

Built for CrewAI agents

Clear tool names and structured inputs help agents choose the right action. Each tool accepts arguments like a URL, query, search engine, or location.

A stylized purple icon depicting a branching or connection symbol on a dark background.

Open source, MIT-licensed

MIT-licensed on PyPI and GitHub. The repo includes a three-agent research crew you can run on any topic.

How do I add Decodo to a crew?

Install the package, set your Web Data API key, and pass the tools to an agent. CrewAI also needs a key for its own LLM; it defaults to OpenAI.

pip install decodo-crewai
export DECODO_API_KEY=your_api_key
export OPENAI_API_KEY=your_openai_key

1. Research agent

from crewai import Agent, Crew, Task
from decodo_crewai import DecodoSearchTool, DecodoWebScraperTool


researcher = Agent(
    role="Market researcher",
    goal="Report what changed in {market} this month",
    backstory="You search the web, read primary sources and only report what they say.",
    tools=[DecodoSearchTool(), DecodoWebScraperTool(max_chars=15_000)],
)


task = Task(
    description="Find recent news about {market}, read the three most relevant articles and summarize them.",
    expected_output="Three bullet points, each with a one-sentence summary and the source URL.",
    agent=researcher,
)


print(Crew(agents=[researcher], tasks=[task]).kickoff(inputs={"market": "home battery storage"}))

2. Pricing agent

from crewai import Agent, Crew, Task
from decodo_crewai import DecodoEcommerceTool


analyst = Agent(
    role="Pricing analyst",
    goal="Compare current retail prices for {product}",
    backstory="You check live store listings and report prices exactly as listed.",
    tools=[DecodoEcommerceTool()],
)


task = Task(
    description="Search Amazon and Walmart for {product}, delivering to ZIP 10001, and compare the cheapest comparable listings.",
    expected_output="A table with store, product title, price and availability.",
    agent=analyst,
)


print(Crew(agents=[analyst], tasks=[task]).kickoff(inputs={"product": "27-inch 4K monitor"}))

3. Call a tool directly

from decodo_crewai import DecodoSERPTool, DecodoWebScraperTool


print(DecodoSERPTool().run(query="best CRM for small agencies", engine="google_ai_mode"))
print(DecodoWebScraperTool().run(url="https://ip.decodo.com"))

What teams can build with Decodo and CrewAI

Give each agent only the tools its role needs, and let the crew split the work.

Purple magnifying glass icon on a dark background, symbolizing search or discovery.

Cited research reports

A researcher finds sources, an analyst reads them and a writer produces a report with numbered citations.

Retail price intelligence

A pricing agent checks the same products on Amazon, Walmart and Target, then flags gaps worth acting on.

SERP monitoring

Pull Google or Bing results pages for your target keywords from the countries you sell in, page by page, and compare results across runs to track ranking changes.

AI search visibility

Ask Google AI Mode the questions your buyers ask and check which sources its answer cites.

A glowing purple outline icon of a briefcase.

Prospect scouting

Before a sales call, an agent reads a prospect’s website and recent coverage, then writes a one-page brief and a first-draft outreach email.

A neon purple target icon with a dart hitting the bullseye.

Competitor research

A weekly crew searches for competitor news, reads pricing and product pages and sends a short summary of what changed.

How much does the Web Data API cost?

Decodo’s CrewAI integration is free and open source. Web Data API requests are billed under your existing Decodo plan, with no additional integration fee. Start with the free plan while building your crew, then choose a plan based on your usage.

10 req/s

$0

/month

Up to 5K crawls or 10K pages scraped

10 req/s

$19

/month

Up to 19K crawls or 38K pages scraped

25 req/s

$49

/month

Up to 65K crawls or 122K pages scraped

50 req/s

$99

/month

Up to 141K crawls or 330K pages scraped

100 req/s

$249

/month

Up to 383K crawls or 1.2M pages scraped

With each plan, you access:

JavaScript rendering

99.99% success rate

HTML, Markdown, XHR, plus JSON, PNG where supported

One-click AI integrations

LLM-ready Markdown format

100+ pre-built templates

Single API key for all endpoints

/scrape, /search, /map, /crawl

24/7 tech support

14-day money-back

SSL Secure Payment

Your information is protected by 256-bit SSL

What are users saying about Decodo?

We're proud to support a thriving community of 135K+ users and the industry's best.

Helping us build

Decodo lets us collect data from 10M+ ads every month without throttling, so our small team can focus on building.

Easy to get things done

Decodo provides great service with a simple setup and friendly support team.

A key to our work

Decodo enables us to develop and test applications in varied environments while supporting precise data collection for research and audience profiling.

Decodo-best-usability-award-2025-by-G2

Best Usability 2025

Awarded for the ease of use and fastest time to value for proxy and scraping solutions.

Decodo-Highest-User-Adoption-2025-award-by-G2

Best User Adoption 2025

Praised for the seamless onboarding experience and impactful engagement efforts.

Decodo-best-value-by-Proxyway-2025-award

Best Value 2025

Recognized for the 5th year in a row for top-tier proxy and scraping solutions.

Frequently asked questions

How do I authenticate?

Copy your API key from your Web Data API subscription in the Decodo dashboard and set it as DECODO_API_KEY, or pass api_key= to each tool. The tools accept API keys only; the basic authentication tokens from older plans aren’t supported.

Which Python and CrewAI versions are supported?

Python 3.10 to 3.13, with CrewAI 1.15.9 or newer. Installing the package also installs Decodo’s Python SDK.

Will the JSON tools blow up my context window?

They can return large responses. Unlike the web scraper, the search, SERP, and ecommerce tools don't truncate their parsed JSON output. Use them when agents need detailed results. For broader research, consider Google search with the web scraper and a lower max_chars.

What happens when a request fails?

The tool returns a CrewAI ToolFailure instead of raising an exception. Each failure has a code, such as authentication_failed, rate_limited, timeout or the target’s HTTP status, and is marked retryable or not. CrewAI can then handle the failure according to the agent's tool_failure_policy.

Do I need my own proxies?

No. Decodo handles proxy rotation and anti-bot measures across 125M+ IPs, and the scraper can open JavaScript-heavy pages in a headless browser when the agent asks for it.

Can it handle JavaScript-heavy pages?

Yes. The scraper has a js_render option that opens the page in a headless browser, and the agent sets it when a page loads content with JavaScript.

Which LLMs does it work with?

Any model CrewAI supports. CrewAI defaults to OpenAI’s gpt-4.1-mini. Set MODEL to switch, and install the matching CrewAI extra for other providers, such as Anthropic.

Can I use Decodo alongside other CrewAI tools?

Yes. The Decodo tools are standard BaseTool classes, so they work next to CrewAI’s built-in tools or another vendor’s. A common setup is to keep your current tools and add Decodo for targets they don’t cover.

What doesn’t the package do?

The scraper returns Markdown only, with no raw HTML or screenshots. There are no crawl, map or bulk tools. For those, call the Web Data API directly, or connect the Decodo MCP server to your crew; it includes crawl, map and screenshot tools.

Send Your Next Crew Out on the Live Web

One pip install, four tools. Give your researcher something real to read.

14-day money-back option

© 2018-2026 decodo.com (formerly smartproxy.com). All Rights Reserved