Skip to content
Fourohtwo

ShrinkWise

api.shrinkwise.io/v1/extract/document

ShrinkWise. Extracts commercial invoices and packing lists from PDF into structured JSON with line items, page references and review warnings. Local OCR and AI interpretation. Up to 10 pages; extraction drafts require review. Batches: 10 files/200 MB, paid per file. Price: 0.15 USDC per page. Minimum 0.30 USDC/file. Setup: https://api.shrinkwise.io/guide

BaseAnswering
POSThttps://api.shrinkwise.io/v1/extract/document

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/extract/document", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"documentType":"auto","job":"00000000-0000-4000-8000-000000000001","mode":"extract","sha256":"0000000000000000000000000000000000000000000000000000000000000000"}),
});
console.log(await res.json());

Example input

{
  "documentType": "auto",
  "job": "00000000-0000-4000-8000-000000000001",
  "mode": "extract",
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
}

More from ShrinkWise