Quick Start
- Fubon Futures Market Data Web API provides intraday futures/options data for Taiwan.
- Exceeding limits returns status code
429. - SDK examples are available for Python, Node.js, and C#.
| Item | Details |
|---|---|
| Interface | Web API |
| Market | Taiwan futures / options |
| Data types | Intraday |
| Rate limit | 429 on exceed |
| SDK | Python / Node.js / C# |
Fubon Futures Market Data Web API provides developer-friendly services for Taiwan futures and options.
Rate Limit
If your API requests exceed the limit, you will receive a response with a status code 429 ( For detailed limitations, please refer to Rate Limit )
API Category
Web API are categorized based on data types:
/intraday/products- Futures and Options Contract List(Query by conditions)/intraday/tickers- Futures and Options product list(Query by condition)/intraday/quote/{symbol}- Real-time quotes (query by symbol)/intraday/candles/{symbol}- Contract K Line(Query by symbol)/intraday/trades/{symbol}- Contract trade details (query by symbol)/intraday/volumes/{symbol}- Futures and Options price-volume data(query by symbol)
Contract Symbols and Continuous-Month Aliases
Futures and options can be queried with a specific contract symbol that includes a month code, such as TXFG6. Continuous-month aliases are also available so that you can follow a near-month contract without changing the symbol yourself at rollover.
| Alias | Description |
|---|---|
{ROOT}1! | First near-month (front-month) contract. |
{ROOT}2! | Second near-month contract. |
{ROOT}3! | Third near-month contract. |
{ROOT}is the product root. For example,TXFis the Taiwan Stock Index Futures root, soTXF1!represents its front-month contract.- The system resolves an alias to the current specific contract, for example
TXF1!→TXFG6, and rolls it to the new near-month after each settlement. Thesymbolin returned data is the resolved specific contract symbol. - Use continuous-month aliases as
{symbol}with/intraday/ticker,/intraday/quote,/intraday/candles,/intraday/trades, and/intraday/volumes, and with WebSocket subscriptions. - Aliases do not appear in list responses such as
/intraday/productsor/intraday/tickers; query them directly. - Aliases are currently available for
1!,2!, and3!, representing the first through third near-month contracts.
When a quote is queried with a continuous-month alias, the returned symbol is the resolved specific contract:
- Python
- Node.js
restfutopt.intraday.quote(symbol='TXF1!') # Query the front-month Taiwan Stock Index Futures quote with a continuous-month alias.
futopt.intraday.quote({ symbol: 'TXF1!' }); // Query the front-month Taiwan Stock Index Futures quote with a continuous-month alias.
Response body (excerpt; symbol has been resolved to a specific contract):
{
"date": "2026-07-03",
"type": "FUTURE",
"exchange": "TAIFEX",
"symbol": "TXFG6",
"name": "Taiwan Stock Index Futures 076",
"previousClose": 46599,
"openPrice": 45700,
"lastPrice": 46510
}
Using SDK
Fubon Futures Market Data Web API offers Python, Node.js, and C# SDKs. You can access the API through the following methods:
- Python
- Node.js
- C#
from fubon_neo.sdk import FubonSDK, Order
# Since version 2.2.4, add the following import:
# from fubon_neo.fugle_marketdata.rest.base_rest import FugleAPIError
sdk = FubonSDK()
accounts = sdk.login("Your ID", "Your password", "Your cert path", "Your cert password")
sdk.init_realtime()
restfutopt = sdk.marketdata.rest_client.futopt
const { FubonSDK } = require('fubon-neo');
const sdk = new FubonSDK();
const accounts = sdk.login("Your ID", "Your Password", "Your Cert Path", "Your Cert Password");
sdk.initRealtime();
const client = sdk.marketdata.restClient
const futopt = client.futopt;
using FubonNeo.Sdk;
var sdk = new FubonSDK();
var result = sdk.Login("Your ID", "Your password", "Your cert path", "Your cert password");
sdk.InitRealtime();
var rest = sdk.MarketData.RestClient.FutureOption;