Building an AI agent? Start with /llms.txt for the full site index.
Overview
A Taiwan stock market data source built for AI agents, quantitative research, and automated systems.
TW Market Data turns official data from TWSE, TPEx, MOPS, and TAIFEX into a consistent, easy-to-integrate REST API. We ingest and parse every dataset directly from the official sources — never second-hand.
Every response carries its source and knowledge_date; gaps are marked honestly, and holes are never filled with estimates.
Daily prices for individual TWSE-listed stocks go back to 2004, and we keep the full price history of 311 stocks that have stopped trading (delisted / long-term suspended), so backtests aren't inflated by survivorship bias. Currently available:
TPEx daily bars and adjusted prices are currently in beta, with coverage marked per dataset.
Ready to go? → Quick start
Part of the data in this service is obtained from the Government Open Data Platform (data.gov.tw) and used under the Open Government Data License, version 1.0. Providing agencies: Taiwan Stock Exchange, Taipei Exchange, Taiwan Futures Exchange, Taiwan Depository & Clearing Corporation, National Development Council, Central Bank of the Republic of China (Taiwan), Department of Statistics of the Ministry of Economic Affairs, and Customs Administration of the Ministry of Finance. The value-added processing, derived calculations and presentation in this service are the responsibility of TWMD and are not associated with the providing agencies.
Global macro series are obtained from World Bank open data and used under the Creative Commons Attribution 4.0 International licence (CC BY 4.0).