Get All Currency Pairs

GET https://api.sfox.com/v1/markets/currency-pairs

Retrieve a list of currency pairs available to trade in your account.

Response Body

Each trading pair is represented as a key-value object where the key is the lowercase concatenated symbol (e.g., "btcusd") and contains detailed information about the trading pair. Each trading pair object contains the following fields:

Key
Description

formatted_symbol

A human-readable representation of the trading pair using standard notation (e.g., "BTC/USD"). Format: "{BASE}/{QUOTE}" with uppercase symbols.

symbol

The lowercase concatenated version of the trading pair used as an identifier (e.g., "btcusd"). Format: lowercase "{base}{quote}".

base

The base currency of the trading pair (e.g., "btc").

quote

The quote currency of the trading pair (e.g., "usd")

Responses

200
{
    "btcusd": {
        "formatted_symbol": "BTC/USD",
        "symbol": "btcusd",
        "base": "btc",
        "quote": "usd"
    },
    "ethbtc": {
        "formatted_symbol": "ETH/BTC",
        "symbol": "ethbtc",
        "base": "eth",
        "quote": "btc"
    },
    "ltcbtc": {
        "formatted_symbol": "LTC/BTC",
        "symbol": "ltcbtc",
        "base": "ltc",
        "quote": "btc"
    }
}

Example Requests

curl -H 'Authorization: Bearer <API_TOKEN>' \ 
-H 'Content-Type: application/json' \
-X GET \
'https://api.sfox.com/v1/markets/currency-pairs'

Last updated