# Deepcoin Exchange API
> Live spot market data from Deepcoin, 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 spot market for a quote currency (USDT, BTC, ETH…) by 24h quote volume; list the tradable instruments with their base, quote and tick/lot size; or pull live order-book depth with the running spread. Markets are addressed OKX-style as BTC-USDT, with base and quote either side of the hyphen. This is the Deepcoin 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/deepcoin-api/..."
```

## Pricing
- **Free** (Free) — 21,000 calls/Mo, 3 req/s
- **Starter** ($9/Mo) — 290,000 calls/Mo, 10 req/s
- **Growth** ($25/Mo) — 1,280,000 calls/Mo, 25 req/s
- **Scale** ($59/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-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/deepcoin-api/v1/ticker?market=BTC-USDT&base=ETH&quote=USDT"
```

**Response:**
```json
{
    "data": {
        "ask": 62722.7,
        "bid": 62722.5,
        "base": "BTC",
        "last": 62722.6,
        "quote": "USDT",
        "market": "BTC-USDT",
        "source": "Deepcoin",
        "spread": 0.2,
        "low_24h": 61104.2,
        "high_24h": 62995.9,
        "open_24h": 62639.2,
        "change_24h": 83.4,
        "change_24h_pct": 0.1331,
        "base_volume_24h": 2944.67009932,
        "quote_volume_24h": 91527804.28
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:46.806Z",
        "request_id": "91a26039-91c4-4ca1-9947-397503c9a77f"
    },
    "status": "ok",
    "message": "Ticker retrieved successfully",
    "success": true
}
```

### Tickers

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

**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/deepcoin-api/v1/tickers?quote=USDT&limit=50"
```

**Response:**
```json
{
    "data": {
        "count": 50,
        "quote": "USDT",
        "source": "Deepcoin",
        "tickers": [
            {
                "ask": 62722.7,
                "bid": 62722.5,
                "base": "BTC",
                "last": 62722.6,
                "quote": "USDT",
                "market": "BTC-USDT",
                "spread": 0.2,
                "low_24h": 61104.2,
                "high_24h": 62995.9,
                "open_24h": 62639.2,
                "change_24h": 83.4,
                "change_24h_pct": 0.1331,
                "base_volume_24h": 2944.67009932,
                "quote_volume_24h": 91527804.28
            },
            {
                "ask": 65,
                "bid": 64.97,
                "base": "SOL",
                "last": 64.98,
                "quote": "USDT",
                "market": "SOL-USDT",
                "spread": 0.03,
                "low_24h": 62.34,
                "high_24h": 65.47,
                "open_24h": 65.43,
                "change_24h": -0.45,
                "change_24h_pct": -0.6878,
                "base_volume_24h": 1479388.34797835,
                "quote_volume_24h": 47470996.15
            },
            {
                "ask": 1.0012,
                "bid": 1.0007,
                "base": "USDC",
                "last": 1.0009,
                "quote": "USDT",
                "market": "USDC-USDT",
                "spread": 0.0005,
                "low_24h": 1.0005,
                "high_24h
…(truncated, see openapi.json for full schema)
```

### Markets

#### `GET /v1/markets` — Tradable instruments with base/quote and tick/lot size

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

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

**Response:**
```json
{
    "data": {
        "count": 185,
        "quote": "USDT",
        "source": "Deepcoin",
        "markets": [
            {
                "base": "A",
                "quote": "USDT",
                "market": "A-USDT",
                "lot_size": 0.001,
                "min_size": 0.5,
                "tick_size": 1.0e-5
            },
            {
                "base": "AAVE",
                "quote": "USDT",
                "market": "AAVE-USDT",
                "lot_size": 1.0e-8,
                "min_size": 0,
                "tick_size": 0.01
            },
            {
                "base": "ACE",
                "quote": "USDT",
                "market": "ACE-USDT",
                "lot_size": 0.001,
                "min_size": 25,
                "tick_size": 1.0e-5
            },
            {
                "base": "ACH",
                "quote": "USDT",
                "market": "ACH-USDT",
                "lot_size": 0.001,
                "min_size": 40,
                "tick_size": 1.0e-6
            },
            {
                "base": "ACT",
                "quote": "USDT",
                "market": "ACT-USDT",
                "lot_size": 0.001,
                "min_size": 67,
                "tick_size": 1.0e-5
            },
            {
                "base": "ADA",
                "quote": "USDT",
                "market": "ADA-USDT",
                "lot_size": 1.0e-8,
                "min_size": 10,
                "tick_size": 0.0001
…(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/deepcoin-api/v1/book?market=BTC-USDT&limit=20"
```

**Response:**
```json
{
    "data": {
        "asks": [
            {
                "price": 62719.8,
                "amount": 12.7638625
            },
            {
                "price": 62720,
                "amount": 0.30070465
            },
            {
                "price": 62720.2,
                "amount": 0.5341795
            },
            {
                "price": 62720.4,
                "amount": 0.0004
            },
            {
                "price": 62720.6,
                "amount": 0.5415
            },
            {
                "price": 62721.6,
                "amount": 0.5415
            },
            {
                "price": 62722.6,
                "amount": 0.9175638
            },
            {
                "price": 62723.6,
                "amount": 0.680188
            },
            {
                "price": 62724.6,
                "amount": 0.5
            },
            {
                "price": 62725.1,
                "amount": 0.680188
            },
            {
                "price": 62726.1,
                "amount": 0.0399036
            },
            {
                "price": 62727.1,
                "amount": 1.0415
            },
            {
                "price": 62732.1,
                "amount": 0.0004
            },
            {
                "price": 62737.1,
                "amount": 0.7417355
            },
            {
                "price": 62742.1,
                "amount": 0.72168805
            },
   
…(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/deepcoin-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "note": "Pass markets as BTC-USDT (base and quote separated by '-'). quote_volume_24h is in the quote currency; the 24h change is derived from the day's open.",
        "source": "Deepcoin public API (api.deepcoin.com/deepcoin/market, live)",
        "service": "deepcoin-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 instruments with base/quote and tick/lot size (quote=USDT optional).",
            "GET /v1/tickers": "All spot markets for a quote ranked by 24h quote volume (quote=USDT, limit=50)."
        },
        "description": "Live spot market data from Deepcoin, a global crypto exchange. The ticker endpoint returns a market's last price, best bid/ask, 24h high/low, 24h change and base/quote volume; the tickers endpoint ranks every spot market for a quote currency by 24h quote volume; the markets endpoint lists tradable instruments with base/quote and tick/lot size; the book endpoint returns live order-book depth. Live, no key, nothing stored. A distinct global venue, separate from other exchange feeds.",
        "market_count": 179,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:48.168Z",
        "request_id": "1d8cfb5b-61a0-479a-b
…(truncated, see openapi.json for full schema)
```


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