x402 · Base · USDC per call

Read the web.
Pay for the page.

Paid web reading for agents: text, scrape, maps, batch, and more. Every endpoint returns its price, takes USDC on Base over x402, and serves the result — no account, no API key, no subscription. Try a URL free with POST /v1/probe before you pay.

How it works

The exchange follows the x402 specification.

  1. The request returns 402POST /v1/…
  2. Official client or MCP proxy pays402 → 200
  3. The page is servedPAYMENT-RESPONSE · RECEIPT

Paid routes need a funded Base USDC wallet. Use readfetch-client, @readfetch/client, or @readfetch/mcp-x402-proxy — they handle x402 automatically. Reading routes charge only on delivery; /v1/fetch charges when the origin responds. Details: /docs#payment · /integrations#clients.

See output before you pay

Free POST /v1/probe — metadata, and the full extracted text on the first 3 calls from an IP each day (a ~400-character preview after that).

Calls POST /v1/probe from this page (same origin). Shows title, challenge, optional preview, and byte size — not the full article.

Quickstart

Install a client, pass your wallet key once — paid calls sign x402 on 402 and retry automatically.

Python
# pip install readfetch-client
from readfetch import Client

rf = Client(private_key="0x…")  # funded account with USDC on Base; or export EVM_PRIVATE_KEY
result = rf.fetch("https://example.com/article")
print(result["text"])
Node
// npm install @readfetch/client
import { Client } from "@readfetch/client";

const rf = new Client({ privateKey: "0x…" });
const result = await rf.fetch("https://example.com/article");
console.log(result.text);

Free probe (no wallet): POST /v1/probe or Client().probe(url). If challenge: true, use await rf.call("scrape", …). More: integrations.

Services

Start with /v1/probe (free), then /v1/text, /v1/scrape, or /v1/batch. The rest follow in catalogue order.

POST /v1/probe

FREE · metadata before spending, plus the full extracted text on the first 3 probes per IP per day (a ~400-character preview after that).

  • free
  • 400-char preview
  • 30/min

POST /v1/text

Article text and metadata, boilerplate stripped. No browser by default; falls back to one when a page blocks plain HTTP.

  • $0.002
  • markdown
  • metadata
  • no browser

POST /v1/scrape

Chromium renders the page, runs interactions, and returns Markdown, text or HTML with its links.

  • $0.005
  • javascript
  • scroll
  • auth

POST /v1/batch

Read up to 50 HTML pages in one payment (same /v1/text extraction per URL). Results in input order; undelivered pages are credited, not billed.

  • $0.0015/page
  • min 3
  • partial ok

POST /v1/map

Sitemaps, robots rules, feeds and link counts for a whole site, in one call. Plan a crawl before paying for it.

  • $0.002
  • sitemaps
  • robots
  • feeds

POST /v1/scrape/residential

Scrape through a residential address pool, for targets that refuse a datacentre address. Same contract as /v1/scrape, one attempt, priced for the bandwidth.

  • $0.02
  • residential exit
  • hard targets
  • one attempt

POST /v1/fetch

Raw HTTP through the same egress. JSON APIs, GraphQL, PDFs, byte ranges - anything that is not a page.

  • $0.0015
  • any method
  • base64

POST /v1/pdf

Documents, not pages: page text plus one Markdown body, priced per document rather than per page.

  • $0.005/document
  • per document
  • 200 pages

POST /v1/section

Read one heading or one selector instead of the whole page - ten to a hundred times fewer tokens.

  • $0.003
  • headings
  • selector

POST /v1/diff

Stateless change detection. Send the hash you hold, get back whether it changed and a bounded diff.

  • $0.003
  • sha256
  • no storage

POST /v1/screenshot

PNG or JPEG of a rendered page: viewport, full page, or one element via CSS selector.

  • $0.003
  • full page
  • selector

POST /v1/search

Web search without a search subscription, returning titles, URLs and snippets.

  • $0.005
  • query
  • lang

POST /v1/crawl

Bounded async crawl with a job id, a page cap quoted up front, and per-page Markdown.

  • $0.003/page
  • async job
  • robots

GET /v1/crawl/{id}

Poll a crawl job: status, completed page count, and per-page Markdown as they land.

  • $0
  • async job

Which service should my agent call?

The cheapest endpoint that answers wins.

Unsure whether a page is worth paying for? /v1/probe is free — status, type, size, title, challenge, and when the page is plain HTML with no bot wall the extracted text: the whole read for the first 3 calls from an IP each day, a preview of ~400 characters after that. Every paid route is a POST to https://readfetch.com.

The full decision →

Pricing

USDC on Base via x402. The 402 response quotes the exact amount per endpoint.

EndpointPer call
fetch$0.0015
batch$0.0015/page
text$0.002
map$0.002
section$0.003
diff$0.003
screenshot$0.003
crawl$0.003/page
scrape$0.005
pdf$0.005/document
search$0.005
residential$0.02
crawl_statusfree
probefree

x402 settlement is live on eip155:8453: sign a USDC transfer and retry with PAYMENT-SIGNATURE.

POST /v1/probe is always free (no wallet, no 402): metadata, and the full extracted text on the first 3 calls per IP per day (a ~400-character preview after that) before any paid call.

Billing rule

Reading routes settle only when content is delivered (billed: true). Bot walls, empty extractions, and timeouts stay unbilled. /v1/fetch bills when the origin answers, including 4xx/5xx. Every paid response includes content_sha256 and provenance. /docs#billing · /faq.

POST /v1/probe is free. Not sure which endpoint? /choose.

Measured, not claimed

The hard case, on purpose: the public web-data-frontier-benchmark is 100 live pages behind bot walls, one attempt each, and a pass needs the expected text — not a 2xx. Ordinary pages are not this slow. Stored run bench-1793385089829.

  • 41/100bot-walled pages passed
  • 54.7 sp75 on those 41, front of the queue to a rendered page
  • 0charged bot walls
  • 0false successes

Official clients

readfetch-client and @readfetch/client (latest+) — pass private_key once; paid routes sign x402 on 402 and retry. Lower-level: call(), quote(), feedback helpers. MCP hosts: @readfetch/mcp-x402-proxy@latest.

InstallDocs
pip install readfetch-clientGitHub · snippets
npm install @readfetch/clientGitHub · snippets

All client snippets →

Frequently asked questions

Do I need an account or an API key?

No account or API key. Start with free POST /v1/probe. Paid routes need a funded Base USDC wallet and readfetch-client, @readfetch/client, or @readfetch/mcp-x402-proxy — they handle x402 for you. Integrator issues: POST /v1/feedback · delivery disputes: claims.

How much does a call cost?

Each endpoint quotes its own price on the 402 (see the pricing table or /openapi.json). /v1/batch is priced per delivered page; /v1/crawl quotes max_pages and settles when the job is accepted. Both are quoted before work starts.

What if nothing useful was delivered?

You get 200 with billed: false and a hint naming the next endpoint to try — settlement does not run. Provable defects can be claimed for a single-use credit (not a refund).

Can I use it from Claude, Cursor, or another MCP client?

Yes. Add @readfetch/mcp-x402-proxy@latest with EVM_PRIVATE_KEY, or connect to https://readfetch.com/mcp if your client signs x402 itself. Setup: /integrations.

How does an agent discover endpoints automatically?

Read /llms.txt, /SKILL.md, or /openapi.json — prices and schemas are generated from the same catalog as the live API.

More answers: /faq · full reference: /docs.

Find us in registries

Agents discover x402 services through directories — submit the live service and the stdio MCP proxy.

For agents

Machine-readable entry points. Point a crawler, an LLM or an MCP client at any of these.