Skip to main content
Give your AI agent live web access without building scraping infrastructure. The Web Data API lets an agent scrape a page, search the web, map a site’s URLs, or crawl up to 10,000 pages. Proxy rotation, JavaScript rendering, and anti-bot handling run on our side. This page helps you pick the right way to connect your agent. Each option links to its full setup guide.

Quick start

  1. Create a free account. Activate the free plan – up to 10K requests per month, no credit card required.
  2. Copy your API key from your Web Data API subscription on the dashboard.
  3. Pick an integration from the table below and follow its guide.
/search, /map, and /crawl need a Web Data API key. Older plans only have a basic authentication token, which works for scraping only. See the migration guide if you’re moving from Web Scraping API.

Pick an integration

Using more than one is fine. A common setup is the MCP Server for your IDE agent plus Agent Skills, so the agent knows when to reach for it.

Pick an endpoint

Every integration calls the same 4 endpoints. Telling your agent which one fits the task saves requests. See the Web Data API introduction for what each endpoint returns, and Billing for rates.

Tips for agent builders

  • Tell your agent to retry with JavaScript rendering. Rendering is off by default, which is usually what you want - most pages come back fine without it and it keeps your usage down. But a JavaScript-heavy site hands a plain fetch a 200 with an empty shell, not an error, and an agent with no rule for this will treat that shell as the answer. Add one line to its instructions: if a page comes back empty, blocked, or much shorter than expected, send it again with "headless": "html". If you already know the target renders client-side, set it on the first call instead - one rendered request costs less than an empty one plus a retry. See JavaScript Rendering.
  • Ask for Markdown. It’s the most compact format for an LLM’s context window. The MCP Server and CLI return Markdown by default.
  • Set limits. In the MCP Server, limit defaults to 10 for search, map, and crawl. Tell the agent how many results or pages you want.
  • Watch the context window. The MCP Server cuts long pages at 45,000 characters by default and says so in the result. Raise tokenLimit if your model has room.
  • Map before you crawl. Use /map to see a site’s structure, then run /crawl with select_paths to collect only the pages you need.
  • Let crawls run in the background. /crawl is asynchronous, so the agent can start a crawl, keep working, and collect the pages later.
  • You only pay for successful requests. Failures on our side (500, 524 and 613) aren’t charged. An empty 200 is a successful request, so the retry above costs a second request - which is why it’s cheaper to turn rendering on upfront when you already know you need it. See Response Codes.

Give your agent the docs

Your agent can read these docs directly instead of relying on training data:
Web Data API is for collecting publicly accessible web data. It doesn’t support post-login content, private user information, or other non-public data.

Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.