F

Fly · PDF Text

by Fly

GETBase

$0.01

per call · USD Coin on Base

Convert PDF to text for AI agents - pass any public PDF URL, get the full extracted plain text in one call. pdftotext / 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.

Endpoint

GET https://clink-lithium-vault.fly.dev/pdf/text

1

Calls / 30d

1

Unique payers / 30d

Aug 26

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://clink-lithium-vault.fly.dev/pdf/text", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://clink-lithium-vault.fly.dev/pdf/text?url=https%3A%2F%2Fbitcoin.org%2Fbitcoin.pdf" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chars": 21228,
  "likely_scanned": false,
  "pages": 9,
  "text": "Bitcoin: A Peer-to-Peer Electronic Cash System...",
  "truncated": false,
  "url": "https://bitcoin.org/bitcoin.pdf"
}

Payment details

Pay to0xb1ef5415e9d3695e16977b8be422ab7512f788c0
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 Fly & similar services