W

Workers · Normalize

by Workers

POSTBase

$0.03

per call · USD Coin on Base

Normalize a receipt, invoice, or order confirmation into a canonical structured purchase record.

Endpoint

POST https://receipt-normalizer.pdfextractapi.workers.dev/normalize

1

Calls / 30d

1

Unique payers / 30d

Aug 26

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://receipt-normalizer.pdfextractapi.workers.dev/normalize", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "file": "receipt.pdf"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://receipt-normalizer.pdfextractapi.workers.dev/normalize" \
  -H "Content-Type: application/json" \
  -d '{"file":"receipt.pdf"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "currency": "GBP",
  "line_items": [
    {
      "description": "Widget A",
      "quantity": 10,
      "total_price": 50,
      "unit_price": 5
    }
  ],
  "merchant": {
    "name": "Acme Supplies Ltd",
    "url": null
  },
  "order_id": "INV-2041",
  "payment_method": null,
  "purchase_date": "2026-08-01",
  "shipping": 8,
  "subtotal": 100,
  "tax": 0,
  "total": 108
}

Payment details

Pay to0xa0ac44becc6302298f01ed255b175ca1060c189e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Workers & similar services