TW Market Data LogoTW Market Data

Core data

Market & prices

TWSE / TPEx daily bars, adjusted prices, indices, and market breadth

Financials & growth

Monthly revenue, the three financial statements, financial metrics, and valuation data

Flows & positioning

Institutional investors and margin & short-selling data

Company & structure

Company & events

Company profiles, disclosures, events, corporate actions, and dividends

Taxonomy & structure

Theme taxonomy, index classification, and cross-dataset mapping

Strategy & quant

Features, factor data, time alignment, and screener

Platform capabilities

API access

REST API, authentication, and your first request

Query & tools

Search API, Query API, field lists, and query examples

Tools / MCP

Agent workflows, MCP tools, and the OpenAPI entry point

PricingDocsBlog
中文Dashboard

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|Help Center||中文|TW Market Data © 2026

Documentation

DASHBOARD

DashboardPricing

FOR AI AGENTS

MCP Serverllms.txtTool manifestOpenAPI SpecAgent workflow examples
WebhooksBuilding

OVERVIEW

OverviewQuick startAuthenticationSource policyData gradesData lineageMarket coverage

DATA APIS

Index dataMarket indicesUnified daily pricesTPEx daily pricesTWSE daily pricesEx-rights & dividend adjustment factorsPrice-limit (daily)Return index (daily)Adjusted pricesIndex constituentsMarket breadthCore valuation (daily)Valuation dataTechnical indicatorsIndex 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

Market overview snapshots

Market overview snapshots — board-level aggregates per trading day: index level, total turnover and the up/down/unchanged counts.

ReferenceSource: TWSE·Plan: pro·Cost: 2 credits·GET /v2/datasets/market-overview-snapshots

Overview

market-overview-snapshots returns one aggregate row per board per trading day summarizing the whole market — the index level, total turnover and the count of advancing, declining and unchanged securities. It is a reference overview surface; each row carries its source role so the figures trace back to the official publication. Coverage is partial while the historical backfill is completed.

FieldTypeDescription
boardstringBoard (TWSE / TPEx).
datestringTrading date.
total_turnovernumberTotal market turnover (TWD).
advancersnumberCount of advancing securities.
declinersnumberCount of declining securities.
source_rolestringCanonical source role (official_twse_market_overview).

Coverage

Rows354
Window2023-06-01 – 2026-05-28
GradeReference

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.

