Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/page/pdf-text

Download a PDF from a public URL (max 20 MB, 300 pages per call) and return its text layer as clean UTF-8: full text plus per-page text, page count, title, author, creation date and word count. Choose pages with 'pages' (e.g. 1-3,7) and cap output with max_chars (default 100,000) to fit your context window. Use for research papers, reports, invoices, contracts, manuals, government filings. Scanned

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/page/pdf-text

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/page/pdf-text?max_chars=1000&pages=1&url=https%3A%2F%2Fraw.githubusercontent.com%2Fmozilla%2Fpdf.js%2Fmaster%2Ftest%2Fpdfs%2Ftracemonkey.pdf");
console.log(await res.json());

Example input

{
  "max_chars": "1000",
  "pages": "1",
  "url": "https://raw.githubusercontent.com/mozilla/pdf.js/master/test/pdfs/tracemonkey.pdf"
}