Skip to content
Fourohtwo

PDF metadata from a URL

intel.rallylive.ca/dev/pdf-meta

PDF metadata from a URL: page count (from page objects), PDF version, title, author, subject, creator/producer, creation and modification dates from the Info dictionary or XMP, encryption flag, and byte size. Reads the first 2 MB, so counts for very large PDFs may be partial (flagged). $0.01 per document.

BaseAnswering
POSThttps://intel.rallylive.ca/dev/pdf-meta

Uptime100% of 4 checks 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://intel.rallylive.ca/dev/pdf-meta", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://www.rfc-editor.org/rfc/rfc9110.pdf"}),
});
console.log(await res.json());

Example input

{
  "url": "https://www.rfc-editor.org/rfc/rfc9110.pdf"
}