web_contents
Read any web page as clean LLM-ready markdown for $0.0015 — the cheapest x402 page reader, and the natural companion to /web/search. Send a URL, get back the readable core: title, headings, paragraphs, lists and links, stripped of scripts, styles, navigation and other boilerplate. Choose markdown or plain text and cap the size with max_chars (default 20000; a truncated flag tells you when the cut hit). Unreachable or non-HTML targets cost nothing. Pay per call in USDC, no account, no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The http(s) URL of the page to read. Literal IP addresses, localhost and non-http(s) schemes are rejected. | |
| format | No | markdown (default) keeps #-headings, [text](url) links and - lists; text is flat plain text | markdown |
| max_chars | No | Maximum content length in characters (1000-100000, default 20000); longer pages are cut and flagged truncated |