Skip to content
Fourohtwo

ShrinkWise

api.shrinkwise.io/v1/split/pdf

ShrinkWise. Splits one PDF (100 MB, 10,000 pages) by page ranges (e.g. 1-3,5,8-) or every N pages into a ZIP of up to 500 PDFs, or extracts/reorders the selected ranges into one PDF. Ranges are checked against the page count before payment. Pages are copied with qpdf, not re-rendered. Bookmarks, attachments and document metadata are not kept. Batches: 10 files/200 MB, paid per file. Price: 0.01 US

BaseAnswering
POSThttps://api.shrinkwise.io/v1/split/pdf

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://api.shrinkwise.io/v1/split/pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"job":"00000000-0000-4000-8000-000000000001","mode":"split","output":"zip","ranges":"1-3,5,8-","sha256":"0000000000000000000000000000000000000000000000000000000000000000"}),
});
console.log(await res.json());

Example input

{
  "job": "00000000-0000-4000-8000-000000000001",
  "mode": "split",
  "output": "zip",
  "ranges": "1-3,5,8-",
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
}

More from ShrinkWise