Skip to content
GET /v1/markets

Tradable pairs with precision and state

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/xt-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/xt-api/v1/markets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/xt-api/v1/markets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/xt-api/v1/markets");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/xt-api/v1/markets",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 1276,
        "quote": "USDT",
        "source": "XT",
        "markets": [
            {
                "base": "XT",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "XT_USDT",
                "tradable": true,
                "price_precision": 4,
                "quantity_precision": 2
            },
            {
                "base": "BTC",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "BTC_USDT",
                "tradable": true,
                "price_precision": 2,
                "quantity_precision": 5
            },
            {
                "base": "ETH",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "ETH_USDT",
                "tradable": true,
                "price_precision": 2,
                "quantity_precision": 4
            },
            {
                "base": "XRP",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "XRP_USDT",
                "tradable": true,
                "price_precision": 4,
                "quantity_precision": 1
            },
            {
                "base": "USDC",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "USDC_USDT",
                "tradable": true,
                "price_precision": 4,
                "quantity_precision": 0
            },
            {
                "base": "BNB",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "BNB_USDT",
                "tradable": true,
                "price_precision": 2,
                "quantity_precision": 3
            },
            {
                "base": "SOL",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "SOL_USDT",
                "tradable": true,
                "price_precision": 2,
                "quantity_precision": 3
            },
            {
                "base": "ADA",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "ADA_USDT",
                "tradable": true,
                "price_precision": 4,
                "quantity_precision": 1
            },
            {
                "base": "DOGE",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "DOGE_USDT",
                "tradable": true,
                "price_precision": 5,
                "quantity_precision": 0
            },
            {
                "base": "BSV",
                "quote": "USDT",
                "state": "ONLINE",
                "market": "BSV_USDT",
                "tradable": true,
                "price_precision": 2,
                "quantity_precision": 2
            },
            {
                "base": "TON",
                "quote": "USDT",
                "state": "ONLIN
…