TW Market Data LogoTW Market Data

Facts & statistics

Market facts

Long-run statistics for Taiwan equities, each with its sample period and as_of

Seasonality

Monthly return distributions and hit rates, with sample sizes

Institutional flow

Seasonality in the breadth of institutional net buying

Limit events

How often limit moves happen, and how concentrated they are

Delisting

Delisting counts and survival spans — the basis for avoiding survivorship bias

Rule changes

A timeline of trading-rule changes — the premise for reading historical data

Data & exploration

Dataset catalogue

Every dataset, its coverage, and how often it updates

Playground

Call the API from the browser, without a key

Market today

Today's market at a glance

Stock analysis

The entry point for looking at one instrument

Market heat map

The whole market in one picture — area is market cap, colour is revenue growth

Market calendar

Statutory disclosure deadlines — the day a figure may legally first be known

Platform capabilities

Product overview

What TWMD provides, and who it is built for

Verifiable proof

Signed checkpoints and per-row inclusion proofs

Data quality

Reconciliation, gap handling, and quality status

Methodology

How the figures are computed, and on what basis

Auditable execution

Tie a trading decision back to the data it saw

Connect your broker

Bring TWMD into an existing order and research workflow

Developers

Documentation

API reference, dataset pages, and integration guides

Quick start

Authentication and your first request

Integrate by role

Separate paths for quant research, data engineering, and app development

Connect over MCP

Point an agent straight at TWMD

MCP registry

The published MCP tool list and its signed manifest

Webhooks

Have your system told when data updates

Learn

Blog

Long-form writing on data, method, and market structure

Answers

Specific answers to specific questions, with sources

Topics

Industry chains and thematic relationships

Help centre

Account, billing, and usage questions

Glossary

Definitions for Taiwan-market and data terms

Compare & status

Why TWMD

A point-by-point comparison with FinMind and TEJ

Migrate from FinMind

Field mapping and migration steps

Migrate from FinLab

Field mapping and migration steps

Migrate from TEJ

Field mapping and migration steps

Status

Service availability and incident history

Security & trust

Trust centre

What we claim, and the limits on each claim

Security

Architecture, access control, and incident handling

Security facts

The items you can verify from outside

Security evidence

SBOM, ASVS mapping and threat model — including the three controls we do not meet.

Self-assessment

Item-by-item answers for a procurement questionnaire

Compliance & standards

Compliance mapping

Evidence primitives mapped onto FSB, IOSCO, and SR 26-2

Standards & interop

Term-by-term mapping onto published standards, and where it does not map

Provenance & C2PA

A machine-readable origin graph, fetchable without a key

Licensing

How the data may be used and redistributed

Adoption

Evaluate

Seven checks you can run yourself, without an account

Talk to sales

Enterprise plans, quotas, and contract detail

Pricing
中文Sign inSign up
TW Market Data

Taiwan market-data infrastructure, built for AI agents and quantitative workflows.

Status unknown
© 2026 TW Market Data

TW Market Data (TWMD) provides historical data and statistics, not investment advice; investment decisions and their risks are your own.

  • Privacy Policy·
  • Terms of Service·
  • Cookie Policy·
  • Acceptable Use Policy·
  • Data Sources & Licensing·
  • Legal (all documents)
中文

AI Agent

  • MCP Server
  • Skills
  • Tool manifest
  • Agent workflow examples
  • Agent benchmark
  • llms.txt
  • OpenAPI spec

Security

  • Security overview
  • Verifiable data
  • Trust Center
  • Standards & Interop
  • Regulatory mapping

Product

  • Datasets
  • Topics
  • Market facts
  • Documentation
  • Integration runbooks
  • Playground (no signup)
  • Free tier
  • Solutions

Company

  • About TWMD
  • Blog
  • Help centre
  • Pricing

Documentation

DASHBOARD

DashboardPricing

FOR AI AGENTS

MCP ServerSkillsllms.txtTool manifestOpenAPI SpecAgent workflow examples

OVERVIEW

OverviewQuick startAuthenticationSource policyData gradesData lineageMarket coverage

DATA APIS

Market indicesTPEx daily pricesTWSE daily pricesPrice adjustment factorsPrice-limit (daily)Limit-Up/Down EventsIndustry index (daily)Return index (daily)Index constituentsMarket breadthCore valuation (daily)Valuation dataTechnical indicatorsPrice Move Context CardsMarket value weightIndex classificationMarket overview snapshots

GUIDES

How to get the 3 financial statementsHow to read institutional flowsHow to check market statusHow to wire a strategy / AI agent

SDKS

Release statusPython SDKJavaScript / TypeScript SDK

Building an AI agent? Start with /llms.txt for the full site index.

Market & Prices

Index constituents

Index constituents — which securities belonged to each TPEx index on a given trade date. Membership only; the feed carries no weights.

← Index constituents overview

DerivedSource: TWSE·Plan: free·Cost: 2 credits·GET /v2/datasets/index-constituents

Index constituents is a Taiwan market dataset sourced from TWSE, served by TW Market Data as GET /v2/datasets/index-constituents.

Overview

index-constituents returns one row per member security, per index, per trade date, taken from the TPEx official constituent publication. The feed covers six TPEx indices and no TWSE index, and it records membership alone — there are no constituent weights in it. Each response is a snapshot rather than a change log, so a security leaving an index simply stops appearing instead of producing a removal row. Without a trade_date, each index returns its most recent snapshot.

FieldTypeDescription
index_namestring
tickerstring
namestring
trade_datestring
marketstring

Coverage

Rows2,181
Window2026-07-01 – 2026-08-21
GradeDerived
Measured2026-09-01from the dataset registry

Example response

A real response from this endpoint. Rows are returned under "data", and provenance is carried in the shape shown below — it is not identical across datasets, so read this page's rather than assuming another's.

