Skip to content

Get The Latest Trading Records In Ticker

Description

Get the latest trading records in ticker

HTTP Request

  • GET /open/api/get_trades

Request Parameters

ParameterTypeRequiredDescription
symbolStringYescoin pair, example: btcusdt

Request Example

http
curl 'https://openapi.100ex.com/open/api/get_trades?symbol=btcusdt'

Response Parameters

ParameterTypeDescription
>amountDecimaltrading volume
>priceDecimaltrading price
>ctimeLongdeal time
>idLongtrading record id
>typeStringtrading type: buy, sell

Response Example

json
{
    "code": "0",
    "msg": "suc",
    "data": [
        {
            "amount": 0.0001100000000000,
            "price": 99569.9700000000000000,
            "ctime": 1736146512910,
            "id": 14978463,
            "type": "buy"
        },
        {
            "amount": 0.0001800000000000,
            "price": 99569.9700000000000000,
            "ctime": 1736146512340,
            "id": 14978462,
            "type": "sell"
        }
    ],
    "message": null,
    "traceId": null
}

Status Code

CodeDescription
0success
1system error