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://api.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://api.jarvisclaw.ai/v1/marketplace/api/convert-pdf \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-payload>' \
-d '{}'
Open in the marketplace
Docs: Getting started · x402 payments · x402 discovery · All APIs