Catalog
AIPOSTlive

PDF to Markdown

Parse a PDF, image, or office document into clean Markdown chunks with layout and tables preserved (OCR included) — ready for RAG and embeddings.

$0.05
per call
Success
p50 latency
p95 latency
Calls (30d)
0

Provider contract

Call path
/routes/sponge-reducto/ai/pdf-to-markdown
Method
POST
Selected provider
sponge-reductodefault
Provider price
$0.05
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl -X POST '/routes/sponge-reducto/ai/pdf-to-markdown' \
  -H 'content-type: application/json' \
  -d '{"input":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}'
CLI
h402 call 'ai/pdf-to-markdown' --provider 'sponge-reducto' --method POST --json '{"input":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}'

Parameters & live test

pays real USDC

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

inputstringrequired

Public URL of the document (PDF, image, or office file) to parse.

POST/routes/sponge-reducto/ai/pdf-to-markdown
Request body
{
  "input": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}

ResponseExample response
{
  "data": {
    "response_type": "parse",
    "job_id": "0b9d4e15-1104-4a7c-85e3-d77619ee208e",
    "duration": 1.3163902759552002,
    "pdf_url": null,
    "studio_link": "https://studio.reducto.ai/job/0b9d4e15-1104-4a7c-85e3-d77619ee208e",
    "usage": {
      "num_pages": 1,
      "credits": 1,
      "credit_breakdown": {
        "page": 1
      },
      "page_billing_breakdown": {
        "1": [
          "page"
        ]
      },
      "non_empty_cell_count": null
    },
    "result": {
      "type": "full",
      "chunks": [
        {
          "content": "# Dummy PDF file",
          "embed": "# Dummy PDF file",
          "enriched": null,
          "enrichment_success": false,
          "blocks": [
            {
              "type": "Title",
              "bbox": {
                "left": 0.06270434869568105,
                "top": 0.07687399734469567,
                "width": 0.20823895153004623,
                "height": 0.024947681727214403,
                "page": 1,
                "original_page": 1
              },
              "content": "Dummy PDF file",
              "image_url": null,
              "chart_data": null,
              "confidence": "high",
              "granular_confidence": {
                "extract_confidence": null,
                "parse_confidence": 0.8663502216339112
              },
              "extra": null
            }
          ]
        }
      ],
      "ocr": null,
      "custom": null
    },
    "parse_mode": null
  },
  "h402": {
    "routeId": "ai/pdf-to-markdown",
    "provider": "sponge-reducto",
    "selectedCandidateId": "ai/pdf-to-markdown/sponge-reducto",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

sponge-reducto
x402
Success
p50
Calls
$0.05
Last successful call: Never· Aggregated by h402 — not the source provider