Building an AI agent? Start with /llms.txt for the full site index.
Capital Flows
Per-ticker daily securities-lending utilization: lending balance vs shares issued → utilisation_pct and its percentile, with a coverage note. Derived from the securities-lending + foreign-holding families. Not a forecast, not a recommendation.
← Securities-Lending Utilization overview
GET /v2/datasets/lending-utilizationSecurities-Lending Utilization is a Taiwan market dataset sourced from TWSE, served by TW Market Data as GET /v2/datasets/lending-utilization, with data as of 2026-07-31.
| Field | Type | Description |
|---|---|---|
ticker | string | |
market | string | |
trade_date | string | |
lending_balance | number | |
shares_issued | number | NULL ~19.5% |
utilisation_pct | number | NULL where denominator absent |
utilisation_pctile | number | within-history coordinate |
utilisation_note | null | |
derivation_method | string | |
rule_version | string |
| Rows | 3,563,933 |
| Window | 2007-01-02 – 2026-08-26 |
| Grade | Verified |
| Measured | 2026-09-01from the dataset registry |
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": "lending_utilization",
"request_context": {
"scope": "twse_tpex_securities_lending_utilisation",
"coverage_type": "daily_derived",
"filters": {
"ticker": null,
"market": null,
"trade_date": null,
"date_from": null,
"date_to": null,
"limit": 50
},
"applied_defaults": {
"default_window_days": 30,
"reason": "no date filter given; bounded to keep the view's percent_rank window from scanning all history (15.7s unbounded vs 0.7s bounded)"
},
"min_trade_date": "2026-08-03",
"max_trade_date": "2026-08-03"
},
"quality": {
"row_count": 50,
"ticker_count": 50,
"rows_without_shares_issued": 1,
"sensitive_fields_exposed": false
},
"lineage": {
"derivation_methods": [
"derived_securities_lending_over_foreign_holding_shares_issued"
],
"rule_versions": [
"derived_v1_lending_balance_over_shares_issued"
],
"semantics": "Securities-lending balance as a share of shares issued, per ticker per trading day, with the cross-sectional percentile of that ratio. DERIVED: utilisation_pct = lending_balance / shares_issued."
},
"error": null,
"data": [
{
"ticker": "00400A",
"market": "TWSE",
"trade_date": "2026-08-03",
"lending_balance": 49158000,
"shares_issued": 2167140000,
"utilisation_pct": 2.268335,
"utilisation_pctile": 0.3326848249027237,
"utilisation_note": null,
"derivation_method": "derived_securities_lending_over_foreign_holding_shares_issued",
"rule_version": "derived_v1_lending_balance_over_shares_issued"
},
{
"ticker": "00401A",
"market": "TWSE",
"trade_date": "2026-08-03",
"lending_balance": 5283000,
"shares_issued": 230395000,
"utilisation_pct": 2.293019,
"utilisation_pctile": 0.3351167315175097,
"utilisation_note": null,
"derivation_method": "derived_securities_lending_over_foreign_holding_shares_issued",
"rule_version": "derived_v1_lending_balance_over_shares_issued"
}
],
"data_count": 50,
"known_gaps": [
"utilisation_pct_is_derived_lending_balance_over_shares_issued",
"shares_issued_is_a_point_in_time_master_value_not_restated_history",
"derivation_method_and_rule_version_pin_how_each_row_was_computed"
],
"warnings": [
"not_investment_advice"
],
"envelope": {
"dataset_id": "lending_utilization",
"scope": "twse_tpex_securities_lending_utilisation",
"row_count": 50
}
}Captured from the live API on 2026-07-20.
Part 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. (2026). Securities-Lending Utilization (Version 2026-07-31) [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/en/docs/api/capital-flows/lending-utilization
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 market + ticker + trade_date
Joins on market + ticker + trade_date
Joins on market + ticker + trade_date
Joins on market + ticker + trade_date
Joins on market + ticker + trade_date
curl "https://api.twmarketdata.com/v2/datasets/lending-utilization" \
-H "X-API-Key: sk_live_..."| Parameter | Required | Type | Description |
|---|---|---|---|
symbol | Yes | string | Ticker, e.g. 2330. |
start_date | No | string (YYYY-MM-DD) | Start of the query range. |
end_date | No | string (YYYY-MM-DD) | End of the query range. |
limit | No | integer | Maximum rows to return. |
import requests
resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/lending-utilization",
params={},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])This endpoint is GET /v2/datasets/lending-utilization. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.