Last trade

method url:/api/third/info/trades

request type:GET

request param:

response param:(Array)

example:

1 Set request parameters, query params:

pairName:ETH-USD
limit:1

2 Assemble the complete request

curl --location 'https://zk-test.satori.finance/api/third/info/trades?pairName=ETH-USD&limit=1'

3 Return results

{
    "error": false,
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "contractMatchPairId": 7843437,
            "contractPairId": 1,
            "pair": null,
            "price": "3203.93",
            "quantity": "1.111",
            "amount": "3559.56623",
            "isLong": true,
            "time": "09:48:45",
            "timestamp": 1714988925000
        }
    ],
    "sid": "1798296230509510659"
}

Error Code:

Last updated