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 snapshotsPrice Move Context CardsLimit-Up/Down Events

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

Limit-Up/Down Events

One row per (symbol, trade_date, direction) where a stock closed locked at its daily price limit. Carries prev_close, close, pct_change, the era limit band applied, whether it locked at close, consecutive-limit count, and volume at the limit. Derived from TWMD normalized prices + the price-limit rule history. Not a forecast, not a recommendation.

BuildingSource: TWSE·Plan: starter·Cost: 2 credits·GET /v2/datasets/limit-events

Overview

This dataset is in build and not yet queryable via the API. The coverage and honest limitations below are the real database state; it moves off "Building" once serving lands (targeted 8/1).

FieldTypeDescription
directionenumup / down
prev_closeTWDnot split-adjusted (R-02 pending)
closeTWD
pct_changeratio
limit_pct_appliedratioera band
approx_band_pppp
locked_at_closebool
consecutive_countint
volume_at_limitshares

Coverage

333,951 rows, 1994-01-10..2026-07-17. method='approx' on ALL rows — the flag is the era band (±7% pre-2015-06-01 / ±10% after), NOT the exact per-day limit. prev_close is not yet split/ex-right-adjusted; exact per-day limit + split-aware prev_close awaits R-02, which will graduate method to a v1. Until then approx is the honest signal.

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": "limit-events",  "row_count": 3,  "data": [    {      "symbol": "1303",      "market": "TWSE",      "trade_date": "2026-07-01",      "direction": "up",      "prev_close": 166.5,      "close": 183.0,      "pct_change": 0.0990990990990991,      "limit_pct_applied": 0.1,      "locked_at_close": true,      "method": "approx",      "limit_confirmed": null    },    {      "symbol": "1435",      "market": "TWSE",      "trade_date": "2026-07-01",      "direction": "up",      "prev_close": 27.35,      "close": 30.05,      "pct_change": 0.0987202925045704,      "limit_pct_applied": 0.1,      "locked_at_close": true,      "method": "approx",      "limit_confirmed": null    },    {      "symbol": "1447",      "market": "TWSE",      "trade_date": "2026-07-01",      "direction": "up",      "prev_close": 7.52,      "close": 8.27,      "pct_change": 0.0997340425531915,      "limit_pct_applied": 0.1,      "locked_at_close": true,      "method": "approx",      "limit_confirmed": null    }  ]}

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

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/limit-events?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/limit-events",    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/limit-events",    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/limit-events. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.

Notes & limitations

  • In build (not yet generally available): not yet served over the API. The figures above are the measured database state (WAVE_L_REGISTRY), shown honestly before serving lands — not a live endpoint yet.

Request & Response

Request

curl "https://api.twmarketdata.com/v2/datasets/limit-events?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
{  "dataset_id": "limit-events",  "row_count": 3,  "data": [    {      "symbol": "1303",      "market": "TWSE",      "trade_date": "2026-07-01",      "direction": "up",      "prev_close": 166.5,      "close": 183.0,      "pct_change": 0.0990990990990991,      "limit_pct_applied": 0.1,      "locked_at_close": true,      "method": "approx",      "limit_confirmed": null    },    {      "symbol": "1435",      "market": "TWSE",      "trade_date": "2026-07-01",      "direction": "up",      "prev_close": 27.35,      "close": 30.05,      "pct_change": 0.0987202925045704,      "limit_pct_applied": 0.1,      "locked_at_close": true,      "method": "approx",      "limit_confirmed": null    },    {      "symbol": "1447",      "market": "TWSE",      "trade_date": "2026-07-01",      "direction": "up",      "prev_close": 7.52,      "close": 8.27,      "pct_change": 0.0997340425531915,      "limit_pct_applied": 0.1,      "locked_at_close": true,      "method": "approx",      "limit_confirmed": null    }  ]}

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.