{"uid":"cap_ZZLsUIDvj6wo2HAwqySO8","slug":"codepulse-api-web-markdown-downloader-345395d7","name":"CodePulse API - Web Markdown Downloader","description":"Downloads HTML and compiles it to markdown locally using Turndown.","url":"https://codepulse-api.hahavoid0.workers.dev/web/markdown","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","required":["url"],"properties":{"url":{"type":"string","description":"Target URL to convert to markdown"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"markdown":"# Example Domain\n\nThis domain is for use in illustrative examples..."},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.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_Qjv9u0eCSYSvGtMWJfRrm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and returns its content converted to clean Markdown format","exampleAgentPrompt":"Can you fetch https://example.com and give me the content as clean markdown? I want to read through it and process the text.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a 'markdown' field with the full page content rendered as Markdown, a 'supported' boolean indicating if the URL was processable, a 'confidence' field (e.g. 'high'), optional 'warnings' array, and a 'data_as_of' timestamp. Also includes a disclaimer noting the content is informational only.","failureModes":["URL is unreachable or returns non-200 status — supported: false or warnings populated","Page is JavaScript-heavy SPA and content cannot be extracted — low confidence or empty markdown","Invalid or malformed URL input — error response","Paywalled or login-gated content — partial or empty markdown returned","x402 payment not completed — request rejected before processing"],"whenToPreferThis":"Use this endpoint when you need to download and process the textual content of a public web page in Markdown format without managing API keys. Ideal for AI agents that need to read documentation, articles, or reference pages and work with clean structured text. Prefer over raw HTML scrapers when downstream processing benefits from Markdown formatting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:43:29.731Z","isFirstParty":false}