Runs OCR on scanned PDFs and image-based documents, returning clean Markdown or plain text.
Runs OCR on scanned PDFs and image-based documents, returning clean Markdown or plain text. The Datalab Marker engine preserves layout, tables, and math. 30 pages max. Use it as an OCR API, optical character recognition service, scanned document extractor, or image-PDF to text and scanned PDF OCR tool.
| Method | Endpoint | Price | Description |
|---|---|---|---|
POST | /v1/marketplace/api/ocr | $0.002875 | Invoke Ocr (Ocr) 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/ocr \
-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/ocr \
-H 'Content-Type: application/json' \
-H 'X-PAYMENT: <signed-payload>' \
-d '{}'
Open in the marketplace
Docs: Getting started · x402 payments · x402 discovery · All APIs