81trust / 100
Pdf Text
by clink-lithium-vault.fly.dev in Documents & files
x402 APIPassing, checked 4 h ago
Convert PDF to text for AI agents - pass any public PDF URL, get the full extracted plain text in one call. pdftotext / convertpdftotext / pdf to text converter / extract text from PDF / read a PDF / parse PDF documents, papers, SEC filings, reports, invoices, manuals. Up to 25MB and 500k chars, with page count and a likely_scanned flag (text-based PDFs only, no OCR). No API key, no account. ?url=<public PDF url>. Free live sample: /pdf/example.
GET https://clink-lithium-vault.fly.dev/pdf/text
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 201 ms typical, 203 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://clink-lithium-vault.fly.dev/pdf/text?url=https%3A%2F%2Fbitcoin.org%2Fbitcoin.pdf"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%2Fclink-lithium-vault.fly.dev%2Fpdf%2Ftext
const res = await pay("https://clink-lithium-vault.fly.dev/pdf/text?url=https%3A%2F%2Fbitcoin.org%2Fbitcoin.pdf");
console.log(await res.json());Example input
{
"url": "https://bitcoin.org/bitcoin.pdf"
}Example output
{
"chars": 21228,
"likely_scanned": false,
"pages": 9,
"text": "Bitcoin: A Peer-to-Peer Electronic Cash System...",
"truncated": false,
"url": "https://bitcoin.org/bitcoin.pdf"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 201 ms | $0.01 |
| 7 h ago | Passed | 402 | 203 ms | $0.01 |
| 11 h ago | Passed | 402 | 394 ms | $0.01 |
| 16 h ago | Passed | 402 | 201 ms | $0.01 |