Quick Start
Fugle Market Web API provides developer-friendly API services. You can access data such as daily stock market information, snapshots, and historical market data for the Taiwan stock market。
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
API are categorized based on data types into intraday(盤中行情)、snapshot(行情快照)、historical(歷史行情)
/intraday/tickers
- Stock or index lists (query by conditions)/intraday/ticker/{symbol}
- Stock information (query by stock number)/intraday/quote/{symbol}
- Real-time quotes (query by stock number)/intraday/candles/{symbol}
- Stock KLine(query by stock number)/intraday/trades/{symbol}
- Stock trade details (query by stock number)./intraday/volumes/{symbol}
- Stock price-volume data(query by stock number)/snapshot/quotes/{market}
- Stock market snapshot (by market type)./snapshot/movers/{market}
- Stock price change ranking (by market type)/snapshot/actives/{market}
- Stock trading value ranking (by market type)./historical/candles/{symbol}
- Retrieve historical stock prices within 1 year (query by stock number))/historical/stats/{symbol}
- Retrieve recent 52-week stock price data (query by stock number)
Using SDK
Fugle Market 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
sdk = FubonSDK()
accounts = sdk.login("Your ID", "Your password", "Your cert path", "Your cert password")
sdk.init_realtime() # Establish market-data
reststock = sdk.marketdata.rest_client.stock
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(); // Establish market-data
const client = sdk.marketdata.restClient
const stock = client.stock;
using FubonNeo.Sdk;
var sdk = new FubonSDK();
var result = sdk.Login("Your ID", "Your password", "Your cert path","Your cert password");
sdk.InitRealtime(); // Establish market-data
var rest = sdk.MarketData.RestClient.Stock;