Forex
Market Code
gbProduct Code
EURUSD0: Success
Exists when not equal to 0
GET /forex/base?region=text&code=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "839.HK",
"nc": "Zhongjiao Holdings",
"ne": "CHINA EDU GROUP",
"nh": "Zhongjiao Holdings",
"e": "SEHK",
"c": "HKD",
"l": 1000,
"t": 2713791221,
"cs": 2713791221,
"hs": 2713791221,
"ep": 0.5555219630532146,
"ept": 0.5984943570767414,
"bps": 6.618762900073513,
"dy": 0.3387696962454725,
"b": "HKEquity"
}
}Market Code
gbProduct Code
EURUSDResponse Code, 0: Success
Exception Information, exists when not equal to 0
GET /forex/tick?region=text&code=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "BA_BTC_USDT",
"ld": 67600,
"t": 1729087440311,
"v": 0.02989,
"tu": 2020.564,
"ts": 0
}
}Market Code
gbProduct Code
EURUSD0: Success
Exists when not equal to 0
GET /forex/depth?region=text&code=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "BA_BTC_USDT",
"a": [
{
"po": 1,
"p": 67800,
"v": 0.36339,
"o": 0.36339
},
{
"po": 2,
"p": 67800.04,
"v": 0.00037,
"o": 0.00037
},
{
"po": 3,
"p": 67800.28,
"v": 0.00018,
"o": 0.00018
},
{
"po": 4,
"p": 67800.51,
"v": 0.00019,
"o": 0.00019
},
{
"po": 5,
"p": 67800.52,
"v": 0.0001,
"o": 0.0001
}
],
"b": [
{
"po": 1,
"p": 67799.99,
"v": 2.49817,
"o": 2.49817
},
{
"po": 2,
"p": 67799.98,
"v": 0.06575,
"o": 0.06575
},
{
"po": 3,
"p": 67799.96,
"v": 0.09079,
"o": 0.09079
},
{
"po": 4,
"p": 67799.95,
"v": 0.1001,
"o": 0.1001
},
{
"po": 5,
"p": 67799.05,
"v": 0.0001,
"o": 0.0001
}
]
}
}Market Code
gbProduct Code
EURUSDCycle 1 minute, 2 five minutes, 3 ten minutes, 4 thirty minutes, 5 one hour, 6 two hours, 7 four hours, 8 one day, 9 one week, 10 one month
1Query deadline
1741239240000Query number
1000: Success
Exists when not equal to 0
GET /forex/kline?region=text&code=text&kType=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": [
{
"tu": 7,
"c": 1.568,
"t": 1729090560000,
"v": 4,
"h": 1.568,
"l": 1.568,
"o": 1.568
}
]
}Market Code
gbProduct Code
EURUSDResponse Code, 0: Success
Exception Information, exists when not equal to 0
GET /forex/quote?region=text&code=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "BA_BTC_USDT",
"ld": 67600,
"t": 1729087440311,
"v": 0.02989,
"tu": 2020.564,
"ts": 0
}
}Market Code
gbProduct Code
EURUSD,GBPUSDCycle 1 minute, 2 five minutes, 3 ten minutes, 4 thirty minutes, 5 one hour, 6 two hours, 7 four hours, 8 one day, 9 one week, 10 one month
1Query deadline
1741239240000Query number
100Return Result
Response Code 0: Success
Exception Information exists when not equal to 0
GET /forex/klines?region=text&codes=text&kType=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": [
{
"tu": 7,
"c": 1.568,
"t": 1729090560000,
"v": 4,
"h": 1.568,
"l": 1.568,
"o": 1.568
}
]
}Market Code
gbProduct Code
EURUSD,GBPUSDReturn Result
Response Code, 0: Success
Exception Information, exists when not equal to 0
GET /forex/ticks?region=text&codes=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "BTCUSDT",
"ld": 67600,
"t": 1729087440311,
"v": 0.02989,
"tu": 2020.564,
"ts": 0
}
}Market Code
gbProduct Code
EURUSD,GBPUSDReturn Result
Response Code, 0: Success
Exception Information, exists when not equal to 0
GET /forex/quotes?region=text&codes=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "BTCUSDT",
"ld": 67600,
"t": 1729087440311,
"v": 0.02989,
"tu": 2020.564,
"ts": 0
}
}Market Code
gbProduct Code
EURUSD,GBPUSDResponse Code, 0: Success
Exception Information, exists when not equal to 0
GET /forex/depths?region=text&codes=text HTTP/1.1
Host: api.itick.org
Accept: */*
{
"code": 0,
"msg": null,
"data": {
"s": "BA_BTC_USDT",
"a": [
{
"po": 1,
"p": 67800,
"v": 0.36339,
"o": 0.36339
},
{
"po": 2,
"p": 67800.04,
"v": 0.00037,
"o": 0.00037
},
{
"po": 3,
"p": 67800.28,
"v": 0.00018,
"o": 0.00018
},
{
"po": 4,
"p": 67800.51,
"v": 0.00019,
"o": 0.00019
},
{
"po": 5,
"p": 67800.52,
"v": 0.0001,
"o": 0.0001
}
],
"b": [
{
"po": 1,
"p": 67799.99,
"v": 2.49817,
"o": 2.49817
},
{
"po": 2,
"p": 67799.98,
"v": 0.06575,
"o": 0.06575
},
{
"po": 3,
"p": 67799.96,
"v": 0.09079,
"o": 0.09079
},
{
"po": 4,
"p": 67799.95,
"v": 0.1001,
"o": 0.1001
},
{
"po": 5,
"p": 67799.05,
"v": 0.0001,
"o": 0.0001
}
]
}
}Last updated