# Sky (MakerDAO) Savings Rate & Protocol API
> Live protocol stats from Sky, the decentralized stablecoin protocol formerly known as MakerDAO and the issuer of the USDS and DAI stablecoins — no key, nothing stored. This is the Sky-protocol view: the Sky Savings Rate (SSR) and DAI Savings Rate (DSR), the value locked in savings, the SKY staking yield and the overall ecosystem size, distinct from the generic DeFi-TVL, yields and lending APIs in the catalogue. The overview endpoint returns the latest ecosystem snapshot — the Sky Savings Rate APY, the savings TVL, the SKY staking APY, the farm APY, the total reward TVL, the whole-ecosystem TVL, the wallet count and the number of savings depositors. The savings endpoint returns the current savings rates: the live SSR and DSR and the dollar value deposited in each. The history endpoint returns the savings-rate timeline — per-day SSR, DSR and deposited totals — so you can chart how the on-chain risk-free rate has moved. Build DeFi yield dashboards, stablecoin-savings widgets, rate-comparison tools and treasury bots on top of the dominant decentralized stablecoin protocol. SSR and DSR are the on-chain savings benchmarks for USDS and DAI; rates are returned as percentages.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/sky-api/..."
```

## Pricing
- **Free** (Free) — 12,500 calls/Mo, 3 req/s
- **Starter** ($9/Mo) — 185,000 calls/Mo, 10 req/s
- **Pro** ($26/Mo) — 790,000 calls/Mo, 28 req/s
- **Scale** ($59/Mo) — 2,850,000 calls/Mo, 60 req/s

## Endpoints

### Overview

#### `GET /v1/overview` — Latest Sky ecosystem snapshot

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/sky-api/v1/overview"
```

### Savings

#### `GET /v1/savings` — Current SSR and DSR savings rates

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/sky-api/v1/savings"
```

### History

#### `GET /v1/history` — Daily savings-rate timeline

**Parameters:**
- `limit` (query, optional, string) — Days back (default 30, max 365) Example: `30`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/sky-api/v1/history?limit=30"
```

### Meta

#### `GET /v1/meta` — Service metadata

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/sky-api/v1/meta"
```


---
Marketplace page: https://www.oanor.com/api/sky-api
OpenAPI spec: https://www.oanor.com/api/sky-api/openapi.json
