Discover/Com API
live

Com APItdcc.com.tw

Access TDCC shareholder distribution, custody statistics, and security metadata for Taiwan-listed stocks via 7 structured endpoints.

Endpoint health
verified 6d ago
search_stock_by_name
get_shareholder_distribution
get_available_dates
get_open_data
get_security_basic_info
7/7 passing latest checkself-healing
Endpoints
7
Updated
22d ago

What is the Com API?

The TDCC API exposes 7 endpoints covering shareholder distribution brackets, bulk custody statistics, and security metadata sourced from the Taiwan Depository & Clearing Corporation. The get_shareholder_distribution endpoint returns per-bracket holder counts and share volumes for any listed stock by numeric ID and date, while get_security_basic_info delivers exchange-wide security attributes across listed, OTC, and emerging markets.

Try it

No input parameters required.

api.parse.bot/scraper/7737d49f-5a36-4798-bca8-a07a89dcdc96/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7737d49f-5a36-4798-bca8-a07a89dcdc96/get_available_dates' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace tdcc-com-tw-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.taiwan_tdcc_financial_data_api import TDCC, Stock, MarketType

client = TDCC()

# Get available shareholder distribution dates
for date in client.stocks.available_dates(limit=5):
    print(date)

# Search for stocks by Chinese name
for name in client.stocks.search_by_name(query="台積電"):
    print(name)

# Construct a stock and get its shareholder distribution
tsmc = client.stock(id="2330")
for bracket in tsmc.distribution.list(date="20260605"):
    print(bracket.level, bracket.holders, bracket.shares, bracket.percentage)

# List all securities
for security in client.securities.list(limit=5):
    print(security.code, security.name, security.market, security.par_value)

# Get bulk holdings data
for holding in client.holdings.list(limit=10):
    print(holding.stock_code, holding.bracket_level, holding.holders, holding.shares)

# Get monthly custody records for listed market
for record in client.custodies.list(market_type=MarketType.LISTED, limit=10):
    print(record.stock_code, record.stock_name, record.change_amount, record.change_percentage)

# Fetch a raw open dataset
dataset = client.datasets.fetch(data_id="1-5")
print(dataset.data[0])
All endpoints · 7 totalmissing one? ·

Retrieve the list of available data dates in YYYYMMDD format for the shareholder distribution query. Returns weekly dates going back approximately one year, ordered newest first.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "dates": "array of date strings in YYYYMMDD format, ordered newest first"
  },
  "sample": {
    "data": {
      "dates": [
        "20260605",
        "20260529",
        "20260522"
      ]
    },
    "status": "success"
  }
}

About the Com API

Shareholder Distribution Data

The core get_shareholder_distribution endpoint accepts a stock_id (e.g. '2330' for TSMC) and an optional date in YYYYMMDD format. The response includes an array of bracket objects with fields for bracket label (持股/單位數分級), holder count (人數), share volume (股數/單位數), and percentage of total TDCC-held shares (占集保庫存數比例 (%)). The get_available_dates endpoint returns the full list of available weekly dates, ordered newest first, so you can iterate over historical snapshots going back roughly one year.

Bulk and Open Data Endpoints

get_bulk_shareholder_distribution fetches the full cross-stock shareholder distribution dataset in one call — fields include 資料日期, 證券代號, 持股分級, 人數, 股數, and 占集保庫存數比例%. Expect response times of 10–15 seconds. get_security_basic_info retrieves basic attributes for all securities (listed, OTC, emerging), including 證券代號, 證券名稱, 市場別, 發行幣別, 每股面額(元), and 證券狀態. Both are convenience wrappers around get_open_data, which accepts a data_id string (e.g. '1-1', '1-5', '2-22') for direct access to other TDCC Open Data datasets.

Custody and Search Endpoints

get_securities_custody_individual_monthly returns month-over-month custody change data per security, including 本月底保管千股數, 前月底保管千股數, 增減數額, 增減百分比, and 集保股東戶數. Dates use ROC calendar format (e.g. 11503 = March 2026). The optional market_type parameter filters results to 'listed', 'otc', or 'emerging'. To find a stock's numeric ID, search_stock_by_name accepts a Chinese name or partial name (e.g. '台積電') and returns matching name suggestions — numeric ID queries return empty results.

Reliability & maintenanceVerified

