---
title: "Stablecoin peg stability"
method: GET
path: "/api/v1/stablecoins/peg-stability"
tags: ["stablecoins"]
---

# Stablecoin peg stability

`GET /api/v1/stablecoins/peg-stability`

## Request

- Base URL: `https://api.bitcompare.net`
- URL: `https://api.bitcompare.net/api/v1/stablecoins/peg-stability`
- Auth: one of:
  - none
  - HTTP bearer

Peg deviation history and stability stats for a stablecoin.

## Query parameters

- `symbol` string, required: Stablecoin symbol (e.g. "usdt", "usdc")
- `period` '7d' | '30d' | '90d'

## Response `200`

Successful response

- object
  - `symbol` string, required
  - `pegTarget` number, required: Target peg in USD (typically 1.0)
  - `deviation` number, required: Current peg deviation in basis points
  - `history` object[], required: Recent peg deviation samples
    - `timestamp` string, required: ISO-8601 timestamp of the data point
    - `value` number, required: The recorded numeric value

## Other responses

- `401`: Missing or invalid API key
- `429`: Plan rate limit exceeded — see X-RateLimit-* headers and Retry-After

---

[API](https://skmtc.dev/bitcompare/apis/bitcompare-api.md) · [All operations](https://skmtc.dev/bitcompare/apis/bitcompare-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bitcompare/apis/bitcompare-api/revisions/936dfbf752d2?raw)
