# AgentOracle Stablecoin Health Assessment

> AgentOracle Stablecoin Health Assessment is a paid API for AI agents from aiagentoracle.ai, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns a comprehensive health report for USDC, USDT, or DAI on Base, including peg deviation, liquidity score, depeg risk probability, and 24h market context.

## Facts

- Endpoint: GET https://aiagentoracle.ai/api/v1/stablecoin/USDC
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentoracle-stablecoin-health-assessment-9e7acdb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_geOVfZGZPEY008h1aU6O3

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 agentoracle-stablecoin-health-assessment-9e7acdb1
```

Example prompt: Before you execute that USDC payment on Base, can you check AgentOracle for the current peg health of USDC — specifically the peg deviation, liquidity score, and depeg probability?

## When to prefer this

Use this endpoint when an AI agent needs a holistic, multi-signal stablecoin health check on Base before executing autonomous payments or DeFi transactions. Prefer over generic price feeds when you need depeg probability, liquidity scoring, and risk reasoning in a single call. Best for pre-transaction safety gates or periodic stablecoin monitoring workflows on Base.

## Known failure modes

- Invalid symbol (not USDC, USDT, or DAI) returns error — only three canonical Base stablecoins are supported
- Stale data if ingestion pipeline is delayed — freshness field indicates data age
- Payment failure (x402) if the 0.03 USDC fee is not correctly included in the request
- Network or service downtime may return 5xx errors
- Peg price may be null if price feed is temporarily unavailable

## How this service works

AgentOracle: health assessment for canonical Base USDC, USDT, or DAI with peg deviation, liquidity, 24h market context, freshness, caveats, and depeg risk.

## Output

Returns a structured JSON object containing: stablecoin symbol, Base network contract address, current peg price in USD, peg deviation percent, liquidity score (integer), risk score (integer), depeg probability (string label), array of human-readable reasons explaining the assessment, freshness metadata (timestamp of last data ingestion), scope description, and an array of caveats users should be aware of. Optional liquidity in USD may also be included.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "enum": [
        "USDC",
        "USDT",
        "DAI"
       ],
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "network",
      "contract",
      "pegPriceUsd",
      "pegDeviationPercent",
      "liquidityScore",
      "riskScore",
      "depegProbability",
      "reasons",
      "freshness",
      "scope",
      "caveats"
     ],
     "properties": {
      "scope": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "caveats": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "network": {
       "type": "string"
      },
      "reasons": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "contract": {
       "type": "string"
      },
      "freshness": {
       "type": "object"
      },
      "riskScore": {
       "type": "integer"
      },
      "pegPriceUsd": {
       "type": [
        "number",
        "null"
       ]
      },
      "liquidityUsd": {
       "type": [
        "number",
        "null"
       ]
      },
      "liquidityScore": {
       "type": "integer"
      },
      "depegProbability": {
       "type": "string"
      },
      "pegDeviationPercent": {
       "type": [
        "number",
        "null"
       ]
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentoracle-stablecoin-health-assessment-9e7acdb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiagentoracle.ai](https://www.zero.xyz/host/aiagentoracle.ai/llms.txt)
