{"uid":"cap__l6PokMCO8hHUsNhpWxDb","slug":"agentdata-api-web-page-to-markdown-reader-87d68949","name":"agentdata-api Web Page to Markdown Reader","description":"Read any web page as clean LLM-ready markdown for $0.003 — 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.","url":"https://agentdata-api.sander-van-aard.workers.dev/web/contents","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_57i6jVF88QKMHqNN_zHLk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches any URL and returns its readable content as clean LLM-ready markdown or plain text, stripping boilerplate like navigation, scripts, and styles.","exampleAgentPrompt":"Fetch the main content from https://www.bbc.com/news/technology-12345678 as clean markdown, capped at 15000 characters, so I can summarize it.","exampleUseCases":[{"title":"Article summarization from URL","prompt":"Grab the readable content from this news article — https://www.reuters.com/technology/ai-regulation-2025/ — as clean markdown, up to 20000 characters, so I can summarize the key points."},{"title":"Research page extraction for RAG","prompt":"Pull the main text from https://en.wikipedia.org/wiki/Retrieval-augmented_generation as markdown so I can feed it into my knowledge base — strip all the navigation and footnote clutter."},{"title":"Competitor page monitoring","prompt":"Read the content of https://www.competitor.com/pricing as plain text and tell me what pricing plans they list — just the readable core, no scripts or menus."}],"resultDescription":"Returns the page title, structured headings, paragraphs, lists, and links formatted as clean markdown (or plain text), with a truncated boolean flag if the content was cut at max_chars. Unreachable or non-HTML URLs return nothing and are not charged.","failureModes":["Unreachable URL (network error or DNS failure) — costs nothing, returns empty or error indicator","Non-HTML target (PDF, binary file) — costs nothing, no content returned","Page behind authentication or CAPTCHA — content inaccessible, may return partial or empty result","max_chars too small — content is truncated and truncated flag is set to true","Invalid URL format — request rejected before fetch"],"whenToPreferThis":"Choose this endpoint when you need to read the human-readable body of a specific known URL cheaply ($0.0015 per call) without an account or API key. It is the natural follow-up to /web/search when you have a URL and need its content. Prefer it over heavier scraping services when you only need the readable prose core rather than structured data or full DOM access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:38.401Z","isFirstParty":false}