Render a URL or raw HTML string to PDF. Returns pdf_base64 (base64 PDF; decode t...
https://agentsvc.io/api/v1/proxy/html-to-pdfOverview
Render a URL or raw HTML string to PDF. Returns pdf_base64 (base64 PDF; decode to get raw bytes) and page_count. Provide url OR html, never both. Supports format (A4/Letter/Legal), landscape boolean, and margin settings (top/bottom/left/right in CSS units). Use for invoices, reports, or printable document generation.
Protocol
x402 (POST)
Price
$0.0045
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
HTML to PDF Converter
Source
bazaar
Indexed
2026-10-07 07:30:55
Health
Status
healthy
Latency (p50)
308ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:15:12
Last Healthy
2026-10-31 07:15:12
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"body": {
"html": "<h1>Invoice #123</h1><p>Total: $42.00</p>"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"file_size_bytes": 14867,
"generated_at": "2026-04-07T12:00:00.000Z",
"page_count": 2,
"pdf_base64": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9..."
},
"success": true
},
"type": "json"
}