Zum Inhalt springen
GET /v1/markets

Tradable pairs with base/quote

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/valr-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/valr-api/v1/markets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/valr-api/v1/markets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/valr-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/valr-api/v1/markets",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 23,
        "quote": "ZAR",
        "source": "VALR",
        "markets": [
            {
                "base": "AVAX",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "AVAXZAR"
            },
            {
                "base": "BNB",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "BNBZAR"
            },
            {
                "base": "BTC",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "BTCZAR"
            },
            {
                "base": "BTC",
                "type": "FUTURE",
                "quote": "ZAR",
                "active": false,
                "market": "BTCZARPERP"
            },
            {
                "base": "DOGE",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "DOGEZAR"
            },
            {
                "base": "ETHW",
                "type": "SPOT",
                "quote": "ZAR",
                "active": false,
                "market": "ETHWZAR"
            },
            {
                "base": "ETH",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "ETHZAR"
            },
            {
                "base": "ETH",
                "type": "FUTURE",
                "quote": "ZAR",
                "active": false,
                "market": "ETHZARPERP"
            },
            {
                "base": "EURC",
                "type": "SPOT",
                "quote": "ZAR",
                "active": false,
                "market": "EURCZAR"
            },
            {
                "base": "FDUSD",
                "type": "SPOT",
                "quote": "ZAR",
                "active": false,
                "market": "FDUSDZAR"
            },
            {
                "base": "LINK",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "LINKZAR"
            },
            {
                "base": "LTC",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "LTCZAR"
            },
            {
                "base": "PYUSD",
                "type": "SPOT",
                "quote": "ZAR",
                "active": false,
                "market": "PYUSDZAR"
            },
            {
                "base": "RLUSD",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "RLUSDZAR"
            },
            {
                "base": "SHIB",
                "type": "SPOT",
                "quote": "ZAR",
                "active": true,
                "market": "SHIBZAR"

…