USEFUL APIS FOR AI AGENTS

Print

Finished PDF reports from structured content.

Turn headings, paragraphs, lists and tables into a paginated, styled A4 or Letter PDF with page numbers. No remote assets or arbitrary scripts.

0.05 USDCBase mainnetx402 v2

Make this part of your workflow.

One fixed example is free. Custom work uses a clear input contract and releases the result after payment settles.

One copyable request.

POST /v1/documents/render

{
  "title": "Weekly operations report",
  "subtitle": "Week of October 5, 2026",
  "author": "Example Operations",
  "blocks": [
    {
      "type": "heading",
      "text": "Results"
    },
    {
      "type": "paragraph",
      "text": "Support closed 124 tickets this week. Median response time improved to 18 minutes."
    },
    {
      "type": "table",
      "headers": [
        "Team",
        "Tickets",
        "Median response"
      ],
      "rows": [
        [
          "Support",
          124,
          "18 minutes"
        ],
        [
          "Platform",
          36,
          "42 minutes"
        ]
      ]
    },
    {
      "type": "bullets",
      "items": [
        "Ship the revised onboarding flow.",
        "Review the two outstanding infrastructure incidents."
      ]
    }
  ],
  "footer": "Example report · prepared for review"
}

Send the JSON to the operation above. An x402-capable client receives the payment challenge, authorizes exactly 0.05 USDC, and retries with PAYMENT-SIGNATURE.

Keep the result.

PDF + SHA-256

Files arrive in a JSON artifact envelope with base64 bytes, filename, MIME type, size and SHA-256. Decode the bytes to save the file. Diagnostic results arrive as structured JSON.

The same proof and normalized input retrieves the exact paid result for 30 minutes across restarts. A proof cannot unlock another request. Never create another authorization automatically after ambiguous delivery.