Latest transaction information

1. Request Url

https://{host}/marketApi/history/detail

2. Request Param

Parameter nameIs it necessarydescription

channelId

yes

Channel number

timestamp

yes

Millisecond timestamp(UTC+8)

sign

yes

symbol

yes

symbol

3.Request Example

 {
     "channelId":"swft-channel",
     "sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
     "timestamp":"1557653925555",
     "symbol":"BTC/USDT"
 }

4.Response Data

{
    "data":{
        "amount":"19607",
        "close":"64816.58",
        "direction":"sell",
        "high":"66961.43",
        "latestAmount":"0.001731",
        "latestPrice":"64812.59",
        "latestPriceRMB":"414800.57",
        "latestPriceUSDT":"64812.59",
        "low":"63679.00",
        "open":"63780.05",
        "percentage":"+1.59%",
        "ts":1634796068,
        "type":"up",
        "vol":"1281488695"
    },
    "resCode":"800",
    "resMsg":"success",
    "resMsgEn":""
}

5.Response Data Explanation

DescriptionIs ArrayParameter nameData type

amount

Y

amount

String

close

Y

close

String

direction

Y

direction

String

high

Y

high

String

latestAmount

Y

latestAmount

String

latestPrice

Y

latestPrice

String

latestPriceRMB

Y

latestPriceRMB

String

latestPriceUSDT

Y

latestPriceUSDT

String

low

Y

low

String

open

Y

open

String

percentage

Y

percentage

String

ts

Y

ts

String

type

Y

type

String

vol

Y

vol

String

Last updated