Skip to main content

Quick Start

Key takeaways
  • 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#.
ItemDetails
InterfaceWeb API
MarketTaiwan futures / options
Data typesIntraday
Rate limit429 on exceed
SDKPython / 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:

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.

AliasDescription
{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, TXF is the Taiwan Stock Index Futures root, so TXF1! 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. The symbol in 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/products or /intraday/tickers; query them directly.
  • Aliases are currently available for 1!, 2!, and 3!, 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:

restfutopt.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:

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