### GET /company/newlisting Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves information about recently listed companies. ```APIDOC ## GET /company/newlisting ### Description Retrieves information about recently listed companies. ### Method GET ### Endpoint /company/newlisting ### Responses #### Success Response (200) - **Code** (string) - Company code - **Company** (string) - Company name - **ApplicationDate** (string) - Application date - **Chairman** (string) - Chairman - **AmountofCapital** (string) - Amount of capital at application (in NTD) - **CommitteeDate** (string) - Committee review date - **ApprovedDate** (string) - Stock exchange board approval date - **AgreementDate** (string) - Agreement date for reporting to the competent authority (main responsible authority) - **ListingDate** (string) - Securities and Futures Bureau approval date for listing agreement - **ApprovedListingDate** (string) - Stock trading listing date - **Underwriter** (string) - Underwriter - **UnderwritingPrice** (string) - Underwriting price - **Note** (string) - Remarks #### Response Example ```json { "Code": "5432", "Company": "Example New Corp.", "ApplicationDate": "2023-05-01", "Chairman": "Jane Smith", "AmountofCapital ": "500000000", "CommitteeDate": "2023-06-15", "ApprovedDate": "2023-07-10", "AgreementDate": "2023-07-20", "ListingDate": "2023-08-01", "ApprovedListingDate": "2023-08-15", "Underwriter": "Another Securities", "UnderwritingPrice": "30", "Note": "" } ``` ``` -------------------------------- ### GET /holidaySchedule/holidaySchedule Source: https://openapi.twse.com.tw Retrieves the market opening and closing schedule. ```APIDOC ## GET /holidaySchedule/holidaySchedule ### Description Retrieves the official schedule of market opening and closing dates for the centralized securities trading market. ### Method GET ### Endpoint /holidaySchedule/holidaySchedule ### Response #### Success Response (200) - **data** (array) - List of market holiday and business day information. ``` -------------------------------- ### GET /company/applylistingLocal Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves information on domestic companies applying for listing. ```APIDOC ## GET /company/applylistingLocal ### Description Retrieves information on domestic companies that have applied for listing on the stock exchange. ### Method GET ### Endpoint /company/applylistingLocal ### Query Parameters None ### Request Body None ### Response #### Success Response (200) - **Code** (string) - Company code. - **Company** (string) - Company name. - **ApplicationDate** (string) - Application date. - **Chairman** (string) - Chairman's name. - **AmountofCapital** (string) - Amount of capital (in NTD). - **CommitteeDate** (string) - Date of the committee review for listing. - **ApprovedDate** (string) - Date approved by the board of directors for listing. - **AgreementDate** (string) - Date of the listing agreement report. - **ListingDate** (string) - Date approved by the FSC for listing. - **ApprovedListingDate** (string) - Date of the stock transaction agreement. - **Underwriter** (string) - Underwriter. - **UnderwritingPrice** (string) - Underwriting price. - **Note** (string) - Remarks. #### Response Example ```json { "Code": "1234", "Company": "Example Corp.", "ApplicationDate": "2023-01-15", "Chairman": "John Doe", "AmountofCapital": "1000000000", "CommitteeDate": "2023-03-20", "ApprovedDate": "2023-04-10", "AgreementDate": "2023-04-25", "ListingDate": "2023-05-01", "ApprovedListingDate": "2023-05-15", "Underwriter": "ABC Securities", "UnderwritingPrice": "50.00", "Note": "" } ``` ``` -------------------------------- ### GET /news/eventList Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves information about stock exchange events. ```APIDOC ## GET /news/eventList ### Description Retrieves information about stock exchange events. ### Method GET ### Endpoint /news/eventList ### Responses #### Success Response (200) - **No** (string) - Index number - **Title** (string) - Event title - **Details** (string) - Detailed content of the event #### Response Example ```json { "No": "1", "Title": "Example Event Title", "Details": "Detailed information about the event." } ``` ``` -------------------------------- ### GET /opendata/t187ap03_L Source: https://openapi.twse.com.tw Retrieves the basic information for listed companies. ```APIDOC ## GET /opendata/t187ap03_L ### Description Retrieves the basic information for all listed companies on the Taiwan Stock Exchange. ### Method GET ### Endpoint /opendata/t187ap03_L ### Response #### Success Response (200) - **data** (array) - List of company basic information objects. ``` -------------------------------- ### GET /brokerService/brokerList Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves basic information for all securities broker companies. ```APIDOC ## GET /brokerService/brokerList ### Description Retrieves basic information for securities broker companies. ### Method GET ### Endpoint /brokerService/brokerList ### Response #### Success Response (200) - **Code** (string) - 證券商代號 - **Name** (string) - 證券商名稱 - **EstablishmentDate** (string) - 開業日 - **Address** (string) - 地址 - **Telephone** (string) - 電話 ``` -------------------------------- ### GET /opendata/t187ap37_L Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves basic information for listed securities. ```APIDOC ## GET /opendata/t187ap37_L ### Description Retrieves basic information for listed securities. ### Method GET ### Endpoint /opendata/t187ap37_L ### Query Parameters None ### Responses #### Success Response (200) - **入表散朕** (string) - 入表散朕 - **权證䄖虐** (string) - 权證䄖虐 - **权證牲礱** (string) - 权證牲礱 - **权證類型** (string) - 权證類型 - **類別** (string) - 類別 - **攔分量提供者報價方式** (string) - 攔分量提供者報價方式 - **履約開始散** (string) - 履約開始散 - **最後交易散** (string) - 最後交易散 - **履約截止散** (string) - 履約截止散 - **發行單位數量(令單位)** (string) - 發行單位數量(令單位) - **結算方式(詳附註編號說明)** (string) - 結算方式(詳附註編號說明) - **標的證券/指數** (string) - 標的證券/指數 - **最新標的履約配發數量(權單位权證)** (string) - 最新標的履約配發數量(權單位权證) - **原始履約** (string) - 原始履約 #### Response Example { "example": "{\"data\":[{\"report_date\":\"2023-10-26\",\"security_id\":\"2330\",\"security_name\":\"TSMC\",\"security_type\":\"Common Stock\",\"category\":\"Semiconductor\",\"market_maker_pricing_method\":\"Auction\",\"contract_start_date\":\"2023-01-01\",\"last_trade_date\":\"2023-12-31\",\"contract_end_date\":\"2023-12-31\",\"issued_shares_quantity\":\"10000000\",\"calculation_method\":\"Method A\",\"underlying_security_index\":\"TWSE Index\",\"latest_contract_issue_quantity\":\"500000\",\"original_contract\":\"Yes\"}]}" } ``` -------------------------------- ### GET /exchangeReport/STOCK_DAY_ALL Source: https://openapi.twse.com.tw Retrieves daily trading information for all listed stocks. ```APIDOC ## GET /exchangeReport/STOCK_DAY_ALL ### Description Retrieves the daily trading statistics for all listed stocks, including volume, price, and turnover. ### Method GET ### Endpoint /exchangeReport/STOCK_DAY_ALL ### Response #### Success Response (200) - **data** (array) - Daily trading data for all listed stocks. ``` -------------------------------- ### GET /exchangeReport/FMSRFK_ALL Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves monthly trading information for all listed stocks. ```APIDOC ## GET /exchangeReport/FMSRFK_ALL ### Description Retrieves monthly trading information for all listed stocks. ### Method GET ### Endpoint /exchangeReport/FMSRFK_ALL ### Response #### Success Response (200) - **Month** (string) - 月份 - **Code** (string) - 股票代號 - **Name** (string) - 股票名稱 - **HighestPrice** (string) - 最高價 - **LowestPrice** (string) - 最低價 - **WeightedAvgPriceAB** (string) - 加權(A/B)平均價 - **Transaction** (string) - 成交筆數 - **TradeValueA** (string) - 成交金額(A) - **TradeVolumeB** (string) - 成交股數(B) ``` -------------------------------- ### GET /opendata/t187ap05_L Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves the monthly revenue summary for listed companies. ```APIDOC ## GET /opendata/t187ap05_L ### Description Retrieves the monthly revenue summary for listed companies. ### Method GET ### Endpoint /opendata/t187ap05_L ### Response #### Success Response (200) - **出表日期** (string) - 出表日期 - **資料年月** (string) - 資料年月 - **公司代號** (string) - 公司代號 - **公司名稱** (string) - 公司名稱 - **產業別** (string) - 產業別 - **營業收入-當月營收** (string) - 營業收入-當月營收 - **營業收入-上月營收** (string) - 營業收入-上月營收 - **營業收入-去年當月營收** (string) - 營業收入-去年當月營收 - **營業收入-上月比較增減(%)** (string) - 營業收入-上月比較增減(%) - **營業收入-去年同月增減(%)** (string) - 營業收入-去年同月增減(%) - **累計營業收入-當月累計營收** (string) - 累計營業收入-當月累計營收 - **累計營業收入-去年累計營收** (string) - 累計營業收入-去年累計營收 - **累計營業收入-前期比較增減(%)** (string) - 累計營業收入-前期比較增減(%) - **備註** (string) - 備註 ``` -------------------------------- ### GET /opendata/t187ap47_L Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves the summary table of basic fund information. ```APIDOC ## GET /opendata/t187ap47_L ### Description Retrieves the summary table of basic fund information. ### Method GET ### Endpoint /opendata/t187ap47_L ### Response #### Success Response (200) - **出表日期** (string) - 出表日期 - **基金代號** (string) - 基金代號 - **基金簡稱** (string) - 基金簡稱 - **基金類型** (string) - 基金類型 - **基金中文名稱** (string) - 基金中文名稱 - **基金英文名稱** (string) - 基金英文名稱 - **標的指數/追蹤指數名稱** (string) - 標的指數/追蹤指數名稱 - **標的指數是否為客製化或需揭露相關資訊之指數** (string) - 標的指數是否為客製化或需揭露相關資訊之指數 - **股票及債券投資比例說明** (string) - 股票及債券投資比例說明 - **是否設有績效指標** (string) - 是否設有績效指標 - **績效指標中文名稱** (string) - 績效指標中文名稱 - **績效指標英文名稱** (string) - 績效指標英文名稱 #### Response Example { "出表日期": "2023-10-27", "基金代號": "0050", "基金簡稱": "元大台灣50", "基金類型": "ETF", "基金中文名稱": "元大台灣卓越50證券投資信託基金", "基金英文名稱": "Yuanta/P-shares Taiwan Top 50 ETF", "標的指數/追蹤指數名稱": "臺灣50指數", "標的指數是否為客製化或需揭露相關資訊之指數": "否", "股票及債券投資比例說明": "依公開說明書規定", "是否設有績效指標": "是", "績效指標中文名稱": "臺灣50指數", "績效指標英文名稱": "Taiwan 50 Index" } ``` -------------------------------- ### GET /exchangeReport/TWT48U_ALL Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves the list of listed stock ex-dividend and ex-rights information. ```APIDOC ## GET /exchangeReport/TWT48U_ALL ### Description Retrieves the listed stock ex-dividend and ex-rights information report. ### Method GET ### Endpoint /exchangeReport/TWT48U_ALL ### Response #### Success Response (200) - **Date** (string) - Ex-dividend date - **Code** (string) - Stock code - **Name** (string) - Name - **Exdividend** (string) - Ex-dividend information - **StockDividendRatio** (string) - Stock dividend ratio - **SubscriptionRatio** (string) - Cash capital increase allotment ratio - **SubscriptionPricePerShare** (string) - Cash capital increase subscription price - **CashDividend** (string) - Cash dividend - **SharesOffered** (string) - Public offering shares - **SharesEmpOwner** (string) - Employee subscription shares - **SharesholderOwner** (string) - Original shareholder subscription shares - **StockHoldingRatio** (string) - Subscription ratio based on shareholding ``` -------------------------------- ### GET /exchangeReport/MI_5MINS Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves 5-second interval order and transaction statistics. ```APIDOC ## GET /exchangeReport/MI_5MINS ### Description Retrieves 5-second interval order and transaction statistics. ### Method GET ### Endpoint /exchangeReport/MI_5MINS ### Response #### Success Response (200) - **Time** (string) - Time - **AccBidOrders** (string) - Accumulated buy orders - **AccBidVolume** (string) - Accumulated buy volume - **AccAskOrders** (string) - Accumulated sell orders - **AccAskVolume** (string) - Accumulated sell volume - **AccTransaction** (string) - Accumulated transactions - **AccTradeVolume** (string) - Accumulated trade volume - **AccTradeValue** (string) - Accumulated trade value ``` -------------------------------- ### GET /exchangeReport/FMTQIK Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves daily market transaction information for the centralized market. ```APIDOC ## GET /exchangeReport/FMTQIK ### Description Retrieves daily market transaction information for the centralized market. ### Method GET ### Endpoint /exchangeReport/FMTQIK ### Response #### Success Response (200) - **Date** (string) - Date - **TradeVolume** (string) - Trade volume (shares) - **TradeValue** (string) - Trade value - **Transaction** (string) - Number of transactions - **TAIEX** (string) - TAIEX Index - **Change** (string) - Change in points ``` -------------------------------- ### GET /news/newsList Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves the latest news from the Taiwan Stock Exchange. ```APIDOC ## GET /news/newsList ### Description Retrieves the latest news from the Taiwan Stock Exchange. ### Method GET ### Endpoint /news/newsList ### Response #### Success Response (200) - **Title** (string) - 標題 - **Url** (string) - 連結 - **Date** (string) - 日期 ``` -------------------------------- ### GET /announcement/punish Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves centralized market announcements regarding stock dispositions. ```APIDOC ## GET /announcement/punish ### Description Retrieves centralized market announcements regarding stock dispositions, including details on the reasons, period, and measures taken. ### Method GET ### Endpoint /announcement/punish ### Response #### Success Response (200) - **Number** (string) - Sequential number. - **Date** (string) - Announcement date. - **Code** (string) - Security code. - **Name** (string) - Security name. - **NumberOfAnnouncement** (string) - Cumulative number. - **ReasonsOfDisposition** (string) - Disposition reasons. - **DispositionPeriod** (string) - Disposition period. - **DispositionMeasures** (string) - Disposition measures. - **Detail** (string) - Disposition details. - **LinkInformation** (string) - Remarks. #### Response Example { "Number": "1", "Date": "2023-10-27", "Code": "2330", "Name": "TSMC", "NumberOfAnnouncement": "100", "ReasonsOfDisposition": "Violation of regulations", "DispositionPeriod": "2023-10-27 to 2023-11-27", "DispositionMeasures": "Fine", "Detail": "Details of the disposition.", "LinkInformation": "Additional information link." } ``` -------------------------------- ### GET /opendata/t187ap06_L_basi Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves the comprehensive income statement for listed financial institutions. ```APIDOC ## GET /opendata/t187ap06_L_basi ### Description Retrieves the comprehensive income statement for listed financial institutions. ### Method GET ### Endpoint /opendata/t187ap06_L_basi ### Response #### Success Response (200) - **出表日期** (string) - 出表日期 - **年度** (string) - 年度 - **季別** (string) - 季別 - **公司代號** (string) - 公司代號 - **公司名稱** (string) - 公司名稱 - **利息淨收益** (string) - 利息淨收益 - **利息以外淨損益** (string) - 利息以外淨損益 - **呆帳費用、承諾及保證責任準備提存** (string) - 呆帳費用、承諾及保證責任準備提存 - **營業費用** (string) - 營業費用 - **繼續營業單位稅前淨利(淨損)** (string) - 繼續營業單位稅前淨利(淨損) - **所得稅費用(利益)** (string) - 所得稅費用(利益) - **繼續營業單位本期淨利(淨損)** (string) - 繼續營業單位本期淨利(淨損) ``` -------------------------------- ### GET /exchangeReport/BWIBBU_ALL Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves daily P/E ratio, dividend yield, and P/B ratio for listed stocks. ```APIDOC ## GET /exchangeReport/BWIBBU_ALL ### Description Retrieves daily P/E ratio, dividend yield, and P/B ratio for listed stocks. ### Method GET ### Endpoint /exchangeReport/BWIBBU_ALL ### Response #### Success Response (200) - **Date** (string) - 日期 - **Code** (string) - 股票代號 - **Name** (string) - 股票名稱 - **PEratio** (string) - 本益比 - **DividendYield** (string) - 殖利率(%) - **PBratio** (string) - 股價淨值比 ``` -------------------------------- ### GET /company/applylistingForeign Source: https://openapi.twse.com.tw/v1/swagger.json Lists foreign companies applying for listing on the stock exchange. ```APIDOC ## GET /company/applylistingForeign ### Description Lists foreign companies applying for listing on the stock exchange. ### Method GET ### Endpoint /company/applylistingForeign ### Responses #### Success Response (200) - **No** (string) - Index - **Code** (string) - Company code - **Company** (string) - Company name - **ApplicationDate** (string) - Application date - **Chairman** (string) - Chairman - **AmountofCapital** (string) - Amount of capital at application (in NTD) - **CommitteeDate** (string) - Committee review date - **ApprovedDate** (string) - Stock exchange board approval date - **AgreementDate** (string) - Agreement date for reporting to the competent authority (main responsible authority) - **ListingDate** (string) - Stock trading listing date - **Underwriter** (string) - Underwriter - **UnderwritingPrice** (string) - Underwriting price - **Note** (string) - Remarks #### Response Example ```json { "No": "1", "Code": "1234", "Company": "Example Foreign Corp.", "ApplicationDate": "2023-01-01", "Chairman": "John Doe", "AmountofCapital ": "1000000000", "CommitteeDate": "2023-02-15", "ApprovedDate": "2023-03-10", "AgreementDate": "2023-03-20", "ListingDate": "2023-04-01", "Underwriter": "Example Securities", "UnderwritingPrice": "50", "Note": "" } ``` ``` -------------------------------- ### GET /websites/openapi_twse_tw_v1 Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves a summary table of shareholder shareholding percentages for listed companies. ```APIDOC ## GET /websites/openapi_twse_tw_v1 ### Description Retrieves a summary table of shareholder shareholding percentages for listed companies. ### Method GET ### Endpoint /websites/openapi_twse_tw_v1 ### Parameters #### Query Parameters - **response_type** (string) - Required - Specifies the response format (e.g., "json", "csv"). ### Response #### Success Response (200) - **出表日期** (string) - The date the data was published. - **百分比** (string) - The shareholding percentage. - **公司名稱** (string) - The company's name. #### Response Example { "出表日期": "2023-10-27", "百分比": "10.5%", "公司名稱": "台積電" } ``` -------------------------------- ### GET /opendata/t187ap07_X_fh Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves the balance sheet for financial holding companies. ```APIDOC ## GET /opendata/t187ap07_X_fh ### Description Retrieves the balance sheet for financial holding companies, including various asset and liability details. ### Method GET ### Endpoint /opendata/t187ap07_X_fh ### Query Parameters - **response**: (string) - Specifies the desired response format (e.g., "json", "csv"). ### Response #### Success Response (200) - **出表日期** (string) - Reporting date. - **年度** (string) - Fiscal year. - **季別** (string) - Fiscal quarter. - **公司代號** (string) - Company code. - **公司名稱** (string) - Company name. - **現金及約當現金** (string) - Cash and cash equivalents. - **存放央行及同業款項** (string) - Deposits with central banks and financial institutions. - **透過損益按公允價值衡量之金融資產** (string) - Financial assets through profit or loss measured at fair value. - **透過其他綜合損益按公允價值衡量之金融資產** (string) - Financial assets through other comprehensive income measured at fair value. - **按攤銷後成本衡量之債務工具投資** (string) - Debt instruments measured at amortized cost. - **避險之衍生金融資產** (string) - Hedging derivatives assets. - **附賣回票券及債券投資** (string) - Investments in bills and bonds with resale agreements. - **應收款項-淨額** (string) - Accounts receivable, net. - **當期所得稅資產** (string) - Current tax assets. - **待出售資產-淨額** (string) - Assets held for sale, net. - **空格** (string) - Placeholder. - **貼現及放款-淨額** (string) - Discounts and loans, net. - **再保險合約資產-淨額** (string) - Reinsurance contract assets, net. - **採用權益法之投資-淨額** (string) - Investments accounted for using the equity method, net. - **受限制資產-淨額** (string) - Restricted assets, net. - **其他金融資產-淨額** (string) - Other financial assets, net. - **投資性不動產-淨額** (string) - Investment property, net. - **不動產及設備-淨額** (string) - Property and equipment, net. - **使用權資產-淨額** (string) - Right-of-use assets, net. - **無形資產-淨額** (string) - Intangible assets, net. #### Response Example ```json { "出表日期": "2023-03-31", "年度": "2023", "季別": "1", "公司代號": "2882", "公司名稱": "國泰金控", "現金及約當現金": "123456789", "存放央行及同業款項": "987654321", "透過損益按公允價值衡量之金融資產": "112233445", "透過其他綜合損益按公允價值衡量之金融資產": "556677889", "按攤銷後成本衡量之債務工具投資": "998877665", "避險之衍生金融資產": "123123123", "附賣回票券及債券投資": "456456456", "應收款項-淨額": "789789789", "當期所得稅資產": "321321321", "待出售資產-淨額": "654654654", "空格": "", "貼現及放款-淨額": "987987987", "再保險合約資產-淨額": "123456789", "採用權益法之投資-淨額": "987654321", "受限制資產-淨額": "112233445", "其他金融資產-淨額": "556677889", "投資性不動產-淨額": "998877665", "不動產及設備-淨額": "123123123", "使用權資產-淨額": "456456456", "無形資產-淨額": "789789789" } ``` ``` -------------------------------- ### GET /exchangeReport/STOCK_DAY_AVG_ALL Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves daily closing prices and monthly average prices for listed stocks. ```APIDOC ## GET /exchangeReport/STOCK_DAY_AVG_ALL ### Description Retrieves daily closing prices and monthly average prices for listed stocks. ### Method GET ### Endpoint /exchangeReport/STOCK_DAY_AVG_ALL ### Response #### Success Response (200) - **Date** (string) - 日期 - **Code** (string) - 股票代號 - **Name** (string) - 股票名稱 - **ClosingPrice** (string) - 收盤價 - **MonthlyAveragePrice** (string) - 月平均價 ``` -------------------------------- ### GET /opendata/t187ap03_P Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves basic information for publicly listed companies. ```APIDOC ## GET /opendata/t187ap03_P ### Description Retrieves the basic information of publicly listed companies. ### Method GET ### Endpoint /opendata/t187ap03_P ### Response #### Success Response (200) - **出表日期** (string) - 出表日期 - **公司代號** (string) - 公司代號 - **公司名稱** (string) - 公司名稱 - **公司簡稱** (string) - 公司簡稱 - **外國企業註冊地國** (string) - 外國企業註冊地國 - **產業別** (string) - 產業別 - **住址** (string) - 住址 - **營利事業統一編號** (string) - 營利事業統一編號 - **董事長** (string) - 董事長 - **總經理** (string) - 總經理 - **發言人** (string) - 發言人 - **發言人職稱** (string) - 發言人職稱 - **代理發言人** (string) - 代理發言人 - **總機電話** (string) - 總機電話 - **成立日期** (string) - 成立日期 - **上市日期** (string) - 上市日期 - **普通股每股面額** (string) - 普通股每股面額 - **實收資本額** (string) - 實收資本額 - **私募股數** (string) - 私募股數 - **特別股** (string) - 特別股 - **編制財務報表類型** (string) - 編制財務報表類型 - **股票過戶機構** (string) - 股票過戶機構 - **過戶電話** (string) - 過戶電話 - **過戶地址** (string) - 過戶地址 - **簽證會計師事務所** (string) - 簽證會計師事務所 - **簽證會計師1** (string) - 簽證會計師1 - **簽證會計師2** (string) - 簽證會計師2 - **英文簡稱** (string) - 英文簡稱 - **英文通訊地址** (string) - 英文通訊地址 - **傳真機號碼** (string) - 傳真機號碼 - **電子郵件信箱** (string) - 電子郵件信箱 - **網址** (string) - 網址 - **已發行普通股數或TDR原股發行股數** (string) - 已發行普通股數或TDR原股發行股數 ``` -------------------------------- ### GET /opendata/t187ap01 Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves personnel statistics by business function for brokers. ```APIDOC ## GET /opendata/t187ap01 ### Description Retrieves personnel statistics by business function for brokers. ### Method GET ### Endpoint /opendata/t187ap01 ### Response #### Success Response (200) - **出表日期** (string) - 出表日期 - **職位** (string) - 職位 - **受託買賣** (string) - 受託買賣 - **受託買賣(衍生性商品銷售)** (string) - 受託買賣(衍生性商品銷售) - **內部稽核** (string) - 內部稽核 - **融資融券** (string) - 融資融券 - **證券借貸** (string) - 證券借貸 ``` -------------------------------- ### GET /block/BFIAUU_d Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves daily trading volume and value statistics for the centralized market. ```APIDOC ## GET /block/BFIAUU_d ### Description Retrieves daily trading volume and value statistics for the centralized market. ### Method GET ### Endpoint /block/BFIAUU_d ### Response #### Success Response (200) - **Date** (string) - 日期 - **Class** (string) - 交易別 - **Type** (string) - 類別 - **TradeVolume** (string) - 成交股數 - **MarketSharePer** (string) - 成交金額佔市場比重% - **TradeValue** (string) - 成交金額 #### Response Example { "Date": "2023-01-01", "Class": "General", "Type": "Stock", "TradeVolume": "1000000", "MarketSharePer": "0.5", "TradeValue": "50000000" } ``` -------------------------------- ### GET /opendata/t187ap04_L Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves daily major announcements for listed companies. ```APIDOC ## GET /opendata/t187ap04_L ### Description Retrieves daily major announcements for listed companies. ### Method GET ### Endpoint /opendata/t187ap04_L ### Response #### Success Response (200) - **出表日期** (string) - 出表日期 - **發言日期** (string) - 發言日期 - **發言時間** (string) - 發言時間 - **公司代號** (string) - 公司代號 - **公司名稱** (string) - 公司名稱 - **主旨** (string) - 主旨 - **符合條款** (string) - 符合條款 - **事實發生日** (string) - 事實發生日 - **說明** (string) - 說明 ``` -------------------------------- ### GET /Announcement/BFZFZU_T - Investment Abnormal Promotion Individual Stocks Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves information on individual stocks that are promoted due to investment abnormalities. ```APIDOC ## GET /Announcement/BFZFZU_T ### Description Retrieves information on individual stocks promoted due to investment abnormalities. ### Method GET ### Endpoint /Announcement/BFZFZU_T ### Parameters #### Query Parameters None ### Request Example None ### Response #### Success Response (200) - **Number** (string) - Serial number - **Code** (string) - Abnormal promotion stock code - **Name** (string) - Abnormal promotion stock name - **Date** (string) - Date #### Response Example ```json { "Number": "string", "Code": "string", "Name": "string", "Date": "string" } ``` ``` -------------------------------- ### GET /indicesReport/TAI50I Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves historical data for the Taiwan 50 Index. ```APIDOC ## GET /indicesReport/TAI50I ### Description Retrieves historical data for the Taiwan 50 Index. ### Method GET ### Endpoint /indicesReport/TAI50I ### Response #### Success Response (200) - **Date** (string) - Date - **Taiwan50Index** (string) - Taiwan 50 Index - **Taiwan50TotalReturnIndex** (string) - Taiwan 50 Total Return Index ``` -------------------------------- ### GET /exchangeReport/TWTBAU2 Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves historical data for intraday short-selling suspension. ```APIDOC ## GET /exchangeReport/TWTBAU2 ### Description Retrieves historical data regarding intraday short-selling suspension in the centralized market. ### Method GET ### Endpoint /exchangeReport/TWTBAU2 ### Response #### Success Response (200) - **Code** (string) - Stock Code - **Name** (string) - Stock Name - **StartDate** (string) - Start date of suspension - **EndDate** (string) - End date of suspension - **Reason** (string) - Reason for suspension ``` -------------------------------- ### GET /opendata/OpenData_BRK02 Source: https://openapi.twse.com.tw/v1/swagger.json Retrieves basic information for securities brokers, including company name, establishment date, address, and phone number. ```APIDOC ## GET /opendata/OpenData_BRK02 ### Description Retrieves basic information for securities brokers, including company name, establishment date, address, and phone number. ### Method GET ### Endpoint /opendata/OpenData_BRK02 ### Parameters #### Query Parameters - **response_type** (string) - Required - Specifies the response format (e.g., "json", "csv"). ### Response #### Success Response (200) - **出表日期** (string) - The date the data was published. - **券商代號** (string) - The securities broker's code. - **券商名稱** (string) - The securities broker's name. - **開業日** (string) - The establishment date. - **地址** (string) - The company's address. - **電話** (string) - The company's phone number. #### Response Example { "出表日期": "2023-10-27", "券商代號": "9101", "券商名稱": "元大證券", "開業日": "1964-01-01", "地址": "台北市大安區", "電話": "02-2700-0000" } ```