# AgentResolver JSON Normalize

> AgentResolver JSON Normalize is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Normalizes a JSON string value and returns the canonical form along with its SHA-256 hash and byte size

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/json-normalize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-json-normalize-23d0fbd9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H1WhwLiXjIUkIpUm8Ku47

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentresolver-json-normalize-23d0fbd9 -d '<json body>'
```

Example prompt: Can you normalize this JSON string for me and give me its SHA-256 hash and byte size? The value is: '{"name":"Alice","age":30,"city":"New York"}'

## When to prefer this

Use this endpoint when you need a deterministic, canonical representation of a JSON string — especially for deduplication, integrity verification, or content-addressable storage. It is well-suited when you need both the normalized form and a cryptographic hash in a single call, avoiding the need to run separate hashing and formatting steps.

## Known failure modes

- Invalid or malformed JSON input may return an error or unexpected normalization
- Empty string input may fail validation since 'value' is required
- Very large JSON strings may time out or hit payload size limits
- Non-string input for the 'value' field will fail schema validation

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns an object with three fields: 'normalized' (the canonical string form of the input JSON), 'sha256' (a 64-character lowercase hex SHA-256 hash of the normalized value), and 'bytes' (an integer representing the byte length of the normalized string).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {}
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentresolver-json-normalize-23d0fbd9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentresolver.vercel.app](https://www.zero.xyz/host/agentresolver.vercel.app/llms.txt)
