{"uid":"cap_iJurfV-tdN5YbDEwmJZz_","slug":"swarm-read-page-a36856d4","name":"SWARM Read Page","description":"SWARM Read Page - Retrieve the content of a URL as clean, LLM-ready text (headings with #, lists with -; menus, scripts, styles and markup removed). Use when an agent needs to read a web page, article or docs page without paying model tokens for raw HTML: on 15 public pages we measured, the text was a median 97% smaller than the HTML (about 67,000 fewer tokens per page). Requires `url`; HTML or text up to 3 MB. Not billed if the page cannot be read. $0.002.","url":"https://swarm-agent.net/services/read-page?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) URL, ports 80/443 only, e.g. https://example.com."}}},"responseSchema":{"type":"json","example":{"url":"https://example.com","text":"This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.","title":"Example Domain","status":200,"finalUrl":"https://example.com/","fetchedAt":"2026-10-16T10:01:22.169Z","truncated":false,"wordCount":25,"contentType":"text/html; charset=utf-8"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dBUzRbjaImkVzkI-PxDUv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the clean, readable text of any public web page by stripping menus, scripts, and HTML markup","exampleAgentPrompt":"Can you grab the readable text from https://www.bbc.com/news/technology — just the clean article content, no navigation or ads?","exampleUseCases":[{"title":"Extract article text for summarization","prompt":"Fetch the main text from https://www.wired.com/story/ai-agents-2025 so I can summarize what it says without all the navigation and ads."},{"title":"Read competitor pricing page","prompt":"Pull the readable content from https://openai.com/pricing so I can see what their current plans and prices are."},{"title":"Check policy document contents","prompt":"Can you read the text at https://www.anthropic.com/privacy so I know what their privacy policy actually says?"}],"resultDescription":"A JSON object containing the page's clean readable text, title, final URL after any redirects, HTTP status code, content type, fetch timestamp, word count, and a flag indicating if the content was truncated (max 3 MB). Markup, scripts, and navigation elements are stripped, leaving only human-readable prose.","failureModes":["Page cannot be fetched (non-200 status) — not billed, error returned with status code","URL uses non-standard ports (not 80/443) — rejected with validation error","Private or intranet URLs not reachable from public internet — fetch fails","Page returns no readable text (e.g. pure JavaScript SPA without SSR) — empty or minimal text result","Content exceeds 3 MB — text is truncated, truncated flag set to true","Invalid or malformed URL — request rejected"],"whenToPreferThis":"Use this endpoint when you need the clean, human-readable text of a specific public web page and want markup, scripts, and navigation stripped automatically. It is ideal for feeding page content into summarization, question-answering, or analysis pipelines. Prefer this over a full site crawler when you have a specific URL to read rather than needing to discover links. The no-charge-on-failure policy makes it safe to use speculatively.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:17:44.306Z","isFirstParty":false,"canonicalSlug":"swarm-read-page-a36856d4"}