# humanmirror.fr JSON Cleaner & Idempotency Verifier

> humanmirror.fr JSON Cleaner & Idempotency Verifier is a paid API for AI agents from humanmirror.fr, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Cleans and canonicalizes a JSON object, then independently verifies the output is stable and idempotent across repeated applications.

## Facts

- Endpoint: POST https://humanmirror.fr/api/x402/clean-json/
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/humanmirror-fr-json-cleaner-idempotency-verifier-1a2c3907
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sBai634if4fp95i433jiu

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 humanmirror-fr-json-cleaner-idempotency-verifier-1a2c3907 -d '<json body>'
```

Example prompt: Can you clean and canonicalize this JSON object for me and confirm the result is stable no matter how many times you apply the process: {"name":" Alice ","age":30,"tags":["b","a"]}?

## When to prefer this

Choose this endpoint when you need to not only clean and normalize a JSON object but also receive an independent idempotency guarantee — confirming the cleaning is deterministic and stable. Prefer it over generic JSON formatters when downstream systems require provably consistent, canonical JSON, or when building ETL pipelines, data quality checks, or audit trails where repeatability must be verified.

## Known failure modes

- Input is not a valid JSON-serializable object — returns validation error
- Acceptance criteria provided cannot be satisfied by the cleaned output — returns criteria mismatch error
- Input schema violations (missing required fields like 'input') — returns 400 bad request
- Service unavailability or network timeout — returns 5xx error
- Payment not processed — returns 402 payment required

## How this service works

Clean and canonicalize JSON, then independently verify the output is stable and idempotent.

## Output

A cleaned and canonicalized version of the input JSON object, structured to be stable and idempotent. The response also includes an independent verification confirming that re-applying the cleaning process to the output produces the same result, validating deterministic behavior.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "description": "JSON-serializable input for this deterministic outcome."
      },
      "options": {
       "type": "object",
       "description": "Optional tool-specific options."
      },
      "criteria": {
       "type": "object",
       "description": "Optional deterministic acceptance criteria."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/humanmirror-fr-json-cleaner-idempotency-verifier-1a2c3907/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from humanmirror.fr](https://www.zero.xyz/host/humanmirror.fr/llms.txt)
