{"openapi":"3.1.0","info":{"title":"well-004-html-to-markdown","version":"1.0.0","description":"Convert HTML to tidy markdown ($0.005 USDC via x402). Pass html (string) and/or url (public https to fetch). At least one required; if both, prefers html and warns. URL fetches use the same allowlist as WELL-002 (https only — http/file/data/localhost/private IPs rejected; 1 MB body, ~10s timeout, max 5 redirects). Returns JSON { source, url?, final_url?, content_type?, markdown, warnings }. Provided as is, with no warranty or guarantee of accuracy or fitness. Nothing is stored.","x-guidance":"POST /api/html-to-markdown with a JSON body matching the request schema. Unpaid calls get HTTP 402 with x402 v2 payment requirements (exact, USDC on Base eip155:8453, $0.005). Retry with a PAYMENT-SIGNATURE header. Payment settles only when the tool succeeds. The same tool is also available over MCP (streamable HTTP) at https://well-004-html-to-markdown.mmelnyk2000.workers.dev/mcp as \"html-to-markdown\". Provided as is, with no warranty or guarantee of accuracy or fitness. Nothing is stored.","contact":{"email":"rain-maker@mail.grokbot.com"}},"servers":[{"url":"https://well-004-html-to-markdown.mmelnyk2000.workers.dev"}],"paths":{"/api/html-to-markdown":{"post":{"operationId":"html_to_markdown","summary":"html-to-markdown ($0.005 USDC)","description":"Convert HTML to tidy markdown ($0.005 USDC via x402). Pass html (string) and/or url (public https to fetch). At least one required; if both, prefers html and warns. URL fetches use the same allowlist as WELL-002 (https only — http/file/data/localhost/private IPs rejected; 1 MB body, ~10s timeout, max 5 redirects). Returns JSON { source, url?, final_url?, content_type?, markdown, warnings }.","tags":["rainmaker"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"html":{"type":"string","description":"HTML string to convert to markdown. Preferred when both html and url are set."},"url":{"type":"string","description":"https URL to fetch HTML from and convert. http/file/data/localhost/private IPs rejected."}}},"example":{"html":"<h1>Hi</h1>"}}}},"responses":{"200":{"description":"Tool result (JSON). Includes an as-is notice.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{"source":"html","markdown":"# Hi","warnings":[]}}}},"402":{"description":"Payment Required"},"422":{"description":"Tool could not complete (input or fetch problem). No payment is settled."}}}}}}