{  "api_version": "v2",  "dataset": "market_overview_snapshots",  "dataset_version": "v2.0.0-preview",  "release_version": "v2.2026-05-28.preview",  "release_date": "2026-05-28",  "data_as_of": "2026-05-28",  "request_context": {    "ticker": "TWSE",    "as_of_date": "2026-05-28",    "family": "taiwan_macro",    "field_group_type": "canonical",    "dataset_view": "market_overview_snapshots_v1",    "source_table": "market_overview_snapshots",    "scope": "market_overview_snapshots_only",    "coverage_type": "seeded_anchor_snapshot_set",    "supported_sort_by": [      "as_of_date"    ],    "supported_filter_fields": [      "market",      "as_of_date",      "date_from"    ],    "market_filter": "TWSE",    "date_range": {      "date_from": null,      "date_to": null    }  },  "data": [    {      "market_code": "TWSE",      "as_of_date": "2026-05-28",      "index_level": 43636.44,      "index_change": -620.36,      "index_change_pct": -1.4,      "advancers": null,      "decliners": null,      "unchanged": null,      "turnover_value": 1531713564563,      "volume_shares": 11122477394,      "transaction_count": null,      "listed_count": null,      "traded_count": null,      "provider": "twse_official",      "source_role": "official_market_overview",      "lineage": {        "index_data": {          "lineage": {            "source": "TWSE_MI_INDEX",            "source_date": "2026-05-28",            "source_type": "ALLBUT0999",            "special_note": null,            "identity_rule": "exact_index_name_match",            "source_lineage": {              "row_number": 1,              "table_index": 0,              "table_title": "<Chinese value - see the zh page>"            },            "source_table_id": "table_0",            "turnover_lineage": {              "stat_item": "<Chinese value - see the zh page>",              "row_number": 0,              "table_index": 6,              "table_title": "<Chinese value - see the zh page>"            }          },          "provider": "twse_official",          "as_of_date": "2026-05-28",          "source_role": "official_twse_mi_index"        },        "mapping_rule": "full_outer_union_on_as_of_date_for_twse_aggregate_anchor",        "source_family": "official_first:market_overview",        "source_tables": [          "index_data_items",          "market_breadth_items"        ],        "market_breadth": null      },      "data_gaps": [        "missing_market_breadth_items_row",        "missing_transaction_count_from_approved_inputs",        "missing_listed_count_from_approved_inputs"      ],      "not_investment_advice": true,      "market_scope": "TWSE",      "currency": "TWD",      "is_placeholder": false    },    {      "market_code": "TWSE",      "as_of_date": "2026-05-27",      "index_level": 44256.8,      "index_change": 731.43,      "index_change_pct": 1.68,      "advancers": 333,      "decliners": 672,      "unchanged": 68,      "turnover_value": 1518335225482,      "volume_shares": 10767509251,      "transaction_count": null,      "listed_count": null,      "traded_count": 1073,      "provider": "twse_official",      "source_role": "official_market_overview",      "lineage": {        "index_data": {          "lineage": {            "source": "TWSE_MI_INDEX",            "source_date": "2026-05-27",            "source_type": "ALLBUT0999",            "special_note": null,            "identity_rule": "exact_index_name_match",            "source_lineage": {              "row_number": 1,              "table_index": 0,              "table_title": "<Chinese value - see the zh page>"            },            "source_table_id": "table_0",            "turnover_lineage": {              "stat_item": "<Chinese value - see the zh page>",              "row_number": 0,              "table_index": 6,              "table_title": "<Chinese value - see the zh page>"            }          },          "provider": "twse_official",          "as_of_date": "2026-05-27",          "source_role": "official_twse_mi_index"        },        "mapping_rule": "full_outer_union_on_as_of_date_for_twse_aggregate_anchor",        "source_family": "official_first:market_overview",        "source_tables": [          "index_data_items",          "market_breadth_items"        ],        "market_breadth": {          "lineage": {            "derived_from": "twse_mi_index_market_breadth",            "upstream_lineage": {              "request_type": "MS",              "parser_source_date": "2026-05-27",              "source_lineage_rows": [                {                  "row_number": 0,                  "table_index": 7,                  "table_title": "<Chinese value - see the zh page>"                },                {                  "row_number": 1,                  "table_index": 7,                  "table_title": "<Chinese value - see the zh page>"                },                {                  "row_number": 2,                  "table_index": 7,                  "table_title": "<Chinese value - see the zh page>"                }              ]            }          },          "provider": "twse_official",          "as_of_date": "2026-05-27",          "source_role": "derived_market_breadth"        }      },      "data_gaps": [        "missing_transaction_count_from_approved_inputs",        "missing_listed_count_from_approved_inputs"      ],      "not_investment_advice": true,      "market_scope": "TWSE",      "currency": "TWD",      "is_placeholder": false    }  ],  "quality": {    "freshness_state": "fresh",    "freshness_as_of": "2026-05-28",    "completeness_ratio": 1,    "quality_status": "ready"  },  "lineage": {    "source_role": "canonical",    "selected_source": "market_overview_snapshots",    "fallback_chain": [      "index_data_items",      "market_breadth_items"    ],    "policy_notes": [      "official/public-first canonical",      "market_overview_snapshots is the seeded anchor surface for index and breadth derivations",      "not_investment_advice"    ]  },  "error": {    "error_code": null,    "error_message": null,    "dataset": "market_overview_snapshots",    "request_id": "read-api-20260528",    "blocking_gate": null  },  "dataset_id": "market_overview_snapshots",  "data_count": 50,  "known_gaps": [    "listed_count_unavailable_from_official_twse_mi_index_ms",    "missing_index_data_items_row",    "missing_listed_count_from_approved_inputs"  ],  "warnings": [    "not_investment_advice"  ]}

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.

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/market-overview-snapshots?symbol=2330" \  -H "X-API-Key: sk_live_..."

Filtering

ParameterRequiredTypeDescription
symbolYesstringTicker, e.g. 2330.
start_dateNostring (YYYY-MM-DD)Start of the query range.
end_dateNostring (YYYY-MM-DD)End of the query range.
limitNointegerMaximum rows to return.

Python

A first call:

import requests resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/market-overview-snapshots",    params={"symbol": "2330"},    headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()print(resp.json()["data"])

With a date-range filter:

import requests # The full verified example — the same call with every supported filter set.resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/market-overview-snapshots",    params={"symbol": "2330"},    headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()for row in resp.json()["data"]:    print(row)

OpenAPI

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

Notes & limitations

  • Partial coverage: this overview surface is being backfilled, so the historical window may be shorter than the per-stock price datasets. Treat it as a market-level summary, not a per-security feed.

Request & Response

Request

curl "https://api.twmarketdata.com/v2/datasets/market-overview-snapshots?symbol=2330&start_date=2026-01-01&end_date=2026-06-30&limit=5" \  -H "X-API-Key: $TWMD_API_KEY"

Authenticate with the X-API-Key header, using a sk_live_ key issued in the dashboard.

Response

