# BTSE Exchange API
> Live spot market data from BTSE, a global crypto exchange, served straight from its public order books — no key on the data, nothing cached, nothing stored. Look up any market for its last price, best bid/ask and spread, 24h high/low, 24h change and base/quote volume; rank every market for a quote currency by 24h turnover; list the tradable pairs with their base and quote; or pull live order-book depth with the running spread. Markets are addressed BASE-QUOTE (BTC-USD). This is the BTSE venue specifically — a distinct multi-fiat price feed that quotes against the US, Hong Kong, Canadian, New Zealand and Australian dollars plus the pound, euro, Swiss franc, yen and rupee as well as USDT/USDC, ideal for HKD/CAD/CHF/GBP/NZD price discovery and cross-venue arbitrage, separate from the USD/USDT-only exchange APIs in the catalogue.

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

## Pricing
- **Free** (Free) — 21,800 calls/Mo, 3 req/s
- **Starter** ($9/Mo) — 292,000 calls/Mo, 10 req/s
- **Growth** ($27/Mo) — 1,315,000 calls/Mo, 25 req/s
- **Scale** ($62/Mo) — 4,550,000 calls/Mo, 50 req/s

## Endpoints

### Ticker

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

**Parameters:**
- `market` (query, optional, string) — Market as BTC-USD Example: `BTC-USD`
- `base` (query, optional, string) — Base asset (with quote=) Example: `ETH`
- `quote` (query, optional, string) — Quote currency (USD/HKD/CAD/GBP/CHF/NZD…) Example: `USD`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/btse-api/v1/ticker?market=BTC-USD&base=ETH&quote=USD"
```

### Tickers

#### `GET /v1/tickers` — All markets for a quote ranked by 24h turnover

**Parameters:**
- `quote` (query, optional, string) — Quote currency Example: `USD`
- `limit` (query, optional, string) — Max results (1-400) Example: `50`

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

### Markets

#### `GET /v1/markets` — Tradable pairs with base/quote

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

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

### Book

#### `GET /v1/book` — Live order-book depth with running spread

**Parameters:**
- `market` (query, optional, string) — Market as BTC-USD Example: `BTC-USD`
- `limit` (query, optional, string) — Depth per side (1-100) Example: `20`

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

### Meta

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

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


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