Files
ritmex-bot/docs/nado/developer-resources/api/v2/tickers.md
T

2.5 KiB

Tickers

Request

{% tabs %} {% tab title="Get pairs" %} GET [ARCHIVE_V2_ENDPOINT]/tickers?market={spot|perp}&edge={true|false} {% endtab %} {% endtabs %}

Request Parameters

ParameterTypeRequiredDescription
marketstringNoIndicates the corresponding market to fetch trading tickers info for. Allowed values are: spotand perp. When no market param is provided, it returns all available tickers.
edgeboolNoWhether to retrieve volume metrics for all chains. When turned off, it only returns metrics for the current chain. Defaults to true.

Response

{% hint style="info" %} Note: the response is a map of ticker_id -> ticker info object. {% endhint %}

{
    "BTC-PERP_USDT0": {
        "product_id": 1,
        "ticker_id": "BTC-PERP_USDT0",
        "base_currency": "BTC",
        "quote_currency": "USDT0",
        "last_price": 25728.0,
        "base_volume": 552.048,
        "quote_volume": 14238632.207250029,
        "price_change_percent_24h": -0.6348599635253989
    }
}

Response Fields

Field NameTypeNullableDescription
product_idu32NoUnique identifier for the product.
ticker_idstringNoIdentifier of a ticker with delimiter to separate base/target.
base_currencystringNoSymbol of the base asset.
quote_currencystringNoSymbol of the target asset.
last_pricedecimalNoLast transacted price of base currency based on given quote currency.
base_volumedecimalNo24-hours trading volume for the pair (unit in base)
quote_volumedecimalNo24-hours trading volume for the pair (unit in quote/target)
price_change_percent_24hdecimalNo24-hours % price change of market pair