readfetch_batch
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 10 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
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | URLs to read, deduped before quoting. | |
| fresh | No | When true, bypass cached responses for each item (default false). | |
| format | No | Per-item output flavour, same as /v1/text: markdown (default) or plain text. | markdown |
| pipeline | No | text (default) = HTTP-first per URL, same as readfetch_text; use render when probe reported challenge:true or items need JavaScript — bills like scrape per undelivered page, not like plain text. | text |
| timeout_s | No | Total budget for the whole batch in seconds; every item shares it and no item restarts it. | |
| accept_language | No | Accept-Language header for every item, e.g. 'de-DE,de;q=0.9'. Defaults to en-US when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credit | No | ||
| failed | No | ||
| status | No | ||
| results | No | ||
| delivered | No | ||
| billed_pages | No |