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

Institutional flowSecurities lendingInsider & director holdingsOwnership distributionInstitutional flow (market aggregate)Enhanced margin & shortDay-trading suspensionMargin & shortTotal margin & shortChip flows

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.

Capital Flows

Insider & director holdings

Director and supervisor shareholdings per company per reporting month, sourced from MOPS — shares held and pledged shares.

VerifiedSource: MOPS·Plan: pro·Cost: 3 credits·GET /v2/datasets/insider-director-holdings

Overview

insider-director-holdings returns one row per company per reporting month with the aggregate director and supervisor shareholding and pledged shares, sourced from the official MOPS insider-holding disclosure. Each row carries a source role and lineage back to the MOPS filing so the holding is traceable rather than opaque.

FieldTypeDescription
symbolstringTicker.
periodstringReporting month (YYYY-MM).
director_sharesnumberAggregate director & supervisor shares held.
pledged_sharesnumberShares pledged by directors & supervisors.
holding_rationumberDirector & supervisor holding as a ratio of issued shares (0-1).
source_rolestringCanonical source role (official_mops_insider_holding).

Coverage

TODO — exact row / symbol counts and the coverage window are pending a measured snapshot; the source is the official MOPS director & supervisor holding disclosure (present through the latest disclosed month). No counts are shown rather than fabricated ones.

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": "insider_director_holdings",  "request_context": {    "scope": "insider_director_holdings_latest_balance_snapshot_only",    "coverage_type": "latest_balance_snapshot_only",    "filters": {      "ticker": null,      "market": null,      "source_as_of_date": null,      "holder_name": null,      "holder_role": null,      "holder_category": null,      "source_family": null,      "limit": 50    },    "min_source_as_of_date": "2026-05-20",    "max_source_as_of_date": "2026-05-20"  },  "quality": {    "row_count": 50,    "ticker_count": 3,    "sensitive_fields_exposed": false  },  "lineage": {    "source_providers": [      "tpex_official"    ],    "source_roles": [      "insider_director_holdings_snapshot"    ],    "source_families": [      "tpex_insider_balance_snapshot"    ]  },  "error": null,  "data": [    {      "ticker": "1240",      "market": "TPEx",      "source_as_of_date": "2026-05-20",      "holder_name": "<Chinese value - see the zh page>",      "holder_role": "<Chinese value - see the zh page>",      "holder_category": "manager",      "holding_shares": 111169,      "holding_ratio": null,      "pledge_shares": 0,      "source_provider": "tpex_official",      "source_role": "insider_director_holdings_snapshot",      "source_family": "tpex_insider_balance_snapshot",      "source_row_key": "<Chinese value - see the zh page>",      "lineage": {        "source_family": "tpex_insider_balance_snapshot",        "source_dataset": "t187ap11_balance_snapshot",        "source_provider": "tpex_official"      },      "data_gaps": [        "holding_ratio_not_source_provided"      ],      "not_investment_advice": true    },    {      "ticker": "1240",      "market": "TPEx",      "source_as_of_date": "2026-05-20",      "holder_name": "<Chinese value - see the zh page>",      "holder_role": "<Chinese value - see the zh page>",      "holder_category": "manager",      "holding_shares": 612766,      "holding_ratio": null,      "pledge_shares": 0,      "source_provider": "tpex_official",      "source_role": "insider_director_holdings_snapshot",      "source_family": "tpex_insider_balance_snapshot",      "source_row_key": "<Chinese value - see the zh page>",      "lineage": {        "source_family": "tpex_insider_balance_snapshot",        "source_dataset": "t187ap11_balance_snapshot",        "source_provider": "tpex_official"      },      "data_gaps": [        "holding_ratio_not_source_provided"      ],      "not_investment_advice": true    }  ],  "data_count": 50,  "known_gaps": [    "latest_balance_snapshot_only",    "holding_ratio_nullable_by_policy",    "not_transaction_reconstruction"  ],  "warnings": [    "not_investment_advice"  ],  "not_investment_advice": true,  "envelope": {    "dataset_id": "insider_director_holdings",    "scope": "insider_director_holdings_latest_balance_snapshot_only",    "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.

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

Notes & limitations

  • Monthly cadence: insider holdings are disclosed on a reporting-month lag, so the latest available period trails the current month.

Request & Response

Request

curl "https://api.twmarketdata.com/v2/datasets/insider-director-holdings?symbol=2330" \  -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": "insider_director_holdings",  "request_context": {    "scope": "insider_director_holdings_latest_balance_snapshot_only",    "coverage_type": "latest_balance_snapshot_only",    "filters": {      "ticker": null,      "market": null,      "source_as_of_date": null,      "holder_name": null,      "holder_role": null,      "holder_category": null,      "source_family": null,      "limit": 50    },    "min_source_as_of_date": "2026-05-20",    "max_source_as_of_date": "2026-05-20"  },  "quality": {    "row_count": 50,    "ticker_count": 3,    "sensitive_fields_exposed": false  },  "lineage": {    "source_providers": [      "tpex_official"    ],    "source_roles": [      "insider_director_holdings_snapshot"    ],    "source_families": [      "tpex_insider_balance_snapshot"    ]  },  "error": null,  "data": [    {      "ticker": "1240",      "market": "TPEx",      "source_as_of_date": "2026-05-20",      "holder_name": "<Chinese value - see the zh page>",      "holder_role": "<Chinese value - see the zh page>",      "holder_category": "manager",      "holding_shares": 111169,      "holding_ratio": null,      "pledge_shares": 0,      "source_provider": "tpex_official",      "source_role": "insider_director_holdings_snapshot",      "source_family": "tpex_insider_balance_snapshot",      "source_row_key": "<Chinese value - see the zh page>",      "lineage": {        "source_family": "tpex_insider_balance_snapshot",        "source_dataset": "t187ap11_balance_snapshot",        "source_provider": "tpex_official"      },      "data_gaps": [        "holding_ratio_not_source_provided"      ],      "not_investment_advice": true    },    {      "ticker": "1240",      "market": "TPEx",      "source_as_of_date": "2026-05-20",      "holder_name": "<Chinese value - see the zh page>",      "holder_role": "<Chinese value - see the zh page>",      "holder_category": "manager",      "holding_shares": 612766,      "holding_ratio": null,      "pledge_shares": 0,      "source_provider": "tpex_official",      "source_role": "insider_director_holdings_snapshot",      "source_family": "tpex_insider_balance_snapshot",      "source_row_key": "<Chinese value - see the zh page>",      "lineage": {        "source_family": "tpex_insider_balance_snapshot",        "source_dataset": "t187ap11_balance_snapshot",        "source_provider": "tpex_official"      },      "data_gaps": [        "holding_ratio_not_source_provided"      ],      "not_investment_advice": true    }  ],  "data_count": 50,  "known_gaps": [    "latest_balance_snapshot_only",    "holding_ratio_nullable_by_policy",    "not_transaction_reconstruction"  ],  "warnings": [    "not_investment_advice"  ],  "not_investment_advice": true,  "envelope": {    "dataset_id": "insider_director_holdings",    "scope": "insider_director_holdings_latest_balance_snapshot_only",    "row_count": 50  }}

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.