{"uid":"cap_79zo5Jw_hHL0WyrWJffJy","slug":"sq-fetch-public-html-to-markdown-converter-adea42f0","name":"SQ Fetch – Public HTML to Markdown Converter","description":"Call POST /v1/fetch when you need a public http(s) page as markdown. JSON body: {\"url\":\"https://...\"}. Returns {title, url (final), markdown, content_hash}. JavaScript is NOT executed — SPAs and client-rendered pages return the raw HTML shell. Localhost, RFC1918, link-local, and cloud-metadata IPs are blocked, including redirects. $0.001 USDC on Base (eip155:8453).","url":"https://sq-fetch.sq-co.workers.dev/v1/fetch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Absolute http(s) URL of a public HTML page. HTML to markdown / html-to-markdown / url-to-markdown / scraping of static HTML. JavaScript is not rendered. Private, loopback, link-local, and cloud-metadata addresses are rejected."}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.","content_hash":"sha256:6a3d6c0b8e1f4a2c9d7e5b1a0c8f3d2e4b6a9c1d8e7f0a2b4c6d8e0f1a3b5c7d"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.08","successRate":"1.00","reviews":1,"stars":"1.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FSskfn8GEi_6KrO5Rxdon","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public HTML page by URL and returns its content as clean Markdown text, along with a title and content hash, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Can you fetch the page at https://example.com/about and give me the content as markdown so I can summarize it?","exampleUseCases":[{"title":"Summarize a news article from URL","prompt":"Grab the article at https://www.bbc.com/news/technology-68000001 and convert it to markdown so I can summarize the key points."},{"title":"Extract docs page for code assistant","prompt":"Fetch https://docs.python.org/3/library/asyncio.html and return it as markdown — I want to feed it into my coding assistant."},{"title":"Archive a blog post as markdown","prompt":"Convert the blog post at https://martinfowler.com/articles/continuousIntegration.html to markdown and save it for my knowledge base."}],"resultDescription":"A JSON object containing the original URL, the page's title, the full page content converted to Markdown (without JavaScript execution), and a SHA-256 content hash for deduplication or change detection.","failureModes":["Private, loopback, link-local, or cloud-metadata URLs are rejected with an error","Pages requiring JavaScript rendering will return incomplete or empty markdown since JS is not executed","Non-HTML content types (PDFs, images, binary files) may not convert cleanly","Paywalled or authentication-required pages will return only the visible unauthenticated content","Invalid or malformed URLs return a validation error","Payment failure via x402 will prevent the request from being processed"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 per call) conversion of a public HTML page to clean Markdown, especially in automated pipelines where paying per-call with USDC on Base via x402 is acceptable. It is ideal when JavaScript rendering is not required and you want a structured output including title and content hash. Prefer alternatives if you need JavaScript-rendered content, authenticated pages, or bulk crawling of entire sites.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-08-31T09:18:59.280Z","lastSuccessfullyRanAt":"2026-08-31T09:18:59.280Z","lastHealthCheckAt":"2026-10-22T12:37:01.731Z","isFirstParty":false,"canonicalSlug":"sq-fetch-public-html-to-markdown-converter-adea42f0"}