Render a URL or raw HTML string to PDF
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.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
898 msmedian answer time
$0.0045listed price per call
$0.0045price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agentsvc.io/api/v1/proxy/html-to-pdf
| Category | Everything else |
|---|---|
| Provider host | agentsvc.io |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.0045 | 902 ms |
| 2026-11-25 | valid payment request | 402 | $0.0045 | 923 ms |
| 2026-11-24 | valid payment request | 402 | $0.0045 | 913 ms |
| 2026-11-23 | valid payment request | 402 | $0.0045 | 894 ms |
| 2026-11-22 | valid payment request | 402 | $0.0045 | 898 ms |
| 2026-11-21 | valid payment request | 402 | $0.0045 | 890 ms |
| 2026-11-20 | valid payment request | 402 | $0.0045 | 850 ms |
| 2026-11-19 | valid payment request | 402 | $0.0045 | 881 ms |
| 2026-11-18 | valid payment request | 402 | $0.0045 | 854 ms |
| 2026-11-17 | valid payment request | 402 | $0.0045 | 862 ms |
| 2026-11-16 | valid payment request | 402 | $0.0045 | 859 ms |
| 2026-11-15 | valid payment request | 402 | $0.0045 | 856 ms |
| 2026-11-14 | valid payment request | 402 | $0.0045 | 871 ms |
| 2026-11-13 | valid payment request | 402 | $0.0045 | 854 ms |
| 2026-11-12 | valid payment request | 402 | $0.0045 | 860 ms |
| 2026-11-11 | valid payment request | 402 | $0.0045 | 969 ms |
| 2026-11-10 | valid payment request | 402 | $0.0045 | 980 ms |
| 2026-11-09 | valid payment request | 402 | $0.0045 | 880 ms |
| 2026-11-08 | valid payment request | 402 | $0.0045 | 881 ms |
| 2026-11-07 | valid payment request | 402 | $0.0045 | 873 ms |
| 2026-11-06 | valid payment request | 402 | $0.0045 | 868 ms |
| 2026-11-05 | valid payment request | 402 | $0.0045 | 877 ms |
| 2026-11-04 | valid payment request | 402 | $0.0045 | 970 ms |
| 2026-11-03 | valid payment request | 402 | $0.0045 | 887 ms |
| 2026-11-02 | valid payment request | 402 | $0.0045 | 942 ms |
| 2026-11-01 | valid payment request | 402 | $0.0045 | 1017 ms |
| 2026-10-31 | valid payment request | 402 | $0.0045 | 1010 ms |
| 2026-10-29 | valid payment request | 402 | $0.0045 | 1031 ms |
Example input (from the provider)
{
"body": {
"html": "<h1>Invoice #123</h1><p>Total: $42.00</p>"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {},
"required": []
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"file_size_bytes": {
"description": "Size of the PDF in bytes",
"type": "integer"
},
"generated_at": {
"description": "ISO 8601 timestamp of generation",
"format": "date-time",
"type": "string"
},
"page_count": {
"description": "Number of pages in the generated PDF",
"type": "integer"
},
"pdf_base64": {
"description": "Base64-encoded PDF bytes (decode to get raw PDF file)",
"type": "string"
}
},
"required": [
"pdf_base64",
"page_count",
"file_size_bytes",
"generated_at"
],
"type": "object"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"data"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}