GET Latest transaction price query

English / 中文

Latest transaction price query

Interface Address

  • Base Path: /quote-b-api/depth-tick

  • Full URL: https://quote.tradeswitcher.com/quote-b-api/depth-tick

Request Example

When sending a query request, it must include the method name and token information. An example of a request is as follows:

https://quote.tradeswitcher.com/quote-b-api/trade-tick?token=您的token&query=queryData

最新成交报价查询

GET/quote-b-api/trade-tick
Query parameters
Response

OK

Body
ret*integer

返回code

msg*string

返回code对应消息

trace*string

请求的trace

data*object
Request
const response = await fetch('/quote-b-api/trade-tick?token=text&query=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "msg": "text",
  "trace": "text",
  "data": {
    "tick_list": [
      {
        "code": "text",
        "seq": "text",
        "tick_time": "text",
        "price": "text",
        "volume": "text",
        "turnover": "text"
      }
    ]
  }
}

Official Website

Official website: https://alltick.co/

Last updated