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.
POST
https://canonicalhash-production.up.railway.app/v1/canonicalize/batchUptime0.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
- canonicalhash-production.up.railway.app/v1/canonicalizeJSON canonicalization — canonicalize structured data with RFC 8785 JCS; return canonical JSON text, UTF-8 byte length, and SHA-256 hash for integrity checks, signature preparation, and deduplication. Includes an EIP-712 signed attestation. Use when an agent needs an idempotency key, cache key, dedup hash, or verifiable commitment. $0.002 per call. Free verification at POST /v1/verify.0.002
- canonicalhash-production.up.railway.app/v1/receiptVerifiable action receipt for AI agents. Submit any JSON action object and get back an EIP-712 signed receipt proving the action occurred at a specific time. Tamper-evident, non-repudiable by the service, and verifiable by anyone at POST /v1/verify. Use when an agent needs an audit trail, compliance record, or provenance proof. $0.001 per receipt.0.001
- canonicalhash-production.up.railway.app/v1/structure/paidExtract structured JSON from messy text. Deterministic Tier 1 (regex, exact) handles labeled inputs in under 50ms; Needle 3 model fallback handles free-form text. Use when an agent needs to turn emails, logs, tickets, or notes into fields it can act on. $0.005 per call. No charge on extraction failure. Free verification at POST /v1/verify.0.005
