# 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.

Verified by [Verified x402](https://verifiedx402.com).

- URL: https://agentsvc.io/api/v1/proxy/html-to-pdf
- Category: other
- Network: eip155:8453
- Advertised price: 0.0045
- Last checked: 2026-11-30T03:40:51.590Z
- Score: 90.9

This listing passed a recent check: the endpoint is live and the advertised price and terms match. Check before paying, then pay the API yourself.

- HTML: https://verifiedx402.com/v/afe59cf37e209321c4ba759708892058
- Badge: https://verifiedx402.com/badge.svg?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fhtml-to-pdf
- Independent check: [vet402](https://vet402.com/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fhtml-to-pdf)

```json
{
  "checkedAt": null,
  "httpStatus": null,
  "latencyMs": null,
  "priceMatches": null,
  "payToMatches": null
}
```
