{"uid":"cap_lG3asu7UrgZRJ0pb0fWac","slug":"web-page-to-markdown-175417d4","name":"Web Page to Markdown","description":"Web page to markdown: give a public URL, get its main content as clean Markdown for LLMs (navigation, footers and scripts removed) with title, canonical URL, language, publish date and links. Use when an agent needs to read, quote or summarise a page. Respects robots.txt, ai.txt and noai; no paywall bypass; refusals are not charged. Signed receipt.","url":"https://api.stablecoingateways.com/v1/page-to-markdown?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http(s) URL of one page"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","receipt"],"properties":{"data":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"url":{"type":"string"},"lang":{"type":"string"},"links":{"type":"array","items":{}},"notes":{"type":"string"},"title":{"type":"string"},"robots":{"type":"string"},"status":{"type":"integer"},"markdown":{"type":"string"},"canonical":{},"final_url":{"type":"string"},"published":{},"truncated":{"type":"boolean"},"fetched_at":{"type":"string"},"provenance":{"type":"object","description":"Additive evidence block (sg-provenance/1): per-fact source, retrieval time, limits; no score or verdict. Full schema in OpenAPI."},"word_count":{"type":"integer"},"description":{},"content_type":{"type":"string"},"publisher_policy_checks":{"type":"array","items":{"type":"string"}}},"description":"Main page content as Markdown with title, canonical URL, language, publish date and links"},"receipt":{"type":"object","required":["v","endpoint_id","ts","price","tx_hash","request_hash","response_hash","log_seq","sig"],"properties":{"evidence":{"type":"object","description":"Signed evidence (see llms.txt)"}},"description":"Ed25519-signed receipt; verify free at POST /v1/verify-receipt. New receipts also carry a signed `evidence` object."}}}}}}},"responseSchema":{"type":"json","example":{"data":{"url":"https://example.org/","lang":"en","links":[],"title":"Example Domain","robots":"allowed","status":200,"markdown":"This domain is for use in documentation examples without needing permission. This is no...","canonical":null,"final_url":"https://example.org/","published":null,"truncated":false,"word_count":25,"description":null,"content_type":"text/html"},"receipt":{"v":1,"ts":"2026-10-22T09:00:00Z","sig":"hex","price":{"asset":"USDC","amount":"2000","network":"eip155:84532"},"log_seq":1,"tx_hash":"0x..","endpoint_id":"page-to-markdown-v1","request_hash":"hex","response_hash":"hex"}}},"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_KqTGd8nawSvMpEWtBqBRF","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 a public URL and returns its main content as clean Markdown, stripping navigation, footers, and scripts, along with metadata like title, language, publish date, and links.","exampleAgentPrompt":"Can you fetch https://www.bbc.com/news/technology-68123456 and give me the main article content as clean markdown so I can summarize it?","exampleUseCases":[{"title":"Research article summarization","prompt":"Grab the content of this research article at https://arxiv.org/abs/2401.00001 as clean markdown — I want to read and quote from it without all the HTML clutter."},{"title":"Competitor blog post analysis","prompt":"Fetch https://openai.com/blog/new-models and return the main content as markdown so I can analyze what they announced."},{"title":"Agent reading a documentation page","prompt":"Pull the content from https://docs.stripe.com/api/charges and convert it to clean markdown so I can understand how the charges API works."}],"resultDescription":"A JSON object with a 'data' field containing the page's main content as clean Markdown (navigation, footers, scripts removed), plus the page title, original URL, canonical URL, final redirected URL, language code, publish date, word count, truncation flag, content type, robots/noai policy status, and an array of extracted links. Also includes an Ed25519-signed receipt with endpoint ID, timestamp, price paid, transaction hash, and request/response hashes for auditability.","failureModes":["URL is blocked by robots.txt or noai directives — returns refusal without charge","URL is behind a paywall — content extraction is refused, no bypass attempted","URL is malformed or unreachable — returns HTTP error status","Page has no extractable main content — markdown may be empty or minimal","URL exceeds 2048 character limit — validation error returned","Non-public or local URLs rejected — schema enforces http(s) format"],"whenToPreferThis":"Use this endpoint when an agent needs to read, quote, or summarize a single public web page and wants clean, LLM-ready Markdown output with structured metadata. It is ideal for news articles, blog posts, documentation pages, and any public HTML page where stripping navigation and boilerplate matters. Prefer this over raw HTML fetching when you need publisher-policy compliance (robots.txt/noai respected), a signed receipt for auditability, and consistent metadata extraction. Not suitable for paywalled content, entire site crawls, or structured data extraction from pages with non-HTML content types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T13:18:28.248Z","isFirstParty":false,"canonicalSlug":"web-page-to-markdown-175417d4"}