# Stablecoin Market Data API

> Stablecoin Market Data API is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Returns stablecoin market data including top stablecoins by circulating supply, peg price, peg deviation, supply changes, chain distribution, and peg health metrics.

## Facts

- Endpoint: GET https://api.x-402.online/v1/stablecoins?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-market-data-api-7c09257e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p1x2B-LhHQLZgaE7BM5GH

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 stablecoin-market-data-api-7c09257e
```

Example prompt: Give me a stablecoin market overview — show the top stablecoins by circulating supply with their current peg price, how far they're deviating from the peg, and their 24h and 7-day supply changes.

## When to prefer this

Choose this endpoint when you need real-time stablecoin market intelligence — specifically circulating supply rankings, peg deviation monitoring, or cross-chain supply distribution — without needing a full DEX or CEX data provider. Ideal for DeFi dashboards, risk monitoring agents, or financial research tools that want pay-per-call access with no account setup required.

## Known failure modes

- Invalid query parameter returns 400 bad request
- Unsupported stablecoin symbol returns empty result or 404
- Rate limiting or payment failure via x402 protocol returns 402 Payment Required
- Data provider outage returns 503 or stale data
- Unknown chain name returns empty or error response

## How this service works

Stablecoin market in one route: top stablecoins by supply with peg price, deviation and 24h/7d supply change, one coin's peg health with its top chains, or stablecoin supply per blockchain Stablecoin market in one route: the top stablecoins by circulating supply with peg price, deviat…

## Output

Returns structured stablecoin market data: for top-coins view — list of leading stablecoins with circulating supply, peg price, deviation from peg, 24h and 7d supply changes; for single-coin view — detailed peg health metrics and per-chain distribution; for chain view — stablecoin supply aggregated by blockchain.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-market-data-api-7c09257e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
