Building an AI agent? Start with /llms.txt for the full site index.
Capital Flows
Daily net buy/sell by the three major institutional investor groups on TWSE, from the official T86 report.
GET /v2/datasets/institutional-flowInstitutional flow is a Taiwan market dataset sourced from TWSE, served by TW Market Data as GET /v2/datasets/institutional-flow.
institutional-flow returns one row per stock per trading day with foreign, investment-trust and dealer flows, sourced from TWSE T86. Rows carry their source role so the number is traceable to the official report.
| Field | Type | Description |
|---|---|---|
market | string | |
foreign_buy | null | |
foreign_sell | null | |
investment_trust_buy | null | |
investment_trust_sell | null | |
dealer_buy | null | |
dealer_sell | null | |
foreign_holding_ratio | null | |
institutional_participation_ratio | null | |
universe_class | string | |
is_common_universe | boolean | |
symbol | string | Ticker. |
as_of_date | string | |
date | string | Trading date. |
foreign_net_buy_sell | number | |
investment_trust_net_buy_sell | number | |
dealer_net_buy_sell | number | |
total_institutional_net_buy_sell | number |
| Rows | ~11,801,071 |
| Window | 2012-05-02 – 2026-09-03 |
| Grade | Verified |
| Measured | 2026-09-04from the dataset registry |
A real response from this endpoint. Rows are returned under "rows", 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": "institutional_flow",
"rows": [
{
"market": "TWSE",
"foreign_buy": null,
"foreign_sell": null,
"investment_trust_buy": null,
"investment_trust_sell": null,
"dealer_buy": null,
"dealer_sell": null,
"foreign_holding_ratio": null,
"institutional_participation_ratio": null,
"provider": "twse_official",
"source_role": "official_twse_t86",
"lineage": {
"row_index": 1186,
"source_hash": "aa6628fdc5b51ff9c21033e544be39305d19e99d402164cc4c58923c30d827f9",
"payload_date": "20260804",
"request_date": "2026-08-04",
"endpoint_name": "T86",
"source_authority": "TWSE T86"
},
"updated_at": "2026-08-04T09:31:15.296611",
"universe_class": "common_stock",
"is_common_universe": true,
"symbol": "1301",
"as_of_date": "2026-08-04",
"date": "2026-08-04",
"foreign_net_buy_sell": 762896,
"investment_trust_net_buy_sell": -162000,
"dealer_net_buy_sell": -1105183,
"total_institutional_net_buy_sell": -504287
},
{
"market": "TWSE",
"foreign_buy": null,
"foreign_sell": null,
"investment_trust_buy": null,
"investment_trust_sell": null,
"dealer_buy": null,
"dealer_sell": null,
"foreign_holding_ratio": null,
"institutional_participation_ratio": null,
"provider": "twse_official",
"source_role": "official_twse_t86",
"lineage": {
"row_index": 1309,
"source_hash": "c6f28a3d8883de3696bdf505090066d18770f8e09205713e4b2362216d093de3",
"payload_date": "20260803",
"request_date": "2026-08-03",
"endpoint_name": "T86",
"source_authority": "TWSE T86"
},
"updated_at": "2026-08-03T09:31:31.818825",
"universe_class": "common_stock",
"is_common_universe": true,
"symbol": "1301",
"as_of_date": "2026-08-03",
"date": "2026-08-03",
"foreign_net_buy_sell": -5079620,
"investment_trust_net_buy_sell": 0,
"dealer_net_buy_sell": -381973,
"total_institutional_net_buy_sell": -5461593
}
],
"count": 50
}Captured from the live API on 2026-07-20.
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_rolelineageupdated_atPart 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.
TW Market Data. (n.d.). Institutional flow [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/en/docs/api/capital-flows/institutional-flow
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
Datasets that join with this one. The key each pair aligns on is shown, so you can plan a multi-table query without guessing.
Joins on as_of_date + market + ticker + trade_date
Joins on as_of_date + market + ticker + trade_date
Joins on market + ticker + trade_date
Joins on market + ticker + trade_date
Joins on as_of_date + market + ticker
curl "https://api.twmarketdata.com/v2/datasets/institutional-flow?symbol=2330&start_date=2026-06-01&end_date=2026-07-15&limit=5" \
-H "X-API-Key: sk_live_..."| Parameter | Required | Type | Description |
|---|---|---|---|
symbol | Yes | string | Ticker, e.g. 2330. |
start_date | No | string | Start of the query range (YYYY-MM-DD). |
end_date | No | string | End of the query range (YYYY-MM-DD). |
limit | No | integer | Maximum rows to return. |
import requests
resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/institutional-flow",
params={"symbol": "2330", "limit": "5"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["rows"])This endpoint is GET /v2/datasets/institutional-flow. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.