GET Latest handicap quotation query
English / 中文
GET /depth-tick
Please refer to the complete URL in API Address Description
API Endpoints
US Stocks, Hong Kong Stocks, A Shares, Major Index Data API Endpoints:
Base Path:
/quote-stock-b-api/depth-tick
Full URL:
https://quote.tradeswitcher.com/quote-stock-b-api/depth-tick
Forex, Precious Metals, Cryptocurrencies, Commodities API Endpoints:
Base Path:
/quote-b-api/depth-tick
Full URL:
https://quote.tradeswitcher.com/quote-b-api/depth-tick
Request Examples
Request Example for US Stocks, Hong Kong Stocks, A Shares, Major Index Data: When sending a query request, you must include the method name and token information. An example request is as follows:
Request Example for Forex, Precious Metals, Cryptocurrencies, Commodities: When sending a query request, you must include the method name and token information. An example request is as follows:
Request Parameters
token
query
string
No
query
query
string
No
See explanation for query request parameters
Query Request Parameters
Encode the following JSON into URL format and assign it to the query
query string in the URL.
Query Request Parameters
trace
string
Yes
data
object
Yes
» symbol_list
[object]
Yes
» » code
string
No
Code
Response Example
Response Result
200
OK
OK
Inline
» ret
integer
true
Return code
» msg
string
true
Message corresponding to the return code
» trace
string
true
Request trace
» data
object
true
»» tick_list
[object]
true
»» » code
string
false
Code
»» » seq
string
false
Quote sequence number
»» » tick_time
string
false
Quote timestamp
»» » bids
[object]
false
Bid list
»» »» price
string
false
Price
»» »» volume
string
false
Volume
»» » asks
[object]
false
Ask list
»» »» price
string
false
Price
»» »» volume
string
false
Volume
Official Website
Official website: https://alltick.co/
Last updated