Batch Crypto Klines API Multi-Pair Historical Candlestick Data crypto market data API cryptocurrency ticker API REST API Batch query historical K-line data for multiple crypto trading pairs. Supports complete OHLCV data across multiple timeframes, ranging from minute to monthly intervals, with the ability to trace back several years of history. The data is provided in a standardized and uniform format.
Please select
Real-Time Kline
GET
/crypto/klines
Request Parameters
regionenumRequired
BA
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/crypto/klines?region=BA&codes=BTCUSDT,ETHUSDT&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/crypto/klines?region=BA&codes=BTCUSDT,ETHUSDT&kType=2&limit=5
Response Result
{
"code": 0,
"msg": null,
"data": {
"BTCUSDT": [
{
"tu": 1436796.7075754,
"c": 92474.15,
"t": 1741239000000,
"v": 15.54259,
"h": 92500,
"l": 92362,
"o": 92426.53
}
],
"ETHUSDT": [
{
"tu": 1446224.424779,
"c": 2313.91,
"t": 1741239000000,
"v": 625.2005,
"h": 2318.49,
"l": 2307.5,
"o": 2309.89
}
]
}
}- Batch Real-Time DepthCrypto Market
Batch real-time order book depth data for multiple cryptocurrency trading pairs in bulk. Returns the complete buy and sell order book for each trading pair, including multiple price levels and order quantities. Updated at millisecond intervals.
- Forex MarketReal-Time Tick
Real-time transaction data for major global forex exchange currency pairs, including key trading pairs such as EUR, GBP, JPY, and CHF. The data comprises transaction prices, volumes, timestamps, and trade directions, updated with millisecond-level precision.