Get Tickers

Gets snapshot information about the last trade (tick), best bid/ask and 24h volume.

Using the pairSymbol parameter, you can send a request for a single pair.

Example: https://api.btcturk.com/api/v2/ticker?pairSymbol=BTCUSDT

  • If pairSymbol is not set, ticker for all pairs will be returned in a json array.

GET Currency

  • currency parameter can be used for all symbol pairs.

Example: https://api.btcturk.com/api/v2/ticker/currency?symbol=usdt

You can use this query to see all USDT, TRY or BTC pairs.

Pair

GET https://api.btcturk.com/api/v2/ticker

If pairSymbol is not set, ticker for all pairs will be returned in a json array.

Query Parameters

Name
Type
Description

pairSymbol

string

BTCTRY, ETHTRY etc.

{
  "data": [
    {
      "pair": "BTCTRY",
      "pairNormalized": "BTC_TRY",
      "timestamp": 1570024156166,
      "last": 47500,
      "high": 48710,
      "low": 47000,
      "bid": 47472,
      "ask": 47670,
      "open": 47988,
      "volume": 304.41,
      "average": 47850.41,
      "daily": -318,
      "dailyPercent": -1.02,
      "denominatorSymbol": "TRY",
      "numeratorSymbol": "BTC"
    }
  ],
  "success": true,
  "message": null,
  "code": 0
}

Currency

GET https://api.btcturk.com/api/v2/ticker/currency

If symbol is not set, ticker for all pairs will be returned in a json array.

Path Parameters

Name
Type
Description

symbol

string

USDT, TRY etc.

