Skip to content
Fourohtwo

Securely fetch and extract text from public PDF documents

api.extendivo.com/v1/safe-doc

Securely fetch and extract text from public PDF documents. Includes SSRF protection, redirect validation, document size limits, SHA-256 fingerprinting, page count and PDF metadata extraction. Returns structured JSON for autonomous AI agents. Maximum 2 MiB and 20 pages. OCR is not supported.

BaseUnchecked
POSThttps://api.extendivo.com/v1/safe-doc

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.extendivo.com/v1/safe-doc", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"}),
});
console.log(await res.json());

Example input

{
  "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}