{"uid":"cap_EXLqNZruIDKUQjPVImzZj","slug":"api-node4all-com-d59a4ac9","name":"Node4All md2pdf — Markdown to PDF Converter","description":"Node4All md2pdf — Markdown → PDF (md2pdf) conversion for AI agents and document automation workflows. Accepts UTF-8 markdown either as a multipart \"file\" upload (.md, ≤10MB) or as a JSON body { \"markdown\": \"...\" }, and returns application/pdf. Operator: Node4All (https://node4all.com). Currency: USDC on Base.","url":"https://api.node4all.com/v1/md2pdf?utm_source=zero.xyz","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"markdown":"# Test Document\n\nThis is a minimal test for the md2pdf API.\n\n## Section\n\nSimple content with **bold** and *italic* text.\n\n- Item 1\n- Item 2\n\nEnd of test."},"response":{"_binary":true,"_nonJson":true,"_contentType":"application/pdf"}},"exampleRequest":{"markdown":"# Test Document\n\nThis is a minimal test for the md2pdf API.\n\n## Section\n\nSimple content with **bold** and *italic* text.\n\n- Item 1\n- Item 2\n\nEnd of test."},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.08","successRate":"0.00","reviews":1,"stars":"1.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GCrfZ44s-XcBrfFtSGgUM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts UTF-8 Markdown content into a downloadable PDF document via multipart file upload or JSON body","exampleAgentPrompt":"Convert this markdown document into a PDF for me — here's the content: '# Project Report\\n\\n## Summary\\nThis quarter we exceeded targets by 12%...'","exampleUseCases":[{"title":"Generate client reports from markdown templates","prompt":"Take this markdown template for our quarterly client report and convert it to a PDF so I can email it to the stakeholders: '# Q4 Performance Summary\n\n## Revenue\n- Product Sales: $2.5M\n- Services: $1.8M\n\n## Key Metrics\n...'"},{"title":"Automate documentation exports for releases","prompt":"Every time we publish release notes in markdown, I need you to turn them into a polished PDF we can attach to our GitHub releases. Here's the latest: '# Version 3.2.0 Release\n\n## New Features\n- Real-time collaboration...'"},{"title":"Convert user-submitted feedback into PDF summaries","prompt":"Our support team just compiled customer feedback in markdown format and I want to create professional PDF documents for each region's report. Can you convert this to PDF: '# APAC Region Feedback Report\n\n## Top Issues\n1. Performance concerns...'"}],"resultDescription":"Returns a binary application/pdf response containing the rendered PDF document generated from the provided Markdown input. The PDF reflects standard Markdown formatting including headers, lists, code blocks, and emphasis.","failureModes":["File exceeds 10MB limit — request rejected","Invalid or non-UTF-8 markdown content — parsing error","Malformed JSON body missing 'markdown' key — 400 error","Unsupported file type uploaded — rejected","Payment authorization failure via x402 — 402 Payment Required","Server-side rendering error for complex or malformed markdown"],"whenToPreferThis":"Choose this endpoint when you need a reliable, pay-per-call serverless Markdown-to-PDF conversion with no authentication setup — ideal for document automation workflows, AI agent pipelines generating reports, or any scenario where you have markdown text or a .md file and need a clean PDF output without managing a rendering server. Especially suited for agents using x402/USDC micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-05-19T01:24:07.126Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:31:49.968Z","isFirstParty":false,"canonicalSlug":"api-node4all-com-d59a4ac9"}