# Stablecoin Market Cap Rankings

> Stablecoin Market Cap Rankings is a paid API for AI agents from x402-seller-0ay3.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns circulating market cap of top stablecoins (USDT, USDC, DAI, etc.) ranked highest first, sourced from DefiLlama

## Facts

- Endpoint: GET https://x402-seller-0ay3.onrender.com/api/defi/stablecoins
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-market-cap-rankings-2170fdcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_11IDT05DYw_nGJDfYX5MD

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-cap-rankings-2170fdcf
```

Example prompt: What are the top 20 stablecoins by circulating market cap right now? Show me their names, symbols, and USD amounts ranked from largest to smallest.

## When to prefer this

Choose this endpoint when you need live stablecoin market cap rankings sourced from DefiLlama, especially if you want fiat-backed vs algorithmic breakdown and peg metadata alongside circulating supply. Prefer it over on-chain queries when you need aggregated multi-chain circulating supply in a single call, and over generic crypto price endpoints when stablecoin-specific metrics (peg, mechanism) are required.

## Known failure modes

- Invalid limit parameter (outside 1-100 range) may return an error or be clamped
- DefiLlama upstream outage may return stale or unavailable data
- Render cold-start latency if the service has been idle
- Payment failure via x402 protocol returns 402 status before data is served

## How this service works

Circulating market cap of the top stablecoins (USDT, USDC, DAI...), highest first, source DefiLlama. Optional parameter: ?limit=<n> (1-100, default 20).

## Output

Returns a JSON object with a count, the source URL (stablecoins.llama.fi), a fetch timestamp, and an array of stablecoins each containing: name, symbol, peg type (e.g. peggedUSD), backing mechanism (e.g. fiat-backed, algorithmic), and circulating USD market cap — sorted descending by market cap.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 20,
  "source": "https://stablecoins.llama.fi/stablecoins",
  "fetched_at": "2026-09-01T12:00:00.000Z",
  "stablecoins": [
   {
    "peg": "peggedUSD",
    "name": "Tether",
    "symbol": "USDT",
    "mechanism": "fiat-backed",
    "circulating_usd": 183000000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-market-cap-rankings-2170fdcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-0ay3.onrender.com](https://www.zero.xyz/host/x402-seller-0ay3.onrender.com/llms.txt)
