{
  "x402Version": 2,
  "id": 13440,
  "slug": "13440",
  "resource": "https://lotus-clarke-boxed-ceramic.trycloudflare.com/v1/pdf-to-md",
  "description": "Call when an agent needs text extracted from a public PDF URL (SSRF-safe) or pdf_base64 (8MB cap) as markdown. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/pdf-to-md first.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1D61FAA032d3f40D9C470D2bf3A3f53De0E55a38",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "url": "https://example.com/doc.pdf"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "billed": true,
            "final_url": "https://example.com/doc.pdf",
            "markdown": "# Hello PDF\n\nExtracted page text.",
            "ok": true,
            "pages": 1,
            "receipt_id": "rcpt_01EXAMPLE000000000000000",
            "title": "Hello PDF",
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "pdf_base64": {
                    "maxLength": 11184843,
                    "minLength": 1,
                    "type": "string"
                  },
                  "url": {
                    "maxLength": 2048,
                    "minLength": 8,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "billed": {
                    "type": "boolean"
                  },
                  "final_url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "markdown": {
                    "type": "string"
                  },
                  "ok": {
                    "const": true,
                    "type": "boolean"
                  },
                  "pages": {
                    "anyOf": [
                      {
                        "minimum": 0,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "receipt_id": {
                    "type": "string"
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "warnings": {
                    "default": [],
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "ok",
                  "receipt_id",
                  "billed",
                  "markdown"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "lotus-clarke-boxed-ceramic.trycloudflare.com",
  "lastUpdated": "2026-09-18T14:57:33.48Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T14:57:33.212Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "lotus-clarke-boxed-ceramic.trycloudflare.com",
    "manifest_name": "lotus-clarke-boxed-ceramic.trycloudflare.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"
  }
}