Skip to content
Fourohtwo

Use when a PDF is too large to email, upload or attach

tools.miniframe.com.br/compress-pdf

Use when a PDF is too large to email, upload or attach — Ghostscript compression an agent sandbox cannot run on its own. Send it either as JSON {pdf_base64} or as the raw PDF body (Content-Type: application/pdf), up to 30 MB. Optional query param mode=light|balanced|max (default balanced). Returns JSON with original_size, compressed_size, reduction_percent, warnings and pdf_base64 (the compressed

BaseAnswering
POSThttps://tools.miniframe.com.br/compress-pdf

Uptime100% of 2 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://tools.miniframe.com.br/compress-pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"mode":"balanced","pdf_base64":"JVBERi0xLjQK..."}),
});
console.log(await res.json());

Example input

{
  "mode": "balanced",
  "pdf_base64": "JVBERi0xLjQK..."
}

More from MiniFrame ToolsProvider status