Skip to content
Fourohtwo

Batch canonicalize up to 1000 JSON payloads in one call

canonicalhash-production.up.railway.app/v1/canonicalize/batch

Batch canonicalize up to 1000 JSON payloads in one call — one signature, one payment, one attestation. Same RFC 8785 canonicalization as /v1/canonicalize. Use when an agent needs to fingerprint a dataset, dedup a batch of records, or hash many inputs in a single round-trip. $0.01 flat per call (about $0.00001 per item). Free verification at POST /v1/verify.

BaseDown
POSThttps://canonicalhash-production.up.railway.app/v1/canonicalize/batch

Uptime0.0% 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://canonicalhash-production.up.railway.app/v1/canonicalize/batch", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"payloads":[{"note":"example","amount":1.5,"user_id":42},{"note":"second","amount":2,"user_id":43}],"algorithm":"sha256"}),
});
console.log(await res.json());

Example input

{
  "payloads": [
    {
      "note": "example",
      "amount": 1.5,
      "user_id": 42
    },
    {
      "note": "second",
      "amount": 2,
      "user_id": 43
    }
  ],
  "algorithm": "sha256"
}

More from canonicalhash