{
   "data":[
      {
         "pair":"BTCUSDT",
         "pairNormalized":"BTC_USDT",
         "timestamp":1622451614310,
         "last":36159,
         "high":36400,
         "low":34084,
         "bid":36153,
         "ask":36200,
         "open":35798,
         "volume":104.97271737,
         "average":35612.53245745,
         "daily":402,
         "dailyPercent":1.01,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"BTC",
         "order":2001
      },
      {
         "pair":"ETHUSDT",
         "pairNormalized":"ETH_USDT",
         "timestamp":1622451621077,
         "last":2497.0,
         "high":2505.4,
         "low":2276.0,
         "bid":2497.4,
         "ask":2499.9,
         "open":2421.0,
         "volume":3517.58148843,
         "average":2405.36778376,
         "daily":78.9,
         "dailyPercent":3.14,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"ETH",
         "order":2012
      },
      {
         "pair":"XRPUSDT",
         "pairNormalized":"XRP_USDT",
         "timestamp":1622451621085,
         "last":1.0055,
         "high":1.0200,
         "low":0.8629,
         "bid":1.0046,
         "ask":1.0055,
         "open":0.8744,
         "volume":8907837.8217,
         "average":0.9383,
         "daily":0.1311,
         "dailyPercent":14.99,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"XRP",
         "order":2026
      },
      {
         "pair":"LTCUSDT",
         "pairNormalized":"LTC_USDT",
         "timestamp":1622451621092,
         "last":173.87,
         "high":181.58,
         "low":163.52,
         "bid":173.91,
         "ask":175.78,
         "open":176.15,
         "volume":2671.78810945,
         "average":172.62438530,
         "daily":-0.37,
         "dailyPercent":-1.29,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"LTC",
         "order":2015
      },
      {
         "pair":"XLMUSDT",
         "pairNormalized":"XLM_USDT",
         "timestamp":1622451618947,
         "last":0.3995,
         "high":0.4005,
         "low":0.3648,
         "bid":0.3986,
         "ask":0.4001,
         "open":0.3932,
         "volume":2077461.1275,
         "average":0.3807,
         "daily":0.0069,
         "dailyPercent":1.60,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"XLM",
         "order":2025
      },
      {
         "pair":"NEOUSDT",
         "pairNormalized":"NEO_USDT",
         "timestamp":1622451620711,
         "last":53.26,
         "high":53.89,
         "low":49.24,
         "bid":53.17,
         "ask":53.39,
         "open":52.61,
         "volume":22873.5477,
         "average":52.0898,
         "daily":0.78,
         "dailyPercent":1.24,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"NEO",
         "order":2019
      },
      {
         "pair":"EOSUSDT",
         "pairNormalized":"EOS_USDT",
         "timestamp":1622451617020,
         "last":6.155,
         "high":6.354,
         "low":5.756,
         "bid":6.164,
         "ask":6.173,
         "open":6.205,
         "volume":311463.82,
         "average":6.05,
         "daily":-0.032,
         "dailyPercent":-0.81,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"EOS",
         "order":2011
      },
      {
         "pair":"DASHUSDT",
         "pairNormalized":"DASH_USDT",
         "timestamp":1622451621171,
         "last":185.2,
         "high":191.3,
         "low":172.5,
         "bid":185.4,
         "ask":186.7,
         "open":186.1,
         "volume":3888.88025609,
         "average":183.73833101,
         "daily":0.6,
         "dailyPercent":-0.48,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"DASH",
         "order":2008
      },
      {
         "pair":"LINKUSDT",
         "pairNormalized":"LINK_USDT",
         "timestamp":1622451621181,
         "last":27.966,
         "high":29.092,
         "low":25.600,
         "bid":27.805,
         "ask":28.038,
         "open":27.850,
         "volume":27055.62,
         "average":27.75,
         "daily":0.188,
         "dailyPercent":0.42,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"LINK",
         "order":2014
      },
      {
         "pair":"ATOMUSDT",
         "pairNormalized":"ATOM_USDT",
         "timestamp":1622451616602,
         "last":13.192,
         "high":13.200,
         "low":11.950,
         "bid":13.184,
         "ask":13.193,
         "open":12.800,
         "volume":61632.60,
         "average":12.68,
         "daily":0.393,
         "dailyPercent":3.06,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"ATOM",
         "order":2004
      },
      {
         "pair":"XTZUSDT",
         "pairNormalized":"XTZ_USDT",
         "timestamp":1622451609125,
         "last":3.434,
         "high":3.449,
         "low":3.155,
         "bid":3.434,
         "ask":3.444,
         "open":3.400,
         "volume":210669.22,
         "average":3.36,
         "daily":0.044,
         "dailyPercent":1.00,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"XTZ",
         "order":2027
      },
      {
         "pair":"TRXUSDT",
         "pairNormalized":"TRX_USDT",
         "timestamp":1622451621235,
         "last":0.07457,
         "high":0.07457,
         "low":0.06963,
         "bid":0.07461,
         "ask":0.07475,
         "open":0.07227,
         "volume":10110485.0791,
         "average":0.0725,
         "daily":0.00248,
         "dailyPercent":3.18,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"TRX",
         "order":2022
      },
      {
         "pair":"ADAUSDT",
         "pairNormalized":"ADA_USDT",
         "timestamp":1622451612566,
         "last":1.6250,
         "high":1.6962,
         "low":1.5261,
         "bid":1.6252,
         "ask":1.6280,
         "open":1.6206,
         "volume":3429810.5215,
         "average":1.6179,
         "daily":0.0074,
         "dailyPercent":0.27,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"ADA",
         "order":2002
      },
      {
         "pair":"DOTUSDT",
         "pairNormalized":"DOT_USDT",
         "timestamp":1622451620824,
         "last":20.890,
         "high":21.284,
         "low":19.120,
         "bid":20.881,
         "ask":20.920,
         "open":20.895,
         "volume":43443.40,
         "average":20.57,
         "daily":0.025,
         "dailyPercent":-0.02,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"DOT",
         "order":2009
      },
      {
         "pair":"USDCUSDT",
         "pairNormalized":"USDC_USDT",
         "timestamp":1622451620095,
         "last":0.9989,
         "high":1.0003,
         "low":0.9989,
         "bid":0.9989,
         "ask":1.0000,
         "open":1.0002,
         "volume":73561.30,
         "average":1.00,
         "daily":-0.0002,
         "dailyPercent":-0.13,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"USDC",
         "order":2024
      },
      {
         "pair":"UNIUSDT",
         "pairNormalized":"UNI_USDT",
         "timestamp":1622451621287,
         "last":25.436,
         "high":26.685,
         "low":23.461,
         "bid":25.488,
         "ask":25.982,
         "open":24.661,
         "volume":5894.39,
         "average":24.87,
         "daily":1.321,
         "dailyPercent":3.14,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"UNI",
         "order":2023
      },
      {
         "pair":"ANKRUSDT",
         "pairNormalized":"ANKR_USDT",
         "timestamp":1622451620859,
         "last":0.10200,
         "high":0.10417,
         "low":0.09576,
         "bid":0.10210,
         "ask":0.10240,
         "open":0.09914,
         "volume":3446753.8522,
         "average":0.1004,
         "daily":0.00326,
         "dailyPercent":2.88,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"ANKR",
         "order":2003
      },
      {
         "pair":"MKRUSDT",
         "pairNormalized":"MKR_USDT",
         "timestamp":1622451616271,
         "last":3415.0,
         "high":3444.2,
         "low":3133.9,
         "bid":3417.4,
         "ask":3425.6,
         "open":3299.2,
         "volume":171.13749836,
         "average":3302.68458538,
         "daily":126.4,
         "dailyPercent":3.51,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"MKR",
         "order":2018
      },
      {
         "pair":"ENJUSDT",
         "pairNormalized":"ENJ_USDT",
         "timestamp":1622451614110,
         "last":1.597,
         "high":1.749,
         "low":1.429,
         "bid":1.603,
         "ask":1.608,
         "open":1.606,
         "volume":1328908.68,
         "average":1.60,
         "daily":0.002,
         "dailyPercent":-0.56,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"ENJ",
         "order":2010
      },
      {
         "pair":"OMGUSDT",
         "pairNormalized":"OMG_USDT",
         "timestamp":1622451620022,
         "last":6.303,
         "high":6.952,
         "low":5.800,
         "bid":6.316,
         "ask":6.348,
         "open":6.320,
         "volume":87769.06,
         "average":6.24,
         "daily":0.028,
         "dailyPercent":-0.27,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"OMG",
         "order":2020
      },
      {
         "pair":"COMPUSDT",
         "pairNormalized":"COMP_USDT",
         "timestamp":1622451620485,
         "last":427.5,
         "high":427.7,
         "low":374.3,
         "bid":425.3,
         "ask":427.3,
         "open":390.9,
         "volume":409.63952277,
         "average":404.84151295,
         "daily":36.4,
         "dailyPercent":9.36,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"COMP",
         "order":2007
      },
      {
         "pair":"GRTUSDT",
         "pairNormalized":"GRT_USDT",
         "timestamp":1622451620491,
         "last":0.7401,
         "high":0.7775,
         "low":0.6404,
         "bid":0.7417,
         "ask":0.7492,
         "open":0.6650,
         "volume":592255.5075,
         "average":0.7227,
         "daily":0.0842,
         "dailyPercent":11.29,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"GRT",
         "order":2013
      },
      {
         "pair":"MANAUSDT",
         "pairNormalized":"MANA_USDT",
         "timestamp":1622451620924,
         "last":0.7862,
         "high":0.8376,
         "low":0.7393,
         "bid":0.7875,
         "ask":0.7974,
         "open":0.7877,
         "volume":206584.8551,
         "average":0.7869,
         "daily":0.0097,
         "dailyPercent":-0.19,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"MANA",
         "order":2016
      },
      {
         "pair":"MATICUSDT",
         "pairNormalized":"MATIC_USDT",
         "timestamp":1622451618224,
         "last":1.8710,
         "high":1.9588,
         "low":1.7433,
         "bid":1.8737,
         "ask":1.8762,
         "open":1.8770,
         "volume":4760057.8348,
         "average":1.8717,
         "daily":-0.0008,
         "dailyPercent":-0.32,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"MATIC",
         "order":2017
      },
      {
         "pair":"SNXUSDT",
         "pairNormalized":"SNX_USDT",
         "timestamp":1622451618702,
         "last":12.257,
         "high":12.449,
         "low":11.183,
         "bid":12.259,
         "ask":12.288,
         "open":11.969,
         "volume":31596.06,
         "average":11.87,
         "daily":0.319,
         "dailyPercent":2.41,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"SNX",
         "order":2021
      },
      {
         "pair":"BATUSDT",
         "pairNormalized":"BAT_USDT",
         "timestamp":1622451620958,
         "last":0.7255,
         "high":0.7429,
         "low":0.6649,
         "bid":0.7172,
         "ask":0.7277,
         "open":0.7429,
         "volume":77693.4203,
         "average":0.7146,
         "daily":-0.0152,
         "dailyPercent":-2.34,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"BAT",
         "order":2006
      },
      {
         "pair":"AVAXUSDT",
         "pairNormalized":"AVAX_USDT",
         "timestamp":1622451620541,
         "last":17.198,
         "high":17.453,
         "low":14.000,
         "bid":17.025,
         "ask":17.198,
         "open":17.001,
         "volume":20970.55,
         "average":16.74,
         "daily":0.197,
         "dailyPercent":1.16,
         "denominatorSymbol":"USDT",
         "numeratorSymbol":"AVAX",
         "order":2005
      }
   ],
   "success":true,
   "message":null,
   "code":0
}

Code Example

// You can download ApiClient .net core complete library from github https://github.com/BTCTrader/broker-api-csharp-v2

var configuration = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build();

var publicKey = configuration["publicKey"];
var privateKey = configuration["privateKey"];
var resourceUrl = configuration["resourceUrl"];
var apiClientV1 = new ApiClientV1(publicKey, privateKey, resourceUrl);
var tickerList = apiClientV1.GetTicker("BTCTRY");

if (tickerList.Result.Success)
{
    foreach (var ticker in tickerList.Result.Data)
    {
        Console.WriteLine(ticker.ToString());
    }
}
else
{
    Console.WriteLine(tickerList.Result.ToString());
}

Last updated