Node4All md2pdf — Markdown → PDF (md2pdf) conversion for AI agents and document automation
Node4All md2pdf — Markdown → PDF (md2pdf) conversion for AI agents and document automation workflows. Accepts UTF-8 markdown either as a multipart "file" upload (.md, ≤10MB) or as a JSON body { "markdown": "..." }, and returns application/pdf. Operator: Node4All (https://node4all.com). Currency: USDC on Base.
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-13
updated
Provider
api.node4all.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xd275612Bf0BB35638432c4D95eAA8D5d22346Ca6",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "POST",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"body_kind": "binary",
"content_type": "application/pdf",
"description": "Streamed PDF binary. Use a binary-aware HTTP client to capture the response body.",
"endpoint": "md2pdf",
"filename_hint": "output.pdf",
"protocol": "x402-v2",
"request_body_options": [
"multipart/form-data file (.md, ≤10MB)",
"application/json {markdown}"
],
"service": "Node4All",
"typical_size_bytes": 3500
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"POST"
],
"type": "string"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.node4all.com/v1/md2pdf" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.node4all.com/v1/md2pdf");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.node4all.com/v1/md2pdf")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4986.json, and this resource appears in /discovery/resources and /discovery/search.