# AmanChain Stablecoin Health Monitor

> AmanChain Stablecoin Health Monitor is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.093311/call, status down (last checked 2026-09-15).

Retrieves on-chain health metrics for stablecoins, including pool balances, peg status, and liquidity, executed deterministically against live blockchain consensus state.

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-stable-health
- Price: $0.093311/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-stablecoin-health-monitor-e2b84ef4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bN7tBFLiSs_khlUEUINxz

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 amanchain-stablecoin-health-monitor-e2b84ef4 -d '<json body>'
```

Example prompt: Can you check the current on-chain health of USDC — is it maintaining its peg, and what do the pool balances and liquidity look like right now?

## When to prefer this

Choose this endpoint when you need deterministic, real-time on-chain stablecoin health data (peg status, pool balances, liquidity) without requiring an API key or account — ideal for AI agents operating autonomously with micropayment (x402/USDC) billing, especially in DeFi monitoring, risk assessment, or treasury management workflows.

## Known failure modes

- Invalid or unrecognized stablecoin identifier returns an error or empty result
- Payment failure via x402/USDC halts the call before execution
- Node consensus lag may produce slightly stale data during high network load
- Malformed JSON request body returns a parsing error
- Unsupported stablecoin or pool not indexed by AmanChain returns no data

## How this service works

Stablecoin Health: node-operated on-chain service Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-stable-health","request":"<input>"}. No account, no API key.

## Output

Returns on-chain stablecoin health data including peg status, pool balances, liquidity depth, and related consensus-state metrics for the queried stablecoin, derived from live block data on the AmanChain node.

## 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",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-stable-health\""
      }
     }
    },
    "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-stablecoin-health-monitor-e2b84ef4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
