Skip to content
Fourohtwo

PDF metadata and page count

mpp-docs.fmf-x402.workers.dev/mpp/pdf/info

PDF metadata and page count — PDF facts in one call: page count, title, author, subject, keywords, creator, producer, dates, page sizes, encryption and form-field flags, and the bookmark outline (title, level, page). Up to 40 MB. Price $0.001 per call.

BaseAnswering
GEThttps://mpp-docs.fmf-x402.workers.dev/mpp/pdf/info

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

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://mpp-docs.fmf-x402.workers.dev/mpp/pdf/info?url=https%3A%2F%2Fraw.githubusercontent.com%2Fpy-pdf%2Fsample-files%2Fmain%2F001-trivial%2Fminimal-document.pdf");
console.log(await res.json());

Example input

{
  "url": "https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf"
}

More from FMF Tools FMF Tools Doc Tools