{
"dataset_id": "index_constituents",
"request_context": {
"scope": "tw_index_membership_snapshots",
"coverage_type": "per_date_snapshot",
"filters": {
"index_name": null,
"ticker": null,
"market": null,
"trade_date": null,
"latest_only": true,
"limit": 50
},
"applied_defaults": {
"latest_snapshot_per_index": true,
"reason": "no trade_date given; returning each index's most recent membership snapshot rather than every historical snapshot combined"
},
"snapshot_dates_in_page": [
"2026-08-04"
]
},
"quality": {
"row_count": 50,
"index_count": 1,
"indices_present": [
"<Chinese value - see the zh page>"
],
"ticker_count": 50,
"sensitive_fields_exposed": false
},
"lineage": {
"source_families": [
"TPEX_INDEX_CONSTI"
],
"semantics": "Which tickers belonged to which index on a given trade_date. Membership only — no weights. Without a trade_date the response is each index's most recent snapshot."
},
"error": null,
"data": [
{
"index_name": "<Chinese value - see the zh page>",
"ticker": "1268",
"name": "<Chinese value - see the zh page>",
"trade_date": "2026-08-04",
"market": "TPEx",
"provider": "twse_official",
"source_role": "official_tpex_index_constituents",
"source_authority": "<Chinese value - see the zh page>",
"source_family": "TPEX_INDEX_CONSTI"
},
{
"index_name": "<Chinese value - see the zh page>",
"ticker": "2755",
"name": "<Chinese value - see the zh page>",
"trade_date": "2026-08-04",
"market": "TPEx",
"provider": "twse_official",
"source_role": "official_tpex_index_constituents",
"source_authority": "<Chinese value - see the zh page>",
"source_family": "TPEX_INDEX_CONSTI"
}
],
"data_count": 50,
"known_gaps": [
"per_date_membership_snapshot_not_a_change_log_a_removal_produces_no_row",
"TPEx_indices_ONLY_six_of_them_no_TWSE_index_is_in_this_feed",
"single_snapshot_2026_07_01_there_is_no_history_and_no_producer_advancing_it"
],
"warnings": [
"not_investment_advice"
],
"envelope": {
"dataset_id": "index_constituents",
"scope": "tw_index_membership_snapshots",
"row_count": 50
}
}

Captured from the live API on 2026-07-20.

Chinese data values are shown as a marker here so this page stays in English; the /zh page shows them verbatim.

Provenance

These columns are returned alongside the data and record where the row came from. They are provenance, not the dataset's subject matter, so they are listed here rather than in the field table.

providersource_rolesource_authoritysource_family

Licence and attribution

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.

Cite this dataset

TW Market Data. (n.d.). Index constituents [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/en/docs/api/market-prices/index-constituents

The version is the dataset's own as_of, not the date this page was built. Where we have no as_of the field is left out rather than filled in. Check a signature

Related datasets

Datasets that join with this one. The key each pair aligns on is shown, so you can plan a multi-table query without guessing.

  • Limit-Up/Down Events

    Joins on market + ticker + trade_date

  • Price adjustment factors

    Joins on market + ticker + trade_date

  • Price Move Context Cards

    Joins on market + ticker + trade_date

  • Price-limit (daily)

    Joins on market + ticker + trade_date

  • Technical indicators

    Joins on market + ticker + trade_date

  • TWSE daily prices

    Joins on ticker + trade_date

  • Core valuation (daily)

    Joins on ticker + trade_date

Getting started

  1. Put your key in the X-API-Key header.
  2. Add query parameters (symbol, date range, limit).
  3. Send the request and read the data array.
curl "https://api.twmarketdata.com/v2/datasets/index-constituents?ticker=1268&market=TPEx&limit=5" \
-H "X-API-Key: sk_live_..."

Filtering

ParameterRequiredTypeDescription
index_nameNostringIndex name as TPEx publishes it. The values are Chinese-only; call without filters and read index_name off the rows to get the six.
tickerNostringConstituent ticker; returns every index that ticker belongs to.
marketNostringMarket. TPEx is the only value in this feed.
trade_dateNostringSnapshot date (YYYY-MM-DD). Omit it and each index returns its most recent snapshot.
latest_onlyNobooleanDefaults to true. Set false to reach earlier snapshots.
limitNointegerMaximum rows to return.

Python

import requests

resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/index-constituents",
params={"ticker": "1268", "market": "TPEx", "limit": "5"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])

OpenAPI

This endpoint is GET /v2/datasets/index-constituents. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.

Notes & limitations

  • This endpoint filters by `index_name`, `ticker`, `market`, `trade_date` and `latest_only` — not by `symbol` or `index_code`, both of which are ignored rather than rejected.
  • Six TPEx indices only — no TWSE index appears in this feed — and membership only: the rows carry no constituent weights.

Request & Response

Request
curl "https://api.twmarketdata.com/v2/datasets/index-constituents?limit=5" \
-H "X-API-Key: $TWMD_API_KEY"
Response
{
"dataset_id": "index_constituents",
"quality": {
"row_count": "<number>",
"index_count": "<number>",
"indices_present": "<array>",
"ticker_count": "<number>",
"sensitive_fields_exposed": "<boolean>"
},
"error": null,
"data": [
{
"index_name": "<string>",
"ticker": "<string>",
"name": "<string>",
"trade_date": "<string>",
"market": "<string>",
"provider": "<string>",
"source_role": "<string>",
"source_authority": "<string>",
"source_family": "<string>"
}
],
"data_count": 50,
"known_gaps": [
"<string>"
],
"warnings": [
"<string>"
],
"envelope": {
"dataset_id": "<string>",
"scope": "<string>",
"row_count": "<number>"
}
}
i