R

Relaystation PDF OCR · PDF OCR

by Relaystation PDF OCR

POSTBase

$0.01

per call · USD Coin on Base

$0.003/page. Extract text from a scanned PDF (Tesseract) — make paper searchable data. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

Endpoint

POST https://api.relaystation.ai/v1/pdf/ocr

9

Calls / 30d

1

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.relaystation.ai/v1/pdf/ocr", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "file": {},
    "lang": "eng",
    "pages": "string"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.relaystation.ai/v1/pdf/ocr" \
  -H "Content-Type: application/json" \
  -d '{"file":{},"lang":"eng","pages":"string"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "ok": true
}

Payment details

Pay to0x5f7254f252ef9b9f92b6b4f2cf91205ed7a96c7a
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Relaystation PDF OCR & similar services