{"uid":"cap_l7EY7ix_6D-PdZbpv-z1Y","slug":"machine-shop-html-to-markdown-converter-d88a6b6e","name":"Machine Shop – HTML to Markdown Converter","description":"Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.","url":"https://api.pay-forge.online/v1/html-to-markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","title":"Html","maxLength":50000},"base_url":{"type":"string","title":"Base Url","default":"","maxLength":2048}}},"responseSchema":{"type":"json","example":{"markdown":"# Hello\n\nAgent documents."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4xEld0wFqR8jBfn1-75YY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw HTML into clean Markdown text, resolving relative links against an optional base URL.","exampleAgentPrompt":"Can you convert this HTML snippet into Markdown for me? Here's the HTML: '<h1>Hello</h1><p>This is a <a href=\"/docs\">link</a>.</p>' — use 'https://example.com' as the base URL so relative links resolve correctly.","exampleUseCases":[{"title":"Convert documentation HTML to Markdown","prompt":"I have the raw HTML source of a documentation page and I need it converted to Markdown so I can feed it into my LLM pipeline — here's the HTML, and the base URL is https://docs.myproduct.com."},{"title":"Extract readable text from scraped HTML","prompt":"I just scraped this HTML from a blog post and I want a clean Markdown version of it — can you strip all the tags and give me readable Markdown? The base URL for resolving links is https://blog.example.com."},{"title":"Prepare HTML email content for analysis","prompt":"I have an HTML email body I want to analyze, but first I need it converted to Markdown so my agent can read it easily — here's the full HTML string, no base URL needed."}],"resultDescription":"A JSON object with a single 'markdown' field containing the converted Markdown string derived from the supplied HTML, with relative URLs optionally resolved against the provided base URL.","failureModes":["HTML input exceeds 50,000 character limit — request rejected","Invalid or malformed base_url — links may not resolve correctly","Empty or null HTML input — returns empty or minimal Markdown","Malformed HTML that cannot be parsed — output Markdown may be incomplete or garbled","Payment not provided or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a reliable, pay-per-call HTML-to-Markdown conversion without setting up your own parser. Ideal for agents that scrape or receive HTML content and need clean Markdown for LLM ingestion, document comparison, or field extraction. Prefer it over general-purpose scrapers when you already have the raw HTML and just need the format conversion step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:39:03.942Z","isFirstParty":false,"canonicalSlug":"machine-shop-html-to-markdown-converter-d88a6b6e"}