{"base_url":"https://readfetch.com","description":"Pay-per-call web reading for AI agents over x402 — no account, no API key. Reading routes settle on delivery; /v1/fetch when the origin answers. Signed provenance on paid responses. Start free with POST /v1/probe.","docs_url":"https://readfetch.com/docs","endpoints":[{"category":"Data","description":"Fetch a public URL and return its main readable content as Markdown or plain text, plus title, author, published date and site name. Strips navigation, ads and boilerplate. No JavaScript rendering by default (cheaper than readfetch_scrape); one Chromium fallback when plain HTTP is blocked. Prefer readfetch_fetch when you need raw status, headers, or non-HTML bytes; readfetch_scrape when the article only appears after JavaScript runs.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/text","price_usd":0.002,"request_content_type":"application/json","tags":["x402","ai agents","llm","web reading","readability","article extraction","html to text","html to markdown","web reader","content extraction","metadata","open graph","no javascript"]},{"category":"Search","description":"Discover a site's crawlable surface without crawling it: parse robots.txt allow/disallow rules, collect URLs from sitemap.xml and sitemap indexes, find RSS, Atom and JSON feeds, and count internal and external links on the homepage. Use the returned URLs to plan readfetch_scrape, readfetch_batch, or readfetch_crawl — not readfetch_map again on each URL. Prefer readfetch_probe on one URL before paying for bodies.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/map","price_usd":0.002,"request_content_type":"application/json","tags":["x402","ai agents","site discovery","sitemap","robots.txt","rss","atom","feed discovery","url discovery","site map","crawl planning","link inventory"]},{"category":"Data","description":"Load a public URL in headless Chromium and return Markdown, plain text, or HTML (`format`, plus status_code, title, billed; optional links via `advanced.include_links`). `mode` sets latency and depth: fast (15 s, minimal render), render (30 s, default, full JS), full (60 s, scroll the page). Put scroll, wait_for, js_code, headers, cookies, and auth in `advanced` (`options` is deprecated, same shape). Prefer readfetch_text when JavaScript is not required; readfetch_fetch for raw HTTP/API bytes; readfetch_residential when the site blocks datacentre IPs; readfetch_screenshot for a PNG/JPEG. Bot-check or empty extractions may return `billed: false` with a hint.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/scrape","price_usd":0.005,"request_content_type":"application/json","tags":["x402","ai agents","scrape","javascript rendering","browser rendering","markdown","html","spa","web scraping"]},{"category":"Data","description":"Identical request and response to /v1/scrape, but the render leaves through a residential address instead of the datacentre. For targets that block by IP reputation (DataDome, PerimeterX, Cloudflare, AWS WAF). One attempt, no retries: residential bandwidth is the cost, and four times the scrape price is what it takes to cover it honestly. Prefer readfetch_scrape when datacentre egress works; use readfetch_residential only after readfetch_scrape fails or readfetch_probe reports a persistent challenge.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/scrape/residential","price_usd":0.02,"request_content_type":"application/json","tags":["residential proxy","protected sites","anti-bot","scrape","browser rendering"]},{"category":"Infra","description":"Send an HTTP request (GET, POST, PUT, PATCH, DELETE, HEAD) through egress and return status_code, response headers, and body as text or base64 (`binary: true`). `max_bytes` caps the stored body; `follow_redirects` (default true) and `timeout_s` (95 s ceiling) apply to the full redirect chain. Use `json_body` for JSON POST/PUT payloads; use `body` for raw bytes or strings. Prefer readfetch_text for readable HTML articles; readfetch_pdf to extract PDF text (not raw bytes alone). POST/PUT/DELETE can change remote state despite readOnlyHint.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/fetch","price_usd":0.0015,"request_content_type":"application/json","tags":["http client","raw http","api calls","graphql","proxy"]},{"category":"Data","description":"Read a fixed list of public HTML pages in one call—the same article extraction as POST /v1/text for each URL (Markdown or plain text plus title and metadata). One x402 payment covers the batch (minimum 3 pages quoted; URLs deduped, max 50). Returns results in input order: each item has url, status_code, text, billed, and hint when undelivered, plus batch-level delivered, failed, billed_pages, and optional credit for unused pages. Undelivered pages are not billed. Use readfetch_text for one URL, readfetch_map then readfetch_crawl to discover and walk a site, readfetch_scrape when JavaScript is required. Read-only; 402 without PAYMENT-SIGNATURE like other paid tools.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/batch","price_usd":0.0015,"request_content_type":"application/json","tags":["batch","bulk","multiple urls","concurrent","markdown"]},{"category":"Data","description":"Extract text from a PDF (%PDF- magic, not Content-Type). Send exactly one of `url` (public http(s) link — egress GET, ≤ 20 MB) or `content_base64` (bytes you already have — the whole request body is capped at 1 MiB, base64 expansion included; optional `filename` labels the upload). Returns `pages` (per-page text), one concatenated `markdown` body, `title`, and `metadata`; $0.005 per document, not per page. `max_pages` limits extraction (default 50, max 200); documents over 200 pages or above your cap return 413 and are not billed. Scanned/image-only PDFs may return empty text with `billed: false` and a `hint`. Prefer readfetch_text or readfetch_scrape for HTML articles; readfetch_fetch for raw PDF bytes without extraction; readfetch_batch for many HTML URLs, not PDFs. Read-only server-side; paid x402 like other routes.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/pdf","price_usd":0.005,"request_content_type":"application/json","tags":["pdf","document text","page text","markdown","metadata"]},{"category":"Data","description":"Extract one heading or one CSS selector from a public page instead of the whole document. Returns matched Markdown or text, title, chars, content_sha256, and billed. If the heading is missing, returns HTTP 200 with empty text and `available_headings` so you can retry. `mode`: fast (plain HTTP) or render (default, Chromium when the page blocks HTTP). `max_chars` truncates output (default 8000, max 20000). Prefer readfetch_text for full articles; readfetch_scrape when content needs JavaScript.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/section","price_usd":0.003,"request_content_type":"application/json","tags":["section","heading","selector","tokens","docs"]},{"category":"Data","description":"Stateless change detection on readable page text (same HTTP-first extraction as readfetch_text): fetch the URL, compare to a hash or prior body you store client-side, return changed/unchanged plus optional line diff. First call with no prior fields returns a baseline hash (see hint). `previous_hash` alone detects change without a line diff; add `previous_content` when you need added/removed/diff. A no-change answer is still billable when text was delivered. Prefer readfetch_text when you need the full article once; readfetch_probe (free) for a short preview and `content_sha256` before spending on text.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/diff","price_usd":0.003,"request_content_type":"application/json","tags":["diff","change detection","hash","monitoring","stateless"]},{"category":"Data","description":"Screenshot a public URL in headless Chromium (page JavaScript runs; no ad blocker) and return PNG or JPEG in JSON — `image_base64`, `mime`, `width`, `height`, `status_code`, `billed` (not a hosted URL). Scope: viewport only (`full_page: false`), full scrollable page (default), or one element (`selector`). `mode` caps total render time: fast (15 s), render (30 s, default), full (60 s, always full-page regardless of `full_page`). Set `width`/`height` before navigation (default 1280×800, max 3840×2160). `delay_ms` (0–30000) waits after navigation, then captures — raise it or use `mode=full` for slow SPAs and lazy media. Prefer readfetch_text or readfetch_scrape for extractable text; readfetch_pdf for PDF files; readfetch_fetch for raw HTTP without rendering. Read-only on the origin (GET + render, no form POST). Bot-check or blank frames may still return pixels with `billed: false` and a `hint`; paid x402 like other routes.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/screenshot","price_usd":0.003,"request_content_type":"application/json","tags":["screenshot","png","jpeg","full page","element"]},{"category":"Search","description":"Run a web search without a separate search API subscription. Returns titles, URLs, and snippets only — not full page text; follow with readfetch_text, readfetch_probe, or readfetch_scrape on a chosen result URL. `limit` is 1–20 (default 5). Optional `lang` biases locale (e.g. en, de-DE). Optional `tbs` filters recency: h= past hour, d= day, w= week, m= month, y= year. Use readfetch_map/readfetch_crawl when you already know the site; readfetch_* URL tools when you have the link.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/search","price_usd":0.005,"request_content_type":"application/json","tags":["search","web search","serp","results","snippets"]},{"category":"Search","description":"Start a bounded async crawl from one seed URL. Returns job_id, status (queued), pages_quoted, and price_usd — then poll readfetch_crawl_status with that id until status is complete or failed. A complete job includes per-page url and Markdown in the status payload. Cap scope with max_pages (default 20, max 100) and max_depth (default 2, max 3); include/exclude filter paths by prefix (* suffix on include). Prefer readfetch_batch for a fixed URL list; readfetch_map to list URLs without fetching bodies; readfetch_text for a single page.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/crawl","price_usd":0.003,"request_content_type":"application/json","tags":["crawl","site","async","job","markdown"]},{"category":"Search","description":"Poll a crawl job started with readfetch_crawl. FREE — no payment or wallet; unauthenticated. Pass `id` from the crawl response. Returns job_id, status (queued, running, complete, or failed), completed/total counts, and a growing `pages` list (url plus Markdown) as results land. Stop polling when status is complete or failed. Results are kept for one hour after the job finishes.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"GET","path":"/v1/crawl/{id}","price_usd":0.0,"request_content_type":"application/json","tags":["crawl","job","status"]},{"category":"Data","description":"Free preflight on a URL before any paid readfetch_* call: HTTP status, content type, byte size, title, language, and whether a bot wall is waiting (`challenge`). When the response is HTML and not a challenge page, the JSON includes **`preview`**: the text readfetch_text would return (same extractor), up to **32,000 characters** for the first **3 probes per IP per day**, then **400 characters**. Use readfetch_probe instead of readfetch_text when choosing a route or estimating size; if `challenge: true`, use readfetch_scrape (then readfetch_residential if still blocked), not readfetch_text. Plain HTTP only — no browser render.","input_schema":"https://readfetch.com/.well-known/x402-resources.json","method":"POST","path":"/v1/probe","price_usd":0.0,"request_content_type":"application/json","tags":["probe","metadata","preflight","content type","bot detection"]},{"description":"Liveness check, no payment header required.","method":"GET","path":"/healthz","price_usd":0.0},{"description":"Report integration or docs issues for a prior call (bind with X-Request-Id). Free, no payment.","method":"POST","path":"/v1/feedback","price_usd":0.0},{"description":"Paid delivery dispute; needs RECEIPT header and EIP-191 signature. Free, no x402.","method":"POST","path":"/v1/claims","price_usd":0.0}],"health_url":"https://readfetch.com/healthz","icon_url":"https://readfetch.com/icon-512.png","integrations_url":"https://github.com/readfetch/readfetch/blob/main/INTEGRATIONS.md","limits":{"concurrency":4,"default_page_timeout_ms":30000,"max_fetch_bytes":10000000,"max_inline_file_bytes":5242880,"max_network_requests":200,"request_timeout_s":95},"llms_txt_url":"https://readfetch.com/llms.txt","logo_url":"https://readfetch.com/icon-512.png","manifest_url":"https://readfetch.com/.well-known/service.json","mcp_manifest_url":"https://readfetch.com/.well-known/mcp.json","mcp_url":"https://readfetch.com/mcp","name":"readfetch.com","og_image_url":"https://readfetch.com/og.png","openapi_url":"https://readfetch.com/openapi.json","payment":{"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_symbol":"USDC","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","header":"PAYMENT-SIGNATURE","integrations_url":"https://readfetch.com/integrations#clients","network":"eip155:8453","note":"x402 settlement is live on eip155:8453: sign a USDC transfer and retry with PAYMENT-SIGNATURE.","pay_to":"0x26C2308aDC8fe5FFE6d4183588DD2DD22ed86071","price_note":"Per-endpoint prices; see x402_resources_url.","protocol":"x402","required":true,"status":"live","x402_resources_signing":"https://readfetch.com/.well-known/x402-resources.json"},"privacy_policy_url":"https://readfetch.com/privacy","schema_version":"1.0","skill_url":"https://readfetch.com/SKILL.md","support":{"claims":{"method":"POST","path":"/v1/claims","url":"https://readfetch.com/v1/claims","when":"paid delivery dispute; needs RECEIPT + EIP-191 signature"},"feedback":{"body":{"category":"integration|docs|site|other","message":"≤500 chars","request_id":"<from X-Request-Id>"},"free":true,"mcp_tool":"readfetch_feedback","method":"POST","path":"/v1/feedback","url":"https://readfetch.com/v1/feedback"},"request_id_header":"X-Request-Id"},"terms_url":"https://readfetch.com/terms","version":"0.1.0+17","version_note":"Catalog/API semver for this deployment — not npm/PyPI integrator client package versions (see integrations_url). `version` includes the monotonic site build counter when present (same as the readfetch.com footer). `version_semver` is bare semver without the build counter.","version_semver":"0.1.0","x402_resources_url":"https://readfetch.com/.well-known/x402-resources.json"}