HTML & Markdown to PDF API
Generate a PDF from HTML or Markdown (HTML-to-PDF and Markdown-to-PDF renderer) with optional inline CSS in A4 or Letter size for $0.005 USDC via x402 on Base or Solana. Ideal for agent-generated invoices, briefs, and reports; returns base64 PDF bytes, page count, and SHA-256 locally while blocking all external network fetches—no API key, no subscription.
Part of api.delx.ai · 24 endpoints · See the whole service
The wallet the 402 directs payment to. Its full payment record is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Recent payments · which agents last used it
Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.
Accepts
The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.
Pay 0.005 USDC on Base to 0x9f8b…e73A2. The signed payment is good for 5 minutes.
- Paid to
- 0x9f8b…e73A2
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 5000 smallest units
Pay 0.005 USDC on Base to 0x9f8b…e73A2. The signed payment is good for 5 minutes.
- Paid to
- 0x9f8b…e73A2
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 5000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 28heAM…YsemG
- Token contract
- EPjFWd…TDt1v
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"app": "Delx Commerce",
"name": "USD Coin",
"version": "2",
"provider": "coinbase",
"erc8004_id": "14340",
"accept_label": "Coinbase CDP",
"provider_label": "Coinbase CDP",
"facilitator_url": "https://api.cdp.coinbase.com/platform/v2/x402"
},
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"app": "Delx Commerce",
"name": "USD Coin",
"version": "2",
"provider": "payai",
"erc8004_id": "14340",
"accept_label": "PayAI Base",
"provider_label": "PayAI Base",
"facilitator_url": "https://facilitator.payai.network"
},
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"app": "Delx Commerce",
"name": "USD Coin",
"version": "2",
"feePayer": "CjNFTjvBhbJJd2B5ePPMHRLx1ELZpa8dwQgGL727eKww",
"provider": "payai",
"erc8004_id": "14340",
"accept_label": "PayAI Solana",
"provider_label": "PayAI Solana",
"facilitator_url": "https://facilitator.payai.network"
},
"payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
"amount": "5000",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"markdown": "# Invoice",
"page_size": "Letter"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"result": {
"bytes": 346,
"schema": "delx/document-pdf/v1",
"mime_type": "application/pdf",
"page_size": "Letter",
"page_count": 1,
"pdf_base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9Db3VudCAxIC9LaWRzIFszIDAgUl0gPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8ID4+ID4+CmVuZG9iagp4cmVmCjAgNAowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCnRyYWlsZXIKPDwgL1Jvb3QgMSAwIFIgL1NpemUgNCA+PgpzdGFydHhyZWYKMjAzCiUlRU9GCg==",
"pdf_sha256": "c6b1ac24eb5bb103894e9bfa5f83d70b06212fde3d73683719a3c1cca7e0210a",
"blocked_resource_requests": 0
},
"tool_name": "render_document_pdf"
}
}
},
"schema": {
"type": "object",
"required": [
"input",
"output"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"oneOf": [
{
"required": [
"html"
]
},
{
"required": [
"markdown"
]
}
],
"required": [],
"properties": {
"css": {
"type": "string",
"maxLength": 24000
},
"html": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"markdown": {
"type": "string",
"maxLength": 100000,
"minLength": 1
},
"page_size": {
"enum": [
"A4",
"Letter"
]
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type",
"example"
],
"properties": {
"type": {
"type": "string",
"const": "json"
},
"example": {
"type": "object"
}
}
}
}
},
"category": "utilities"
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"required"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"maxLength": 128,
"minLength": 16
},
"required": {
"type": "boolean"
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-11-26 09:13Z
- Last indexed by Roundhouse
- 2026-12-03 20:00Z
- Last enriched (probe, favicon, geo)
- 2026-11-27 10:16Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 16 snapshots so far. Verified volume counts only settlements relayed by a known x402 facilitator.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service HTML & Markdown to PDF API and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=HTML%20%26%20Markdown%20to%20PDF%20API' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.delx.ai/api/v1/x402/render-document-pdf, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.