{"uid":"cap_QhTNi-54YKQ9R4yWJuIet","slug":"onchain-trading-intelligence-html-to-markdown-converter-3be7c601","name":"Onchain & Trading Intelligence — HTML to Markdown Converter","description":"Convert raw HTML to clean, LLM-ready markdown. Strips nav/script/style noise.","url":"https://x402-services-production.up.railway.app/api/markdown","method":"POST","headers":{},"bodySchema":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"Raw HTML"}}},"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_4mbviAl1dtau2Fs9PuvAH","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":"Converts raw HTML content (e.g., scraped onchain/trading data pages) into clean Markdown text for downstream agent processing","exampleAgentPrompt":"I have some raw HTML scraped from a DeFi dashboard — can you convert it into clean markdown so I can feed it into my trading analysis pipeline?","exampleUseCases":[{"title":"Clean DeFi page for agent ingestion","prompt":"Here's the raw HTML from a Hyperliquid funding rates page — convert it to markdown so my agent can read and analyze the data without the noise."},{"title":"Tokenized stock dislocation report","prompt":"I scraped the Robinhood Chain oracle page and got a bunch of raw HTML — turn it into clean markdown so I can compare the tokenized stock prices against real equity prices."},{"title":"Solana token safety scan output","prompt":"I have HTML output from a rugcheck scan on a new pump.fun token — convert it to readable markdown so my sniping agent can quickly assess if it's safe to trade."}],"resultDescription":"A clean Markdown-formatted version of the submitted HTML, with HTML tags stripped and content structured for human or LLM readability.","failureModes":["Empty or missing 'html' field returns a validation error","Malformed or extremely large HTML may cause parsing timeouts","Non-HTML input (e.g. plain text or JSON) may produce garbled or trivial markdown output","x402 payment failure (insufficient balance or unsupported stablecoin) blocks the call before processing"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert raw scraped HTML into readable Markdown for downstream LLM or agent processing, especially within an onchain/trading intelligence pipeline that already uses the x402 pay-per-call stablecoin payment model. It fits naturally when your agent has already scraped a DeFi, DEX, or tokenized-equity page and needs clean text before analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:11.918Z","isFirstParty":false}