HTML to PDF Converter · agentsvc.io
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.
Input
No sample input is published, so the fields start empty.
Sample response
Published by the provider. Your run returns a fresh response.
response2 keys
data4 keys
file_size_bytes14867
generated_at"2026-04-07T12:00:00.000Z"
page_count2
pdf_base64"JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9..."
successtrue
responseobject, 2 keysYour agent can do this on its own
Add the MCP URL in Claude Code, Cursor or Codex. Your agent can run Tools within its spending limits, or ask for approval each time. Connect your agent
Connect your agent
Add one MCP URL and your agent can find and run this tool within its spending limits. Choose “Ask each time” if you want to approve every Call.
MCP URL
https://app.aecon.ai/mcpTerminalbash
In Claude Code, open /mcp, select agentic-economy, then choose Authenticate.
Track record
- Paid calls, last 30 days
- 12
- Buyers, last 30 days
- 3
- Last paid call
Reported by the x402 directory.