GET Latest transaction price query(Latest Price)
Last updated
Was this helpful?
Last updated
Was this helpful?
English /
This interface supports batch requests for the latest trade prices (latest tick data、Latest Price) but does not support requests for historical trade prices (historical tick data).
Free
1、Once every 10 seconds, only 1 request can be made 2、5 products per batch max
1、One request per second.
2、/batch-kline needs 10-second intervals.
3、Total of 10 requests per minute (every 6 seconds).
4、Max 14400 daily requests; excess resets at midnight.
Basic
1、Only 1 request per second 2、Suggest 50 code requests max due to GET URL length limit
1、One request per second.
2、/batch-kline: 1 request every 3 seconds.
3、Total of 60 requests per minute (1 request per second).
4、Max 86400 daily requests; excess resets at midnight.
Premium
1、Up to 10 requests per second 2、Suggest 50 code requests max due to GET URL length limit
1、Combined interfaces: 10 requests/second.
2、/batch-kline: 1 request/2 seconds.
3、Total: 600 requests/minute (10/second).
4、Daily limit: 864,000 requests; reset daily at midnight if exceeded.
Professional
1、Up to 20 requests per second 2、Suggest 50 code requests max due to GET URL length limit
1、Combined interfaces: 20 requests/second.
2、/batch-kline: 1 request/second interval.
3、Total: 1200 requests/minute (20/second).
4、Daily limit: 1,728,000 requests; reset daily at midnight if exceeded.
All HK Stocks
1、Up to 20 requests per second 2、Suggest 50 code requests max due to GET URL length limit
1、Combined interfaces: 20 requests/second.
2、/batch-kline: 1 request/second interval.
3、Total: 1200 requests/minute (20/second).
4、Daily limit: 1,728,000 requests; reset daily at midnight if exceeded.
All CN Stocks
1、Up to 20 requests per second 2、Suggest 50 code requests max due to GET URL length limit
1、Combined interfaces: 20 requests/second.
2、/batch-kline: 1 request/second interval.
3、Total: 1200 requests/minute (20/second).
4、Daily limit: 1,728,000 requests; reset daily at midnight if exceeded.
Please be sure to read:
Please be sure to read:
US Stocks, Hong Kong Stocks, A Shares, Major Index Data API Endpoints:
Base Path: /quote-stock-b-api/trade-tick
Full URL: https://quote.alltick.io/quote-stock-b-api/trade-tick
Forex, Precious Metals, Cryptocurrencies, Commodities API Endpoints:
Base Path: /quote-b-api/trade-tick
Full URL: https://quote.alltick.io/quote-b-api/trade-tick
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:
token
query
string
No
query
query
string
No
See explanation of query request parameters below
Query Request Parameters
The following JSON should be URL-encoded and assigned to the query
query string in the URL.
trace
string
Yes
data
object
Yes
» symbol_list
[object]
Yes
»» code
string
No
Code
Response Example
OK
200
OK
OK
Inline
Status Code 200
» 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
Sequence
»»» tick_time
string
false
Timestamp
»»» price
string
false
Price
»»» volume
string
false
Volume
»»» turnover
string
false
Turnover
»»» trade_direction
integer
false
Trading direction, 0 for default, 1 for BUY, 2 for SELL
Official website:
如果不知道你的token,请联系相关人员索要
65b31e26-312c-4e71-89ae-f5e33073d1c8-1676446387481
请对如下字段进行encode,后台服务收到之后会decode { "trace": "enim occaecat dolore esse voluptate", "data": { "symbol_list": [ { "code": "GBPJPY" }, { "code": "CADJPY" } ] } } trace:追踪码,用来查询日志使用,请保证每次请求时唯一 code:请查看code列表,选择你要查询的code
%7B%20%20%20%20%22trace%22%3A%20%22enim%20occaecat%20dolore%20esse%20voluptate%22%2C%20%20%20%20%22data%22%3A%20%7B%20%20%20%20%20%20%20%20%22symbol_list%22%3A%20%5B%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22BTCUSDT%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22code%22%3A%20%22ETHUSDT%22%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%20%20%20%20%20%20%20%5D%20%20%20%20%7D%7D
OK