Endpoints
This section describes how to access real-time and historical market data through our REST APIs. All endpoints support batch queries and follow a consistent RESTful path structure.
1. Batch Candlestick Data Query(Detail Api Desc)
Retrieve multiple candlestick data series for stocks, cryptocurrencies, forex, commodities, or futures in a single request.
1.1 Endpoints
Stocks
data.infoway.io/stock/v2/batch_kline
Crypto
data.infoway.io/crypto/v2/batch_kline
Forex, Commodities, Futures
data.infoway.io/common/v2/batch_kline
1.2 Example
GET https://data.infoway.io/stock/v2/batch_kline2. Batch Trade Details Query(Detail Api Desc)
Retrieve recent trade details for multiple instruments simultaneously.
Stocks
data.infoway.io/stock/batch_trade/{codes}
Crypto
data.infoway.io/crypto/batch_trade/{codes}
Forex, Commodities, Futures
data.infoway.io/common/batch_trade/{codes}
Example
GET https://data.infoway.io/crypto/batch_trade/BTCUSDT,ETHUSDT3. Batch Order Book (Depth) Query(Detail Api Desc)
Retrieve current order book snapshots (bid/ask depth) for multiple symbols at once.
Stocks
data.infoway.io/stock/batch_depth/{codes}
Crypto
data.infoway.io/crypto/batch_depth/{codes}
Forex, Commodities, Futures
data.infoway.io/common/batch_depth/{codes}
Example
GET https://data.infoway.io/common/batch_depth/EURUSD,XAUUSDLast updated
