{"uid":"cap_z_cHIdOjWvCgSBC3kzBlU","slug":"strale-markdown-to-html-converter-4dfb046a","name":"Strale Markdown to HTML Converter","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/markdown-to-html","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["markdown"],"properties":{"theme":{"type":"string","description":"light, dark, or plain"},"markdown":{"type":"string","description":"Markdown text to convert"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kwSPIhXZkPhsQkxC8KkFp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Markdown text to styled HTML with optional light, dark, or plain theme","exampleAgentPrompt":"Convert this markdown to HTML using the dark theme: '# Hello World\\n\\nThis is a **bold** statement and here is a [link](https://example.com).'","exampleUseCases":[{"title":"Render README for web display","prompt":"Take this markdown README file and convert it to HTML with a light theme so I can display it on my project's web page: '# My Project\\n\\nA **fast** and reliable tool for..."},{"title":"Dark-themed documentation page","prompt":"Convert my markdown API docs to HTML using the dark theme — here's the markdown: '## Endpoints\\n\\n### GET /users\\nReturns a list of users...'"},{"title":"Plain HTML from markdown content","prompt":"Turn this markdown blog post into plain unstyled HTML so I can apply my own CSS: '# Top 5 Tips\\n\\n1. Do this first\\n2. Then do that...'"}],"resultDescription":"Returns an HTML document generated from the provided Markdown input, styled according to the requested theme (light, dark, or plain). The output includes properly rendered headings, lists, code blocks, links, and other Markdown elements as valid HTML markup.","failureModes":["Missing required 'markdown' query parameter returns an error","Invalid or empty markdown string may return empty or minimal HTML","Unsupported theme value may fall back to default or return an error","Extremely large markdown payloads may be rejected or time out","Network or payment authorization failure (x402) prevents response"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable server-side Markdown-to-HTML conversion without running a local parser, especially when you need themed output (light/dark/plain) out of the box and an auditable cryptographic record of every conversion call. Ideal for agents building or publishing web content dynamically from markdown sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:59:48.478Z","isFirstParty":false}