# WazirX Exchange API
> Live spot market data from WazirX, one of India's largest crypto exchanges, 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 open/high/low, 24h change and volume; rank every market for a quote currency (Indian rupee INR, or USDT) 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_INR). This is the WazirX venue specifically — a distinct Indian-rupee price feed, ideal for INR price discovery and India-market arbitrage, separate from the USD/USDT-quoted 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/wazirx-api/..."
```

## Pricing
- **Free** (Free) — 25,500 calls/Mo, 3 req/s
- **Starter** ($8/Mo) — 305,000 calls/Mo, 10 req/s
- **Growth** ($24/Mo) — 1,310,000 calls/Mo, 25 req/s
- **Scale** ($57/Mo) — 4,350,000 calls/Mo, 50 req/s

## Endpoints

### Ticker

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

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

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

**Response:**
```json
{
    "data": {
        "ask": 6290000,
        "bid": 6273734,
        "base": "BTC",
        "last": 6269931,
        "quote": "INR",
        "market": "BTC_INR",
        "source": "WazirX",
        "spread": 16266,
        "low_24h": 6160998,
        "high_24h": 6404609,
        "open_24h": 6201003,
        "change_24h": 68928,
        "change_24h_pct": 1.1116,
        "base_volume_24h": 0.23919,
        "quote_volume_24h": 1499704.8
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:36.088Z",
        "request_id": "40d45441-e93e-4ef4-8c1a-2f6778abaaf9"
    },
    "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: `INR`
- `limit` (query, optional, string) — Max results (1-400) Example: `50`

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "quote": "INR",
        "source": "WazirX",
        "tickers": [
            {
                "ask": 100.66,
                "bid": 100.45,
                "base": "USDT",
                "last": 100.45,
                "quote": "INR",
                "market": "USDT_INR",
                "spread": 0.21,
                "low_24h": 100.21,
                "high_24h": 100.93,
                "open_24h": 100.35,
                "change_24h": 0.1,
                "change_24h_pct": 0.0997,
                "base_volume_24h": 47174.02,
                "quote_volume_24h": 4738630.31
            },
            {
                "ask": 6290000,
                "bid": 6273734,
                "base": "BTC",
                "last": 6269931,
                "quote": "INR",
                "market": "BTC_INR",
                "spread": 16266,
                "low_24h": 6160998,
                "high_24h": 6404609,
                "open_24h": 6201003,
                "change_24h": 68928,
                "change_24h_pct": 1.1116,
                "base_volume_24h": 0.23919,
                "quote_volume_24h": 1499704.8
            },
            {
                "ask": 0.000478,
                "bid": 0.000471,
                "base": "SHIB",
                "last": 0.000478,
                "quote": "INR",
                "market": "SHIB_INR",
                "spread": 7.0e-6,
                "low_24h": 0.000463,
                "high_24h": 0.00
…(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: `INR`

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

**Response:**
```json
{
    "data": {
        "count": 236,
        "quote": "INR",
        "source": "WazirX",
        "markets": [
            {
                "base": "1INCH",
                "type": "SPOT",
                "quote": "INR",
                "market": "1INCH_INR"
            },
            {
                "base": "A",
                "type": "SPOT",
                "quote": "INR",
                "market": "A_INR"
            },
            {
                "base": "AAVE",
                "type": "SPOT",
                "quote": "INR",
                "market": "AAVE_INR"
            },
            {
                "base": "ACH",
                "type": "SPOT",
                "quote": "INR",
                "market": "ACH_INR"
            },
            {
                "base": "ADA",
                "type": "SPOT",
                "quote": "INR",
                "market": "ADA_INR"
            },
            {
                "base": "ADX",
                "type": "SPOT",
                "quote": "INR",
                "market": "ADX_INR"
            },
            {
                "base": "AGLD",
                "type": "SPOT",
                "quote": "INR",
                "market": "AGLD_INR"
            },
            {
                "base": "ALCX",
                "type": "SPOT",
                "quote": "INR",
                "market": "ALCX_INR"
            },
            {
                "base": "ALGO",
                "type": "SPOT",
                "quote": 
…(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_INR Example: `BTC_INR`
- `limit` (query, optional, string) — Depth per side (1-100) Example: `20`

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

**Response:**
```json
{
    "data": {
        "asks": [
            {
                "price": 6290000,
                "amount": 1.0e-5
            },
            {
                "price": 6398382,
                "amount": 0.0001
            },
            {
                "price": 6401970,
                "amount": 5.0e-5
            },
            {
                "price": 6408412,
                "amount": 0.00788
            },
            {
                "price": 6408413,
                "amount": 0.00815
            },
            {
                "price": 6409007,
                "amount": 0.00788
            },
            {
                "price": 6418697,
                "amount": 2.0e-5
            },
            {
                "price": 6418698,
                "amount": 3.0e-5
            },
            {
                "price": 6448237,
                "amount": 2.0e-5
            },
            {
                "price": 6448238,
                "amount": 0.00032
            },
            {
                "price": 6460000,
                "amount": 0.00213
            },
            {
                "price": 6515833,
                "amount": 0.04221
            },
            {
                "price": 6515834,
                "amount": 1.0e-5
            },
            {
                "price": 6528938,
                "amount": 0.00167
            },
            {
                "price": 6529435,
                "amount": 0.00102
            },
            {
    
…(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/wazirx-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "note": "Markets are BASE_QUOTE (BTC_INR). The default quote is the Indian rupee (INR). WazirX reports base volume only; quote_volume_24h is derived as volume × last. change is derived from the day's open.",
        "source": "WazirX public API (api.wazirx.com/api/v2, live)",
        "service": "wazirx-api",
        "endpoints": {
            "GET /v1/book": "Live order-book depth — best bid/ask and spread (market=BTC_INR, limit=20).",
            "GET /v1/meta": "This document.",
            "GET /v1/ticker": "Ticker for one market (market=BTC_INR or base=BTC&quote=INR).",
            "GET /v1/markets": "Tradable pairs with base/quote (quote=INR optional).",
            "GET /v1/tickers": "All markets for a quote ranked by 24h turnover (quote=INR, limit=50)."
        },
        "description": "Live spot market data from WazirX, one of India's largest crypto exchanges. The ticker endpoint returns a market's last price, best bid/ask, 24h high/low/open, 24h change and volume; the tickers endpoint ranks every market for a quote currency (INR or USDT) 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 Indian-rupee venue for INR price discovery, separate from the USD/USDT-quoted exchange feeds.",
        "market_count": 527,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:37.433Z",
        "request
…(truncated, see openapi.json for full schema)
```


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