JSON
{  "api_version": "v2",  "dataset": "market_overview_snapshots",  "dataset_version": "v2.0.0-preview",  "release_version": "v2.2026-05-28.preview",  "release_date": "2026-05-28",  "data_as_of": "2026-05-28",  "request_context": {    "ticker": "TWSE",    "as_of_date": "2026-05-28",    "family": "taiwan_macro",    "field_group_type": "canonical",    "dataset_view": "market_overview_snapshots_v1",    "source_table": "market_overview_snapshots",    "scope": "market_overview_snapshots_only",    "coverage_type": "seeded_anchor_snapshot_set",    "supported_sort_by": [      "as_of_date"    ],    "supported_filter_fields": [      "market",      "as_of_date",      "date_from"    ],    "market_filter": "TWSE",    "date_range": {      "date_from": null,      "date_to": null    }  },  "data": [    {      "market_code": "TWSE",      "as_of_date": "2026-05-28",      "index_level": 43636.44,      "index_change": -620.36,      "index_change_pct": -1.4,      "advancers": null,      "decliners": null,      "unchanged": null,      "turnover_value": 1531713564563,      "volume_shares": 11122477394,      "transaction_count": null,      "listed_count": null,      "traded_count": null,      "provider": "twse_official",      "source_role": "official_market_overview",      "lineage": {        "index_data": {          "lineage": {            "source": "TWSE_MI_INDEX",            "source_date": "2026-05-28",            "source_type": "ALLBUT0999",            "special_note": null,            "identity_rule": "exact_index_name_match",            "source_lineage": {              "row_number": 1,              "table_index": 0,              "table_title": "<Chinese value - see the zh page>"            },            "source_table_id": "table_0",            "turnover_lineage": {              "stat_item": "<Chinese value - see the zh page>",              "row_number": 0,              "table_index": 6,              "table_title": "<Chinese value - see the zh page>"            }          },          "provider": "twse_official",          "as_of_date": "2026-05-28",          "source_role": "official_twse_mi_index"        },        "mapping_rule": "full_outer_union_on_as_of_date_for_twse_aggregate_anchor",        "source_family": "official_first:market_overview",        "source_tables": [          "index_data_items",          "market_breadth_items"        ],        "market_breadth": null      },      "data_gaps": [        "missing_market_breadth_items_row",        "missing_transaction_count_from_approved_inputs",        "missing_listed_count_from_approved_inputs"      ],      "not_investment_advice": true,      "market_scope": "TWSE",      "currency": "TWD",      "is_placeholder": false    },    {      "market_code": "TWSE",      "as_of_date": "2026-05-27",      "index_level": 44256.8,      "index_change": 731.43,      "index_change_pct": 1.68,      "advancers": 333,      "decliners": 672,      "unchanged": 68,      "turnover_value": 1518335225482,      "volume_shares": 10767509251,      "transaction_count": null,      "listed_count": null,      "traded_count": 1073,      "provider": "twse_official",      "source_role": "official_market_overview",      "lineage": {        "index_data": {          "lineage": {            "source": "TWSE_MI_INDEX",            "source_date": "2026-05-27",            "source_type": "ALLBUT0999",            "special_note": null,            "identity_rule": "exact_index_name_match",            "source_lineage": {              "row_number": 1,              "table_index": 0,              "table_title": "<Chinese value - see the zh page>"            },            "source_table_id": "table_0",            "turnover_lineage": {              "stat_item": "<Chinese value - see the zh page>",              "row_number": 0,              "table_index": 6,              "table_title": "<Chinese value - see the zh page>"            }          },          "provider": "twse_official",          "as_of_date": "2026-05-27",          "source_role": "official_twse_mi_index"        },        "mapping_rule": "full_outer_union_on_as_of_date_for_twse_aggregate_anchor",        "source_family": "official_first:market_overview",        "source_tables": [          "index_data_items",          "market_breadth_items"        ],        "market_breadth": {          "lineage": {            "derived_from": "twse_mi_index_market_breadth",            "upstream_lineage": {              "request_type": "MS",              "parser_source_date": "2026-05-27",              "source_lineage_rows": [                {                  "row_number": 0,                  "table_index": 7,                  "table_title": "<Chinese value - see the zh page>"                },                {                  "row_number": 1,                  "table_index": 7,                  "table_title": "<Chinese value - see the zh page>"                },                {                  "row_number": 2,                  "table_index": 7,                  "table_title": "<Chinese value - see the zh page>"                }              ]            }          },          "provider": "twse_official",          "as_of_date": "2026-05-27",          "source_role": "derived_market_breadth"        }      },      "data_gaps": [        "missing_transaction_count_from_approved_inputs",        "missing_listed_count_from_approved_inputs"      ],      "not_investment_advice": true,      "market_scope": "TWSE",      "currency": "TWD",      "is_placeholder": false    }  ],  "quality": {    "freshness_state": "fresh",    "freshness_as_of": "2026-05-28",    "completeness_ratio": 1,    "quality_status": "ready"  },  "lineage": {    "source_role": "canonical",    "selected_source": "market_overview_snapshots",    "fallback_chain": [      "index_data_items",      "market_breadth_items"    ],    "policy_notes": [      "official/public-first canonical",      "market_overview_snapshots is the seeded anchor surface for index and breadth derivations",      "not_investment_advice"    ]  },  "error": {    "error_code": null,    "error_message": null,    "dataset": "market_overview_snapshots",    "request_id": "read-api-20260528",    "blocking_gate": null  },  "dataset_id": "market_overview_snapshots",  "data_count": 50,  "known_gaps": [    "listed_count_unavailable_from_official_twse_mi_index_ms",    "missing_index_data_items_row",    "missing_listed_count_from_approved_inputs"  ],  "warnings": [    "not_investment_advice"  ]}

Captured from a real call to this endpoint — not written by hand.

This dataset returns its rows under "data". The envelope differs between datasets, so read this one rather than reusing another page's shape.

The grade badge on this page is a documentation classification, not a response field.