Stock Tick API Real-Time Transactions free stock APIs REST API Provide flexible and customizable batch real-time Tick data interface. You can freely create and manage multiple stock watchlists, and the API will only push real-time transaction-by-transaction trades and order book changes for the combinations you subscribe to.
Please select
Batch Real-Time Tick
GET
/stock/ticks
Request Parameters
regionenumRequired
Hong Kong
Market code, supports HK(Hong Kong)、SH(Shanghai)、SZ(Shenzhen)、US(US stocks)、SG(Singapore)、JP(Japan)、TW(Taiwan)、IN(India)、TH(Thailand)、DE(Germany)、MX(Mexico)、MY(Malaysia)、TR(Turkey)、ES(Spain)、NL(Netherlands)、GB(Great Britain)etc.
codesstringRequired
Product codes
Response Parameters
codenumber
Response code
msgstring
Response description
dataobject
Response result
sstring
Symbol code
ldnumber
Latest price
tnumber
Timestamp of the latest transaction
vnumber
Transaction volume
tenumber
Trading Session 0: Regular Trading Hours (RTH) 1: Pre-Market Trading 2: After-Hours Trading
Code Examples
import requests
url = "https://api.itick.org/stock/ticks?region=HK&codes=700,9988"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
Query URL
GET
https://api.itick.org/stock/ticks?region=HK&codes=700,9988
Response Result
{
"code": 0,
"msg": null,
"data": {
"700": {
"s": "700",
"ld": 567,
"t": 1754554087000,
"v": 1134500,
"te": 0
},
"9988": {
"s": "9988",
"ld": 119.2,
"t": 1754554087000,
"v": 3931400,
"te": 0
}
}
}- Real-Time KlineStock Market
Complete K-line data for global stocks, covering thousands of stocks in global markets including A-shares, US stocks, and Hong Kong stocks. Include standard OHLC fields such as opening price, highest price, lowest price, closing price, and trading volume, support multi-time period queries from minute lines to monthly lines, and provide adjustment factors to ensure data accuracy.
- Stock MarketBatch Real-Time Quote
Batch obtain real-time quote data for multiple stocks, covering multiple global major markets including A-shares, US stocks, and Hong Kong stocks. Provide complete market indicators for each stock such as latest price, price change, trading volume, turnover, and turnover rate, with millisecond-level latency ensuring data timeliness.