The Com API is a managed, monitored endpoint for tdcc.com.tw — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when tdcc.com.tw changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official tdcc.com.tw API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
6d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track weekly changes in TSMC shareholder bracket counts using get_shareholder_distribution with successive dates from get_available_dates.
  • Screen for securities where small retail holders (low bracket) are growing as a share of total custody volume.
  • Build a cross-stock ownership concentration index using bulk bracket data from get_bulk_shareholder_distribution.
  • Monitor month-over-month custody share changes for OTC-market stocks via get_securities_custody_individual_monthly with market_type='otc'.
  • Resolve Chinese company names to numeric stock IDs using search_stock_by_name before querying distribution data.
  • Audit security status fields (證券狀態, 停止過戶領回) across all listed instruments via get_security_basic_info.
  • Pull arbitrary TDCC Open Data datasets not covered by named endpoints using get_open_data with a known data_id.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does TDCC provide an official developer API?+
TDCC publishes an Open Data portal at https://www.tdcc.com.tw/portal/zh/smWeb/qryStock where datasets can be downloaded manually as CSV. There is no documented public REST API with keys or SDK support.
What does `get_shareholder_distribution` return and how granular are the brackets?+
The response returns one object per shareholding bracket, covering ranges from 1–999 shares up to holdings over 800 million shares. Each object includes the bracket label, the number of shareholders in that bracket, the total shares held, and the percentage of total TDCC-custodied shares. Data reflects the weekly snapshot for the requested date.
How fresh is the shareholder distribution data?+
TDCC publishes shareholder distribution on a weekly basis. The get_available_dates endpoint shows the actual dates available, going back approximately one year. There is no intraday or daily update frequency — the data is as fresh as TDCC's weekly publication cycle.
Does the API cover foreign-listed or ADR data for Taiwanese companies?+
No. The API covers securities custodied in the TDCC system — Taiwan-listed, OTC, and emerging market stocks. Foreign listings, ADRs, or GDRs of Taiwanese companies are not included. You can fork this API on Parse and revise it to add an endpoint targeting a supplementary data source for cross-listed instruments.
Can I filter `get_shareholder_distribution` results to a specific bracket range?+
The endpoint returns all brackets for the queried stock and date in a single array; there is no server-side bracket filter parameter. Filtering to a specific range must be done client-side after receiving the full response. The get_bulk_shareholder_distribution endpoint similarly returns all brackets for all stocks in one payload. You can fork the API on Parse and revise it to add a bracket-filter parameter if needed.
Page content last updated . Spec covers 7 endpoints from tdcc.com.tw.
Related APIs in FinanceSee all →
sse.com.cn API
Monitor Shanghai Stock Exchange market activity with real-time equity quotes, index performance data, and daily trading statistics. Search for specific securities and view comprehensive market overviews to track stock prices and exchange trends.
dilutiontracker.com API
Track stock dilution events and analyze how company offerings impact share value with access to SEC filings, financial statements, institutional holdings, and market data. Search companies by ticker to get detailed dilution history, pending offerings, and compare performance metrics all in one place.
stockanalysis.com API
Access comprehensive stock market data including real-time financials, income statements, statistics, and IPO calendars to research individual stocks and identify market movers. Search stocks, view detailed overviews, and monitor premarket activity all in structured, easy-to-use format.
money.tmx.com API
money.tmx.com API
hkex.com.hk API
Access real-time stock quotes, track market indices, view historical charts, and search for securities listed on the Hong Kong Stock Exchange. Stay informed with live company announcements and daily quotation reports to make better trading decisions.
otcmarkets.com API
Get real-time quotes and detailed company profiles for over 12,000 OTC securities, plus access market-wide news, compliance badges, and performance screeners to find advancing stocks. Research OTC companies with comprehensive data to make informed investment decisions.
wap.eastmoney.com API
Access real-time stock quotes, historical K-line charts at 1-minute intervals, and tick data for Chinese securities markets and beyond. Search specific securities, retrieve sector performance, view order books, and pull comprehensive stock lists to power your financial analysis and trading applications.
morningstar.com API
Get comprehensive financial data including stock quotes, company profiles, historical financials, valuation metrics, ownership details, dividends, and market movers from Morningstar. Search securities and access the latest stock news to make informed investment decisions.