Back to directory

HumanMirror Clean JSON — Repair Malformed Agent JSON

https://humanmirror.fr/api/x402/safe-preflight/

Run this service? Claim this listing to edit it.

● healthy developer-tools

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.

Category
developer-tools
Chains
base
Price
$0.0100 USDC / call

Quality grade

How grading works
B 58.9 / 100
Availability 20.0 / 20
Endpoint responded (HTTP 402)
Payability 15.0 / 15
  • ✓ Answers a real HTTP 402 challenge
  • ✓ Publishes a /.well-known/x402 descriptor
  • ✓ Payment address on record
  • ✓ Settlement network declared
  • ✓ Price declared
Demand 4.9 / 35
16 distinct payers, 38 EIP-3009 USDC payments in the last 30 days; the wallet is shared by 11 listings, so each is credited 1/11
Performance 4.9 / 10
Last probe answered in 1115 ms (full marks at 200 ms or less)
Readiness 14.1 / 15
Agent readiness 94/100
Owner verified 0.0 / 5
Nobody has claimed this listing yet
Endpoint last checked 11 h ago. On-chain activity last read 5 h ago. Availability and on-chain demand are both re-probed daily; the grade updates automatically on the next pass. This grade sets search order and leaderboards; the readiness score below is shown for reference only.

x402 readiness

A · 94/100

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.
Applicable criteria total 80 points, scaled to 100.
Responsiveness: Responsive (1115 ms; bands ≤2.5 s, ≤5 s, ≤8 s, slower; penalty only).
Payment evidence: x402_challenge — We sent a request and got a live HTTP 402 challenge. Also: x402_manifest. Qualifies the payment claim; adds no points.
Measured 2026-12-01.
Eight criteria, the same as the A2A readiness score, read from our daily probe of the paid endpoint, its payment requirements and 30-day probe history. Signed descriptor and security declaration are n/a for x402 (payment is the access control), as is an x402 version we have not observed; the remaining points are scaled to 100. Grades: A>=90, B>=75, C>=60, D>=40, F<40. It also feeds 15 points of the x402 quality grade.

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.

How many agent tools actually work · All statistics

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.

POST https://humanmirror.fr/api/machine/resolve/

Resolve one machine capability request through the lowest-cost HumanMirror x402 route.

POST 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"}

POST https://humanmirror.fr/api/v1/m2m/payload-normalizer/

Normalize one machine payload into a stable interoperable structure before downstream execution.

POST https://humanmirror.fr/api/v1/consensus/verify/

Verify one consensus claim deterministically before an autonomous agent relies on the result.

POST https://humanmirror.fr/api/v1/sanitize/shield/

Sanitize one machine payload before it is handed to another tool, agent, API, or execution step.

POST 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"}}

POST 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"}}

POST https://humanmirror.fr/api/x402/outcome/

Verify one machine result or delivered outcome and return deterministic success evidence before the agent continues.

POST https://humanmirror.fr/api/x402/execution-receipt/

Issue deterministic post-action execution evidence after an autonomous agent completes a consequential external action.

POST 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 · x402-fetch / x402-axios will auto-handle 402
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)
Declared by the seller · x402 Bazaar extension in its 402 response
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.

/.well-known/x402.json
https://humanmirror.fr/.well-known/x402