{"uid":"cap_Zdz2voVgYOXXLBIRFKB-_","slug":"strale-html-to-pdf-converter-89e67e50","name":"Strale HTML-to-PDF 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/html-to-pdf","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"margins":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.108","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.108/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.108","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.108","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xXnfZ1bd5yKFziR3am1V8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.108","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an HTML page (by URL) to a PDF document with configurable margins, returning an audit record with cryptographic chain hashing.","exampleAgentPrompt":"Can you convert this webpage https://example.com/report into a PDF for me, using 20px margins on all sides?","exampleUseCases":[{"title":"Invoice PDF for client delivery","prompt":"Take this invoice page at https://billing.myapp.com/invoices/12345 and convert it to a PDF with 15px margins so I can email it to the client."},{"title":"Archiving a published article","prompt":"I need to save https://blog.mycompany.com/2024/annual-review as a PDF with no extra margins so I can archive it and share it offline."},{"title":"Report snapshot for compliance","prompt":"Convert https://dashboard.internal.io/compliance-report to a PDF with 10px margins — I need a timestamped, tamper-evident copy for our audit records."}],"resultDescription":"A PDF file rendered from the target HTML page, along with an audit record containing a cryptographic chain hash that proves the conversion occurred at a specific time and was not tampered with.","failureModes":["URL is unreachable or returns a non-200 status — PDF generation fails","Invalid or malformed margin value causes a 400 Bad Request","HTML page requires authentication that the renderer cannot provide","Page load timeout if the target URL is slow to respond","Payment failure via x402 micropayment protocol if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, auditable PDF conversion with a cryptographic chain hash — especially in compliance, legal, or financial contexts where proof of the document state at a point in time matters. Prefer it over generic HTML-to-PDF tools when tamper-evidence and audit trails are required alongside the conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:19:30.881Z","isFirstParty":false}