Building an AI agent? Start with /llms.txt for the full site index.
Market Structure & Reference
Securities firm master
Securities firm master
GET /v2/datasets/securities-firm-masterSecurities firm master is a Taiwan market dataset sourced from TWSE, served by TW Market Data as GET /v2/datasets/securities-firm-master.
Overview
Securities firm master — grain: broker_id.
| Field | Type | Description |
|---|---|---|
broker_id | string | Broker id |
broker_name | string | Broker name |
tax_id | string | |
region_code | string | |
phone | string | |
fax | string | |
settlement_bank | string | |
business_status | null | Business status |
business_type | string | |
chairman | string | |
general_manager | string | |
admin_address | string | |
note | string | |
registered_capital_k | number | Registered capital (NT$ thousand) |
paid_capital_k | number | |
operating_capital_k | number | |
report_date | string | |
change_date | string | |
margin_start_date | string | |
established_date | string | |
business_start_date | string | |
market | string | |
business_items | array | Business items |
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": "securities_firm_master", "request_context": { "scope": "twse_securities_firm_master_only", "coverage_type": "current_snapshot_reference_master", "filters": { "broker_id": "1020", "limit": 50 } }, "quality": { "row_count": 1, "firm_count": 1, "sensitive_fields_exposed": false }, "lineage": { "source_families": [ "TWSE_T187AP18" ], "semantics": "<Chinese value - see the zh page>" }, "error": null, "data": [ { "broker_id": "1020", "broker_name": "<Chinese value - see the zh page>", "tax_id": "53021481", "region_code": "<Chinese value - see the zh page>", "phone": "02-27528000", "fax": "02-27526060", "settlement_bank": "<Chinese value - see the zh page>", "business_status": null, "business_type": "<Chinese value - see the zh page>", "chairman": "<Chinese value - see the zh page>", "general_manager": "<Chinese value - see the zh page>", "admin_address": "<Chinese value - see the zh page>", "note": "<Chinese value - see the zh page>", "registered_capital_k": 3000000, "paid_capital_k": 5206132, "operating_capital_k": 0, "report_date": "2026-08-05", "change_date": "2026-05-29", "margin_start_date": "2011-12-02", "established_date": "2011-12-02", "business_start_date": "2011-12-02", "market": "TWSE", "source_family": "TWSE_T187AP18", "business_items": [], "lineage": { "grain": "firm_master", "source": "TWSE_openapi_t187ap18", "emitter": "build_securities_firm_master_candidates" } } ], "data_count": 1, "known_gaps": [ "firm_level_master_not_branch_level", "current_snapshot_reference_master", "not_investment_advice" ], "warnings": [ "not_investment_advice" ], "envelope": { "dataset_id": "securities_firm_master", "scope": "twse_securities_firm_master_only", "row_count": 1 }}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.
Provenance
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.
source_familylineageGetting started
- Put your key in the X-API-Key header.
- Add query parameters (symbol, date range, limit).
- Send the request and read the data array.
curl "https://api.twmarketdata.com/v2/datasets/securities-firm-master?symbol=2330" \ -H "X-API-Key: sk_live_..."Filtering
| Parameter | Required | Type | Description |
|---|---|---|---|
symbol | No | string | Ticker to filter to a single security. |
limit | No | integer | Maximum rows to return. |
Python
A first call:
import requests resp = requests.get( "https://api.twmarketdata.com/v2/datasets/securities-firm-master", 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/securities-firm-master", 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/securities-firm-master. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.