{
  "x402Version": 2,
  "id": 12957,
  "slug": "12957",
  "resource": "https://api.agishub.com/paid/pdf",
  "description": "Render a public URL or a raw HTML string into a PDF document, returned base64-encoded. Backed by a headless browser. Use for invoices, reports, receipts and any HTML-to-PDF need.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x23Fc725e8EAa1c58900C6507Ba89be99a6DFc75d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "url": "https://example.com"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "result": "Render a public URL or a raw HTML string into a PDF document, returned base64-encoded. Backed by a headless browser. Use"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "format": {
                    "description": "Paper size (default A4).",
                    "enum": [
                      "A4",
                      "Letter",
                      "Legal",
                      "A3",
                      "A5",
                      "Tabloid"
                    ],
                    "type": "string"
                  },
                  "html": {
                    "description": "Raw HTML string to render to PDF. Provide this OR url.",
                    "type": "string"
                  },
                  "landscape": {
                    "description": "Landscape orientation (default false = portrait).",
                    "type": "boolean"
                  },
                  "url": {
                    "description": "Public http/https URL to render to PDF. Provide this OR html.",
                    "format": "uri",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "enum": [
                  "http"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "enum": [
                  "json"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.agishub.com",
  "lastUpdated": "2026-09-08T18:02:18.068Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-08T18:02:16.937Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agishub.com",
    "manifest_name": "api.agishub.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}