# CoinW Exchange API
> Live spot market data from CoinW, 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 turnover; rank every spot market for a quote currency (USDT, BTC, ETH…) 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 as BTC_USDT, with base and quote either side of the underscore. This is the CoinW venue specifically — a distinct global exchange feed, separate from the other exchange APIs in the catalogue, so cross-venue arbitrage and price-discovery workflows can read each book on its own terms.

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

## Pricing
- **Free** (Free) — 22,000 calls/Mo, 3 req/s
- **Starter** ($9/Mo) — 300,000 calls/Mo, 10 req/s
- **Growth** ($26/Mo) — 1,300,000 calls/Mo, 25 req/s
- **Scale** ($62/Mo) — 4,600,000 calls/Mo, 50 req/s

## Endpoints

### Ticker

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

**Parameters:**
- `market` (query, optional, string) — Market as BTC_USDT Example: `BTC_USDT`
- `base` (query, optional, string) — Base asset (with quote=) Example: `ETH`
- `quote` (query, optional, string) — Quote asset Example: `USDT`

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

**Response:**
```json
{
    "data": {
        "ask": 62731.06,
        "bid": 62730.92,
        "base": "BTC",
        "last": 62717.24,
        "quote": "USDT",
        "market": "BTC_USDT",
        "source": "CoinW",
        "spread": 0.14,
        "low_24h": 60800.07,
        "high_24h": 62996.85,
        "change_24h_pct": 1.65,
        "base_volume_24h": 10470.76915454,
        "quote_volume_24h": 656697742.05
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:48.631Z",
        "request_id": "90cf318d-d03d-4a5d-b381-20e835b439e8"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}
```

### Tickers

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

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

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "quote": "USDT",
        "source": "CoinW",
        "tickers": [
            {
                "ask": 62731.06,
                "bid": 62730.92,
                "base": "BTC",
                "last": 62717.24,
                "quote": "USDT",
                "market": "BTC_USDT",
                "spread": 0.14,
                "low_24h": 60800.07,
                "high_24h": 62996.85,
                "change_24h_pct": 1.65,
                "base_volume_24h": 10470.76915454,
                "quote_volume_24h": 656697742.05
            },
            {
                "ask": 1654.65,
                "bid": 1654.62,
                "base": "ETH",
                "last": 1654.64,
                "quote": "USDT",
                "market": "ETH_USDT",
                "spread": 0.03,
                "low_24h": 1604.71,
                "high_24h": 1667.19,
                "change_24h_pct": 0.97,
                "base_volume_24h": 133438.77996422,
                "quote_volume_24h": 220793142.88
            },
            {
                "ask": 65.042,
                "bid": 64.92801,
                "base": "SOL",
                "last": 65.00499,
                "quote": "USDT",
                "market": "SOL_USDT",
                "spread": 0.11399,
                "low_24h": 62.34133,
                "high_24h": 65.76663,
                "change_24h_pct": 0.7,
                "base_volume_24h": 1449862.10431676,
                "quote
…(truncated, see openapi.json for full schema)
```

### Markets

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

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

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

**Response:**
```json
{
    "data": {
        "count": 411,
        "quote": "USDT",
        "source": "CoinW",
        "markets": [
            {
                "base": "$B",
                "quote": "USDT",
                "market": "$B_USDT"
            },
            {
                "base": "0G",
                "quote": "USDT",
                "market": "0G_USDT"
            },
            {
                "base": "10SET",
                "quote": "USDT",
                "market": "10SET_USDT"
            },
            {
                "base": "1INCH",
                "quote": "USDT",
                "market": "1INCH_USDT"
            },
            {
                "base": "A",
                "quote": "USDT",
                "market": "A_USDT"
            },
            {
                "base": "AAVE",
                "quote": "USDT",
                "market": "AAVE_USDT"
            },
            {
                "base": "ACE",
                "quote": "USDT",
                "market": "ACE_USDT"
            },
            {
                "base": "ACH",
                "quote": "USDT",
                "market": "ACH_USDT"
            },
            {
                "base": "ACT",
                "quote": "USDT",
                "market": "ACT_USDT"
            },
            {
                "base": "ADA",
                "quote": "USDT",
                "market": "ADA_USDT"
            },
            {
                "base": "AEVO",
                "quote": "USDT",
        
…(truncated, see openapi.json for full schema)
```

### Book

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

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

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

**Response:**
```json
{
    "data": {
        "asks": [
            {
                "price": 62731.06,
                "amount": 1.404
            },
            {
                "price": 62731.17,
                "amount": 0.7976
            },
            {
                "price": 62731.29,
                "amount": 0.0959
            },
            {
                "price": 62731.4,
                "amount": 0.0297
            },
            {
                "price": 62731.51,
                "amount": 0.0788
            },
            {
                "price": 62731.63,
                "amount": 0.283
            },
            {
                "price": 62731.74,
                "amount": 0.2457
            },
            {
                "price": 62731.85,
                "amount": 0.1091
            },
            {
                "price": 62731.97,
                "amount": 0.1787
            },
            {
                "price": 62732.08,
                "amount": 0.1275
            },
            {
                "price": 62732.2,
                "amount": 0.1866
            },
            {
                "price": 62732.31,
                "amount": 0.1459
            },
            {
                "price": 62732.42,
                "amount": 0.0711
            },
            {
                "price": 62732.53,
                "amount": 1.3345
            },
            {
                "price": 62732.54,
                "amount": 0.0469
            },
            {
 
…(truncated, see openapi.json for full schema)
```

### Meta

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

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

**Response:**
```json
{
    "data": {
        "note": "Pass markets as BTC_USDT (base and quote separated by '_'). quote_volume_24h is the 24h turnover in the quote currency; base_volume_24h is derived. change_24h_pct is the 24h percentage move.",
        "source": "CoinW public API (api.coinw.com/api/v1/public, live)",
        "service": "coinw-api",
        "endpoints": {
            "GET /v1/book": "Live order-book depth — best bid/ask and spread (market=BTC_USDT, limit=20).",
            "GET /v1/meta": "This document.",
            "GET /v1/ticker": "Ticker for one market (market=BTC_USDT or base=BTC&quote=USDT).",
            "GET /v1/markets": "Tradable pairs with base/quote (quote=USDT optional).",
            "GET /v1/tickers": "All spot markets for a quote ranked by 24h turnover (quote=USDT, limit=50)."
        },
        "description": "Live spot market data from CoinW, a global crypto exchange. The ticker endpoint returns a market's last price, best bid/ask, 24h high/low, 24h change and volume; the tickers endpoint ranks every spot market for a quote currency by 24h turnover; the markets endpoint lists tradable pairs with base/quote; the book endpoint returns live order-book depth. Live, no key, nothing stored. A distinct global venue, separate from other exchange feeds.",
        "market_count": 444,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:50.111Z",
        "request_id": "88c3c1ae-aab4-4ea0-ba7b-c895ff26bd22"
    },
    "status": "
…(truncated, see openapi.json for full schema)
```


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