Skip to main content

Get Trades

  • GET /capi/v2/market/trades

Weight(IP): 5

Request parameters

ParameterTypeRequired?Description
symbolStringYesTrading pair
limitIntegerNoThe size of the data ranges from 1 to 1000, with a default of 100

Request example

curl "https://api-contract.weex.com/capi/v2/market/trades?symbol=cmt_btcusdt&limit=100"

Response parameters

ParameterTypeDescription
ticketIdStringFilled order ID
timeLongThe time at which the order was filled
Unix millisecond timestamp
priceStringThe price at which the order was filled
sizeStringThe quantity that was filled (base currency)
valueStringFilled amount (quote currency)
symbolStringTrading pair
isBestMatchBooleanWas the trade the best price match?
isBuyerMakerBooleanWas the buyer the maker?
contractValStringFutures face value (unit: contracts)

Response example

[
{
"ticketId": "124b129e-3999-4d14-a4b5-9bdda68e5e26",
"time": 1716604853286,
"price": "68734.8",
"size": "0.001",
"value": "68.7348",
"symbol": "cmt_btcusdt",
"isBestMatch": true,
"isBuyerMaker": true,
"contractVal": "0.000001"
}
]