FastX402 JSON Canonicalize is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-23).
Converts a JSON string into its canonical (deterministic, normalized) form according to RFC 8785 or similar canonicalization rules, returning the canonical string and validity status.
200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.
Returns a JSON object with a 'valid' boolean indicating whether the input was parseable JSON, and a 'canonical' string containing the deterministically serialized, key-sorted, whitespace-normalized canonical form of the input JSON.
GEThttps://fastx402.tools/json-canonicalize?utm_source=zero.xyzChoose this endpoint when you need a deterministic, normalized JSON string — especially for cryptographic use cases like signing, hashing, or Merkle trees — and you do not want to implement RFC 8785 canonicalization yourself. It is preferable over generic JSON formatters when key ordering and whitespace determinism are required.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"valid": true,
"canonical": "{\"a\":[3,2,{\"y\":true,\"z\":null}],\"b\":1}"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"