# DigiFinex Exchange API
> Live spot market data from DigiFinex, a global crypto exchange, served straight from its public v3 API with no key and nothing cached. The ticker endpoint returns a market's last price, best bid and ask, 24-hour high and low, 24-hour change and base and quote volume. The tickers endpoint returns every spot market for a quote currency ranked by 24-hour quote volume, so one call surfaces the most-traded pairs on the venue. The markets endpoint lists the tradable pairs with their price and volume precision and minimum order size. The book endpoint returns live order-book depth — every bid and ask level with price and amount, plus the best bid/ask and the spread. Everything is read live from DigiFinex on each request, nothing stored. A distinct global venue, separate from the other exchange feeds on the marketplace. Ideal for trading bots, price tickers, arbitrage scanners, portfolio trackers and market dashboards. Live, no key. 4 spot endpoints. For candles or perpetuals use an OHLC or derivatives API.

## 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/digifinex-api/..."
```

## Pricing
- **Free** (Free) — 5,300 calls/Mo, 2 req/s
- **Starter** ($9/Mo) — 96,000 calls/Mo, 6 req/s
- **Pro** ($26/Mo) — 498,000 calls/Mo, 18 req/s
- **Business** ($60/Mo) — 3,040,000 calls/Mo, 45 req/s

## Endpoints

### Market

#### `GET /v1/book` — Live order-book depth

**Parameters:**
- `market` (query, required, string) — Market BASE_QUOTE Example: `BTC_USDT`
- `limit` (query, optional, string) — Levels per side (default 20) Example: `20`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/digifinex-api/v1/book?market=BTC_USDT&limit=20"
```

#### `GET /v1/markets` — Tradable pairs with precision and limits

**Parameters:**
- `quote` (query, optional, string) — Filter by quote currency Example: `USDT`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/digifinex-api/v1/markets?quote=USDT"
```

#### `GET /v1/ticker` — Ticker for one market

**Parameters:**
- `market` (query, required, string) — Market BASE_QUOTE Example: `BTC_USDT`
- `symbol` (query, optional, string) — Base coin (alternative to market) Example: `BTC`
- `quote` (query, optional, string) — Quote currency for symbol Example: `USDT`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/digifinex-api/v1/ticker?market=BTC_USDT&symbol=BTC&quote=USDT"
```

#### `GET /v1/tickers` — All spot markets for a quote by volume

**Parameters:**
- `quote` (query, optional, string) — Quote currency (default USDT) Example: `USDT`
- `limit` (query, optional, string) — Max markets (default 50) Example: `50`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/digifinex-api/v1/tickers?quote=USDT&limit=50"
```

### Meta

#### `GET /v1/meta` — Spec

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


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