77trust / 100
Pdf Ocr
by Relaystation PDF OCR in Documents & files
x402 APIPassing, checked 3 h ago
$0.003/page. Extract text from a scanned PDF (Tesseract) — make paper searchable data. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny
POST https://api.relaystation.ai/v1/pdf/ocr
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 409 ms typical, 556 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.relaystation.ai/v1/pdf/ocr' \
-H 'content-type: application/json' \
--data-raw '{"file":{},"lang":"eng","pages":"string"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.relaystation.ai%2Fv1%2Fpdf%2Focr
const res = await pay("https://api.relaystation.ai/v1/pdf/ocr", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"file\":{},\"lang\":\"eng\",\"pages\":\"string\"}",
});
console.log(await res.json());Example input
{
"file": {},
"lang": "eng",
"pages": "string"
}Example output
{
"ok": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 433 ms | $0.01 |
| 7 h ago | Passed | 402 | 400 ms | $0.01 |
| 10 h ago | Passed | 402 | 528 ms | $0.01 |
| 14 h ago | Passed | 402 | 556 ms | $0.01 |
| 18 h ago | Passed | 402 | 457 ms | $0.01 |
| 22 h ago | Passed | 402 | 396 ms | $0.01 |
| 25 h ago | Passed | 402 | 517 ms | $0.01 |
| 29 h ago | Passed | 402 | 590 ms | $0.01 |
| 33 h ago | Passed | 402 | 458 ms | $0.01 |
| 36 h ago | Passed | 402 | 396 ms | $0.01 |
| 40 h ago | Passed | 402 | 377 ms | $0.01 |
| 43 h ago | Passed | 402 | 409 ms | $0.01 |
| 2 days ago | Passed | 402 | 392 ms | $0.01 |
| 2 days ago | Passed | 402 | 428 ms | $0.01 |
| 2 days ago | Passed | 402 | 404 ms | $0.01 |