OCR a scanned PDF into clean text (Tesseract, English, machine-printed documents)
OCR a scanned PDF into clean text (Tesseract, English, machine-printed documents). Up to 25 pages per call. PDFs that turn out to have a text layer are extracted the fast way at the same price.
by workbot1.oddsys.org · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
OCR a scanned PDF into clean text (Tesseract, English, machine-printed documents). Up to 25 pages per call. PDFs that turn out to have a text layer are extracted the fast way at the same price.
Tags: ocr · pdf · scanned · extraction · document · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json schema
- Last paid call
- 2026-10-12
{
"maxPages": 10,
"pdfBase64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCAyMDAgODBdIC9Db250ZW50cyA0IDAgUiAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA1IDAgUiA+PiA+PiA+PgplbmRvYmoKNCAwIG9iago8PCAvTGVuZ3RoIDQwID4+CnN0cmVhbQpCVCAvRjEgMTIgVGYgMjAgNDAgVGQgKEhlbGxvIHg0MDIpIFRqIEVUCmVuZHN0cmVhbQplbmRvYmoKNSAwIG9iago8PCAvVHlwZSAvRm9udCAvU3VidHlwZSAvVHlwZTEgL0Jhc2VGb250IC9IZWx2ZXRpY2EgPj4KZW5kb2JqCnhyZWYKMCA2CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAwOSAwMDAwMCBuIAowMDAwMDAwMDU4IDAwMDAwIG4gCjAwMDAwMDAxMTUgMDAwMDAgbiAKMDAwMDAwMDI0MCAwMDAwMCBuIAowMDAwMDAwMzMwIDAwMDAwIG4gCnRyYWlsZXIKPDwgL1NpemUgNiAvUm9vdCAxIDAgUiA+PgpzdGFydHhyZWYKNDAwCiUlRU9GCg=="
}{
"markdown": "INVOICE\n\nAcme Supply Co.\n\nItem Qty Price\nWidgets 12 $48.00",
"meta": {
"estOutputTokens": 460,
"inputBytes": 412876,
"method": "ocr",
"outputChars": 1840,
"processedPages": 2,
"totalPages": 2,
"truncated": false
},
"pages": 2
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32270.jsonfor the price and payment options. - Pay. Call
GET https://workbot1.oddsys.org/ocr. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 8 calls · 4 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0x15459498e1191d8787c83177809bd54022fA18c4 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x15459498e1191d8787c83177809bd54022fA18c4",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"body": {
"markdown": "string",
"meta": {
"estOutputTokens": "number",
"inputBytes": "number",
"method": "string",
"outputChars": "number",
"processedPages": "number",
"totalPages": "number",
"truncated": "boolean"
},
"pages": "number"
},
"bodyType": "json",
"example": {
"markdown": "INVOICE\n\nAcme Supply Co.\n\nItem Qty Price\nWidgets 12 $48.00",
"meta": {
"estOutputTokens": 460,
"inputBytes": 412876,
"method": "ocr",
"outputChars": 1840,
"processedPages": 2,
"totalPages": 2,
"truncated": false
},
"pages": 2
}
}Example shape — generated from the schema, not a captured live response
{
"markdown": "INVOICE\n\nAcme Supply Co.\n\nItem Qty Price\nWidgets 12 $48.00",
"meta": {
"estOutputTokens": 460,
"inputBytes": 412876,
"method": "ocr",
"outputChars": 1840,
"processedPages": 2,
"totalPages": 2,
"truncated": false
},
"pages": 2
}Examples
curl "https://workbot1.oddsys.org/ocr"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://workbot1.oddsys.org/ocr");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://workbot1.oddsys.org/ocr")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- workbot1.oddsys.org
- Endpoint
- https://workbot1.oddsys.org/ocr
- Machine-readable
/resources/32270.json