Get Trades
2 parameters can be used for the trades enpoint:
pairSymbol
last
You can send pairSymbol parameter in this format
BTCUSDT
Max of 50 latest trades can be used for the
trades
parameter
There are 2 possible options:
Without last
parameter
https://api.btcturk.com/api/v2/trades?pairSymbol=BTCUSDT
Default 50 trades of BTCUSDT
With last
parameter
https://api.btcturk.com/api/v2/trades?pairSymbol=BTCUSDT&last=30
30 trades of BTCUSDT
Trades
GET
https://api.btcturk.com/api/v2/trades
Query Parameters
Name
Type
Description
pairSymbol
string
BTCTRY, ETHTRY etc.
last
integer
Indicates how many last trades you want. Max is 50.
Code Example
Last updated
Was this helpful?