Fund Batch K-Line Query API Funds API REST API Provides batch K-line data streams for exchange-traded ETFs and LOFs, fully presenting OHLC indicators such as opening price, highest price, lowest price, closing price, and trading volume for multiple funds. Supports multi-period queries from minute lines to monthly lines, with data adjusted for continuity.

Please select

Real-Time Kline

GET
/fund/klines

Request Parameters

regionenumRequired
US
Market code
codesstringRequired
Product code
kTypeenumRequired
5 minutes
Interval: 1 minute, 2 five minutes, 3 fifteen minutes, 4 thirty minutes, 5 one hour, 8 one day, 9 one week, 10 one month
etstring
When the query end timestamp (e.g., 1751328000000) is empty, it defaults to the current timestamp.
limitstringRequired
Number of records to query

Response Parameters

codenumber
Response code
msgstring
Response description
dataarray(object)
Response result
tunumber
Transaction amount
cnumber
Closing price of the Kline
tnumber
Timestamp
vnumber
Transaction volume
hnumber
Highest price of the Kline
lnumber
Lowest price of the Kline
onumber
Opening price of the Kline

Code Examples

import requests

url = "https://api.itick.org/fund/klines?region=US&codes=QQQ,IEF&kType=2&limit=5"

headers = {
"accept": "application/json"
"token": "Your Token"
}

response = requests.get(url, headers=headers)

print(response.text)

###Query URL

GET
https://api.itick.org/fund/klines?region=US&codes=QQQ,IEF&kType=2&limit=5

Response Result

{
  "code": 0,
  "msg": null,
  "data": {
    "IEF": [
      {
        "tu": 956,
        "c": 95.6,
        "t": 1754608800000,
        "v": 10,
        "h": 95.6,
        "l": 95.6,
        "o": 95.6
      }
    ],
    "QQQ": [
      {
        "tu": 4813493.44,
        "c": 569.24,
        "t": 1754610900000,
        "v": 8456,
        "h": 569.24,
        "l": 569.24,
        "o": 569.24
      }
    ]
  }
}
  1. Batch Real-Time DepthFund Market

    Provides batch real-time order book data streams for exchange-traded ETFs and LOFs, fully presenting multiple levels of buy/sell prices, order volumes, and order book depth for multiple funds. The data is continuously updated in real-time with millisecond latency to ensure accurate synchronization of market depth.

  2. Websocket APICrypto Quotes

    Provides streaming access to the latest data of major global cryptocurrencies, pushing tick transactions, K-line updates, order book depth, and aggregated quotes for mainstream cryptocurrencies such as Bitcoin and Ethereum in real-time. Supports multi-exchange quote aggregation with millisecond-level low-latency delivery.