HumanMirror Clean JSON — Repair Malformed Agent JSON
https://humanmirror.fr/api/x402/safe-preflight/Run this service? Claim this listing to edit it.
Repair JSONDecodeError and malformed model/tool output for an automated agent workflow. Explicit buyer-authorized x402 challenge; 0.010 USDC per call on Base. API is separate from Safe Preflight.
Paid verification
How it worksNo sponsored paid call yet.
Pay this endpoint once from your own wallet (Base USDC, up to $1.00) and we call it and record what came back. Your wallet pays the listed recipient directly; Agent Tools never holds funds. Sponsored checks prove delivery; they do not count as demand.
Quality grade
How grading works- ✓ Answers a real HTTP 402 challenge
- ✓ Publishes a /.well-known/x402 descriptor
- ✓ Payment address on record
- ✓ Settlement network declared
- ✓ Price declared
x402 readiness
Readiness is how fully this listing follows its protocol and how it behaved in our probes over 30 days. For x402 and A2A listings it contributes up to 15 of the 100 quality points; for MCP listings it is shown for reference only. Search order and leaderboards use the separate quality grade (here B, 58.9/100), which weighs availability, payability and on-chain demand. How the two differ
| Valid payment requirements | 10/10 | Payment requirements carry a payee, a mainnet network and a price. |
| Live 402 challenge | 25/25 | Paid endpoint answers with an HTTP 402 challenge (1115 ms). |
| x402 version | 10/10 | Speaks x402 v2. |
| Signed descriptor | n/a | No x402 standard defines a signed descriptor. |
| Uptime (30 days) | 15/15 | 23/23 probes succeeded over 30 days (100%). |
| Resource declaration | 10/10 | Declares 10 paid resource(s). |
| Verified identity | 5/10 | Publisher descriptor (/.well-known/x402 or OpenAPI) on record; claim this listing to verify domain control. |
| Security declaration | n/a | Payment is the access control for an x402 resource. |
What we measured
Over the last 30 days we probed this API 23 times on 18 days; it answered 23 (100%). Median response 956 ms, 95th percentile 1,236 ms.
On-chain, 16 distinct wallets paid its payment address 38 times in the last 30 days.
Among the 9,081 reachable x402 APIs in our snapshot of 2026-12-02 02:39 UTC, it is faster than 5% and higher on readiness than 90%.
From agent-tools.cloud's own probes, last checked 2026-12-01. How we measure
Compared with peers
Against 9,081 reachable x402 APIs in our daily snapshot (2026-12-02 02:39 UTC). Display only; it does not change search order.
- Readiness
- Higher than 90% of peers
- This listing 94 · peer median 83
- Latency
- Faster than 5% of peers
- This listing 1,115 ms · peer median 215 ms
Where it loses the most points, and how to win them back
- Verified identity −5
— Claim the listing and prove control of its domain.
Now: Publisher descriptor (/.well-known/x402 or OpenAPI) on record; claim this listing to verify domain control.
Paid endpoints
10 resource(s) advertised by this origin. Each price below is that resource's own x402 price; the headline price is the range across them.
https://humanmirror.fr/api/machine/resolve/
Resolve one machine capability request through the lowest-cost HumanMirror x402 route.
https://humanmirror.fr/api/x402/action-verdict/
Send one proposed autonomous-agent action and get a verified ALLOW / REVIEW / BLOCK verdict before execution.
Seller-declared example input: {"action": "publish the generated report to production", "max_risk": "medium"}
https://humanmirror.fr/api/v1/m2m/payload-normalizer/
Normalize one machine payload into a stable interoperable structure before downstream execution.
https://humanmirror.fr/api/v1/consensus/verify/
Verify one consensus claim deterministically before an autonomous agent relies on the result.
https://humanmirror.fr/api/v1/sanitize/shield/
Sanitize one machine payload before it is handed to another tool, agent, API, or execution step.
https://humanmirror.fr/api/x402/safe-preflight/
$0.0100 / call
Check an AI agent action before paying or executing a tool call. Safe Preflight is a buyer-authorized x402 pre-execution risk check to prevent unsafe tool calls, evaluate side effects and approval requirements. 0.010 USDC on Base; Review a payment, send, write, publish or other external side effect
Seller-declared example input: {"criteria": {"allow_confirmation": false, "max_risk": "medium"}, "input": {"command": "Send a payment or publish data with an external side effect"}}
https://humanmirror.fr/api/x402/clean-json/
$0.0100 / call
Fix invalid JSON, JSONDecodeError and malformed AI agent responses. Clean JSON normalizes machine and model-generated output for automation tools such as n8n and LangChain. Buyer-authorized 0.010 USDC x402 call on Base; validate the output independently.
Seller-declared example input: {"input": {"example": "replace with task input"}}
https://humanmirror.fr/api/x402/outcome/
Verify one machine result or delivered outcome and return deterministic success evidence before the agent continues.
https://humanmirror.fr/api/x402/execution-receipt/
Issue deterministic post-action execution evidence after an autonomous agent completes a consequential external action.
https://humanmirror.fr/api/x402/assurance-bundle/
Prepay one Safe Preflight now plus one Execution Receipt redemption within 24 hours for the same 0.010 USDC price; no second payment is automatic.
How to call
curl -sS -i -X POST https://humanmirror.fr/api/x402/safe-preflight/ -H 'Content-Type: application/json' --data '{"criteria":{"allow_confirmation":false,"max_risk":"medium"},"input":{"command":"Send a payment or publish data with an external side effect"}}' # expect HTTP 402 Payment Required (about 0.01 USDC/call)
- Method
- POST
- Body example (json)
{ "criteria": { "allow_confirmation": false, "max_risk": "medium" }, "input": { "command": "Send a payment or publish data with an external side effect" } }- Response example (json)
{ "ok": true, "product": "safe_preflight", "result": { "status": "verified_success" }, "x402": { "amount_usdc": "0.010", "asset": "USDC", "network": "eip155:8453", "version": 2 } }
Shown as the seller published it. Our availability check uses this example without payment and only reads the 402.