Api Endpoint

x402.freeq.one

Convert any document to Markdown with automatic format detection. One endpoint for pdf, docx, pptx, xlsx, csv, epub, html and plain text — provide a URL or base64 bytes and the type is detected from the file contents. Spreadsheets return both a Markdown table and a JSON array of rows.

Open interactive test console

Offering

Provider
x402.freeq.one
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.freeq.one/tools/document_to_markdown
MIME type
Not provided
First seen
2026-10-16T02:21:34.032Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x90b0dC893406d6eA63bb077ED59F5e8340f98d84"
  }
]

Observed health

Status
Healthy
Latest latency
102 ms
Average latency
301 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "mcp"
    },
    "tool": {
      "type": "string",
      "description": "Tool name to call"
    },
    "inputSchema": {
      "type": "object",
      "description": "Arguments object matching the tool's input schema (see GET /tools)"
    },
    "body": {
      "type": "object",
      "description": "Convert any document to Markdown with automatic format detection. One endpoint for pdf, docx, pptx, xlsx, csv, epub, html and plain text — provide a URL or base64 bytes and the type is detected from the file contents. Spreadsheets return both a Markdown table and a JSON array of rows.",
      "properties": {
        "url": {
          "type": "string",
          "description": "Direct URL to any supported document (pdf, docx, pptx, xlsx, csv, epub, html, text)",
          "example": "https://x402.freeq.one/samples/report.pdf"
        },
        "file_b64": {
          "type": "string",
          "description": "Base64-encoded document bytes (alternative to url)",
          "maxLength": 28000000
        },
        "max_length": {
          "type": "integer",
          "description": "Truncate output to N characters",
          "example": 100000
        }
      }
    }
  }
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "json"
    },
    "example": {
      "type": "object",
      "properties": {
        "result": {
          "description": "Tool output (JSON)"
        }
      }
    }
  }
}