Files

1.8 KiB

Pairs

Request

{% tabs %} {% tab title="Get pairs" %} GET [GATEWAY_V2_ENDPOINT]/pairs?market={spot|perp} {% endtab %} {% endtabs %}

Request Parameters

ParameterTypeRequiredDescription
marketstringNoIndicates the corresponding market to fetch trading pairs for. Allowed values are: spotand perp. When no market param is provided, it returns all available pairs.

Response

[
    {
        "product_id": 1,
        "ticker_id": "BTC-PERP_USDT0",
        "base": "BTC-PERP",
        "quote": "USDT0"
    },
    {
        "product_id": 2,
        "ticker_id": "ETH-PERP_USDT0",
        "base": "ETH-PERP",
        "quote": "USDT0"
    },
    {
        "product_id": 3,
        "ticker_id": "BTC_USDT0",
        "base": "BTC",
        "quote": "USDT0"
    },
    {
        "product_id": 4,
        "ticker_id": "ETH_USDT0",
        "base": "ETH",
        "quote": "USDT0"
    }
]

Response Fields

Field nameTypeNullableDescription
product_idu32NoUnique identifier for the product.
ticker_idstringNoIdentifier of a ticker with delimiter to separate base/target.
basestringNoSymbol of the base asset.
quotestringNoSymbol of the target asset.