Kanto Labs
Web Fetch for AI icon

Web data for AI · Apify actor

Any URL to clean Markdown for your AI agent

Give it one web address or a list of 1,000 and get one tidy row per URL: the main content as Markdown, text, HTML or links, without menus, cookie banners or ads, plus the title, description, language, canonical URL and a token count. Built for AI agents, MCP clients, RAG pipelines and n8n or Make: short inputs, predictable output, one price per page, and every failure is free.

$0.0014 per pageFailed inputs are free

What it does

Web Fetch for AI, in short

  • Web pages as Markdown with headings, lists, tables, code blocks and absolute links kept
  • JavaScript sites rendered in headless Chromium automatically when the plain page is an empty app shell
  • PDF, Word, PowerPoint and Excel links as Markdown; JSON, XML, CSV and text files as they are
  • Title, description, language, canonical URL, token and word counts; optional cut to a token limit
  • One price for every kind of URL, whether HTML, browser-rendered or a document
  • Every failure is a free row with an error code and a plain-English reason

Who it's for

Built for

AI agents and MCP clientsA web fetch tool that always returns a row, never an empty answer.
RAG pipelinesClean Markdown with token counts to budget the context window.
n8n, Make and Zapier flowsSend each row's Markdown to your LLM, vector database or sheet.
Page monitoringSchedule the run to watch the same pages every day.

Example

Input and output

One dataset row per result, downloadable as JSON, CSV or Excel, or read through the Apify API.

Input
{
  "urls": [
    "https://www.python-httpx.org/quickstart/",
    "https://arxiv.org/pdf/1706.03762",
    "https://react.dev/learn"
  ],
  "formats": ["markdown", "links"],
  "maxTokens": 20000
}

From the README's output example, shortened.

Output (one row)
{
  "url": "https://www.python-httpx.org/quickstart/",
  "status": "ok",
  "errorCode": null,
  "title": "QuickStart - HTTPX",
  "fetch": { "httpStatusCode": 200, "renderedWith": "http", "durationMs": 183 },
  "metadata": { "canonicalUrl": "https://www.python-httpx.org/quickstart/",
                "description": "A next-generation HTTP client for Python.", "languageCode": "en" },
  "markdown": "# QuickStart\n\nFirst, start by importing HTTPX: ...",
  "links": ["https://www.python-httpx.org/", "https://www.python-httpx.org/advanced/clients/"],
  "tokenCount": 3656,
  "wordCount": 1742,
  "truncated": false,
  "charged": true
}

Pricing

Pay per result. Failures are free.

$0.0014page delivered with content · $1.40 per 1,000

No subscription, no monthly minimum. Apify platform compute is included in the price; Apify also adds a tiny start fee per run ($0.00005 per GB of run memory).

Example costs
You runYou pay
1,000 URLs, 930 with content$1.302
100 PDFs$0.14
One page$0.0014
Worked example. You fetch a list of 1,000 URLs: 930 return content, 40 are 404s, 20 are blocked and 10 time out.930 × $0.0014 = $1.302
70 failed rows = $0.00

Not charged:

  • Invalid URLs, DNS errors, timeouts and redirect loops
  • HTTP 4xx and 5xx answers, bot-check pages and empty pages
  • Unsupported file types and URLs skipped by your max cost per run

The same price applies to plain pages, browser-rendered pages, PDFs and Office files. You can set Maximum cost per run in the run options and the actor stops cleanly when it is reached.

FAQ

Questions

Does it get past bot protection and CAPTCHAs?

No, by design. It identifies itself, does not solve CAPTCHAs or log in, and retries once from a fresh proxy IP. If the site still refuses, you get a free BLOCKED or HTTP_403 row.

Why Markdown?

It keeps headings, lists, tables and links but costs far fewer tokens than HTML, and it is the easiest format for an LLM to read and cite.

How big can a page be?

Responses up to 10 MB are processed. Use Max tokens per page to keep only the first N tokens.

Can I use it from Claude or Cursor?

Yes, through the Apify MCP server: the agent calls kantolabs/web-fetch-for-ai with a url or urls.

Try Web Fetch for AI on Apify

Apify's free plan includes monthly platform credit you can use to try it.

Run it on Apify