$0
$0.003/page. Extract text from a scanned PDF (Tesseract) — make paper searchable data. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny
10000 (raw units)
price
10
calls / 30d
2
unique payers
2026-09-18
updated
Provider
api.relaystation.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
"asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"file": {},
"lang": "eng",
"pages": "string"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"ok": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"file": {
"description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }.",
"type": "object"
},
"lang": {
"description": "OCR language tag (default \"eng\"). The live roster is the operator-tunable cputools.ocr.langs (deployed traineddata: eng, spa, fra, deu, ita, por, nld, pol, rus, chi_sim); an off-roster lang is a free 422 UNSUPPORTED_LANG naming the roster.",
"enum": [
"eng",
"spa",
"fra",
"deu",
"ita",
"por",
"nld",
"pol",
"rus",
"chi_sim"
],
"type": "string"
},
"pages": {
"description": "1-based pages/ranges, e.g. \"1-3,5\" (default all).",
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.relaystation.ai/v1/pdf/ocr" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.relaystation.ai/v1/pdf/ocr");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.relaystation.ai/v1/pdf/ocr")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4585.json, and this resource appears in /discovery/resources and /discovery/search.