Converts PDFs to Markdown, HTML, JSON, or structured text with the Datalab Marker AI pipeline, preserving headings, tables, equations, and multi-column flow.
Converts PDFs to Markdown, HTML, JSON, or structured text with the Datalab Marker AI pipeline, preserving headings, tables, equations, and multi-column flow. Note: this endpoint outputs text-format conversions only. For PDF to JPG/PNG use pdf-to-jpg, for PDF merge use pdf-merge, for PDF split use pdf-split, for PDF compression use compress-pdf, and for PDF to Word route through this then a markdown to docx step. 30 pages max. Use it as a general PDF converter.
| Method | Endpoint | Price | Description |
|---|---|---|---|
POST | /v1/marketplace/api/convert-pdf | $0.002875 | Invoke Convert Pdf (Document) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i -X POST https://jarvisclaw.ai/v1/marketplace/api/convert-pdf \
-H 'Content-Type: application/json' \
-d '{}'
# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://jarvisclaw.ai/v1/marketplace/api/convert-pdf \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-payload>' \
-d '{}'
Taken from the request example this API publishes.
| Name | In | Type | Example |
|---|---|---|---|
output_format | body | string | "markdown" |
pdf_url | body | string | "https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minim… |
{
"markdown": "# Report\n\n## Section 1\n\nBody...",
"page_count": 12,
"source_url": "https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf"
}
$0.002875 USDC per call, paid per call over x402. There is no subscription, minimum or monthly fee.
No. Call the endpoint, read the 402 Payment Required quote, and repeat the request with a signed USDC payment header. An account API key also works if you prefer prepaid billing.
USDC on Base or on Solana. The 402 quote lists the accepted networks and the exact amount; the JarvisClaw SDKs sign and retry for you.
Send POST to the endpoint above from any HTTP client, or connect the JarvisClaw MCP server and let the agent find and call it with the search_apis and get_api_detail tools.
Docs: Getting started · x402 payments · x402 discovery · All APIs