# DefiLlama Stablecoin Peg Prices

> DefiLlama Stablecoin Peg Prices is a paid API for AI agents from defillama.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns the historical peg price of every stablecoin tracked by DefiLlama.

## Facts

- Endpoint: GET https://defillama.use.x402atlas.com/stablecoin-prices
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-stablecoin-peg-prices-991a06ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FZsCWMQ0PZEyAgyi7BM_I

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 defillama-stablecoin-peg-prices-991a06ce
```

Example prompt: Pull the historical peg prices for all stablecoins tracked by DefiLlama so I can see which ones have deviated from their dollar peg over time.

## When to prefer this

Use this endpoint when you need historical peg price data for stablecoins tracked by DefiLlama — particularly when analyzing peg stability, depeg events, or backtesting strategies that depend on stablecoin price accuracy. Prefer this over generic crypto price APIs when you specifically need stablecoin peg tracking data from DefiLlama's comprehensive coverage.

## Known failure modes

- Service unavailable or timeout if DefiLlama upstream is down
- Payment failure if USDC balance is insufficient for the $0.005 per-call fee
- Empty or partial response if DefiLlama has incomplete data for certain stablecoins
- Rate limiting if too many requests are made in a short period

## How this service works

Stablecoin peg prices by DefiLlama — historical peg price of every tracked stablecoin.

## Output

A dataset of historical peg prices for every stablecoin tracked by DefiLlama, including price values and timestamps, enabling analysis of peg stability and deviations.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "1656633600",
    "prices": {
     "1": 1.001
    }
   }
  ],
  "queried_at": "2026-07-01T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defillama-stablecoin-peg-prices-991a06ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defillama.use.x402atlas.com](https://www.zero.xyz/host/defillama.use.x402atlas.com/llms.txt)
