{"uid":"cap_qV7JBwAvCEeS9yliWMgcz","slug":"docforge-pdf-generator-a3df1803","name":"DocForge PDF Generator","description":"Machine-payable document & media generation via x402 (USDC on Base). Endpoints respond 402 with payment instructions; retry with an x402 payment header.","url":"https://docforge-selim.duckdns.org/pdf?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","bodyType","body"],"properties":{"body":{"required":[],"properties":{"css":{"type":"string","description":"Extra CSS to style the document"},"html":{"type":"string","description":"Raw HTML body; overrides markdown when present"},"title":{"type":"string","description":"Document title"},"footer":{"type":"string","description":"Page footer text with page numbers"},"format":{"type":"string","description":"Page size: A4 (default) or Letter"},"markdown":{"type":"string","description":"Markdown source of the document (or provide html)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":"Binary PDF file (application/pdf)"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nVa-0xaZW9sn2OpywpKXd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a PDF document from provided content, delivered as a binary file, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Generate a PDF document containing a simple one-page invoice for 'Acme Corp' totaling $500 for consulting services rendered in June 2025, and pay the $0.01 USDC fee automatically.","exampleUseCases":null,"resultDescription":"A binary PDF file (application/pdf) returned directly in the response body, representing the generated document based on the submitted content.","failureModes":["402 Payment Required — returned on first call before payment header is attached; retry with valid x402 USDC payment header","Invalid or malformed input content — may result in 400 error or malformed PDF","Payment rejected — insufficient funds or invalid USDC transaction on Base network","Service unavailable — dynamic DNS host (duckdns.org) may be unreachable or offline","Timeout — document rendering may time out for very large or complex inputs"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate a PDF document and want to pay per call using USDC on Base via x402 micropayments, with no subscription or API key required. Ideal for AI agents that need on-demand, pay-as-you-go PDF creation at $0.01 per document.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T23:26:42.195Z","isFirstParty":false,"canonicalSlug":"docforge-pdf-generator-a3df1803"}