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

Stock split & par-value eventsEnhanced corporate actionsESG (TESG)Corporate actionsDelisting lifecycleDisposition securities periodCompany risk eventsEvents calendar

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.

Companies & Events

ESG (TESG)

ESG (TESG) scores for listed companies — the composite sustainability score and its environmental, social and governance pillars, compiled from official disclosures.

DerivedSource: TWSE·Plan: pro·Cost: 3 credits·GET /v2/datasets/esg-tesg

Overview

esg-tesg is a derived dataset: the composite TESG score and its E / S / G pillar scores are compiled and computed from official corporate sustainability disclosures, not published as a single raw figure. The lineage block names what each score was derived from, so the rating stays auditable rather than a black box. One row per company per assessment period.

FieldTypeDescription
symbolstringTicker.
periodstringAssessment period (e.g. 2025).
tesg_scorenumberComposite TESG score.
environment_scorenumberEnvironmental pillar score.
social_scorenumberSocial pillar score.
governance_scorenumberGovernance pillar score.
source_rolestringCanonical source role (derived_twse_tesg).

Coverage

Rows10,088
Window2026-06-05 (single-day snapshot)
GradeDerived

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": "esg_tesg",  "request_context": {    "scope": "esg_tesg_official_open_ghg_only",    "coverage_type": "official_open_current_snapshot_only",    "filters": {      "ticker": null,      "market": null,      "report_year": null,      "as_of_date": null,      "subfamily": null,      "metric_name": null,      "disclosure_status": null,      "source_family": null,      "limit": 50    },    "min_as_of_date": "2026-06-05",    "max_as_of_date": "2026-06-05"  },  "quality": {    "row_count": 50,    "ticker_count": 9,    "sensitive_fields_exposed": false  },  "lineage": {    "source_providers": [      "twse_official"    ],    "source_roles": [      "esg_tesg_official_open"    ],    "source_families": [      "twse_ghg"    ]  },  "error": null,  "data": [    {      "ticker": "1101",      "market": "TWSE",      "report_year": 2024,      "as_of_date": "2026-06-05",      "subfamily": "ghg_carbon_disclosure",      "metric_name": "scope1_assurance",      "metric_value": "<Chinese value - see the zh page>",      "metric_unit": null,      "disclosure_status": "disclosed",      "source_provider": "twse_official",      "source_role": "esg_tesg_official_open",      "source_family": "twse_ghg",      "lineage": {        "row_index": 0,        "source_url": "https://openapi.twse.com.tw/v1/opendata/t187ap46_L_1",        "source_column": "<Chinese value - see the zh page>"      },      "data_gaps": [],      "not_investment_advice": true    },    {      "ticker": "1101",      "market": "TWSE",      "report_year": 2024,      "as_of_date": "2026-06-05",      "subfamily": "ghg_carbon_disclosure",      "metric_name": "scope1_emissions_tco2e",      "metric_value": "39544430.9992",      "metric_unit": "<Chinese value - see the zh page>",      "disclosure_status": "disclosed",      "source_provider": "twse_official",      "source_role": "esg_tesg_official_open",      "source_family": "twse_ghg",      "lineage": {        "row_index": 0,        "source_url": "https://openapi.twse.com.tw/v1/opendata/t187ap46_L_1",        "source_column": "<Chinese value - see the zh page>"      },      "data_gaps": [],      "not_investment_advice": true    }  ],  "data_count": 50,  "known_gaps": [    "official_open_current_snapshot_only",    "ghg_only_initial_baseline",    "no_paid_commercial_tesg_parity_claim"  ],  "warnings": [    "not_investment_advice"  ],  "not_investment_advice": true,  "envelope": {    "dataset_id": "esg_tesg",    "scope": "esg_tesg_official_open_ghg_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/esg-tesg?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/esg-tesg",    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/esg-tesg",    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/esg-tesg. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.

Notes & limitations

  • Derived, not disclosed: TESG scores are compiled from official disclosures on an annual assessment cadence, so the latest period trails the current year and a score can be revised as underlying disclosures update.

Request & Response

Request

curl "https://api.twmarketdata.com/v2/datasets/esg-tesg?symbol=2330&start_date=2026-01-01&end_date=2026-06-30&limit=5" \  -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": "esg_tesg",  "request_context": {    "scope": "esg_tesg_official_open_ghg_only",    "coverage_type": "official_open_current_snapshot_only",    "filters": {      "ticker": null,      "market": null,      "report_year": null,      "as_of_date": null,      "subfamily": null,      "metric_name": null,      "disclosure_status": null,      "source_family": null,      "limit": 50    },    "min_as_of_date": "2026-06-05",    "max_as_of_date": "2026-06-05"  },  "quality": {    "row_count": 50,    "ticker_count": 9,    "sensitive_fields_exposed": false  },  "lineage": {    "source_providers": [      "twse_official"    ],    "source_roles": [      "esg_tesg_official_open"    ],    "source_families": [      "twse_ghg"    ]  },  "error": null,  "data": [    {      "ticker": "1101",      "market": "TWSE",      "report_year": 2024,      "as_of_date": "2026-06-05",      "subfamily": "ghg_carbon_disclosure",      "metric_name": "scope1_assurance",      "metric_value": "<Chinese value - see the zh page>",      "metric_unit": null,      "disclosure_status": "disclosed",      "source_provider": "twse_official",      "source_role": "esg_tesg_official_open",      "source_family": "twse_ghg",      "lineage": {        "row_index": 0,        "source_url": "https://openapi.twse.com.tw/v1/opendata/t187ap46_L_1",        "source_column": "<Chinese value - see the zh page>"      },      "data_gaps": [],      "not_investment_advice": true    },    {      "ticker": "1101",      "market": "TWSE",      "report_year": 2024,      "as_of_date": "2026-06-05",      "subfamily": "ghg_carbon_disclosure",      "metric_name": "scope1_emissions_tco2e",      "metric_value": "39544430.9992",      "metric_unit": "<Chinese value - see the zh page>",      "disclosure_status": "disclosed",      "source_provider": "twse_official",      "source_role": "esg_tesg_official_open",      "source_family": "twse_ghg",      "lineage": {        "row_index": 0,        "source_url": "https://openapi.twse.com.tw/v1/opendata/t187ap46_L_1",        "source_column": "<Chinese value - see the zh page>"      },      "data_gaps": [],      "not_investment_advice": true    }  ],  "data_count": 50,  "known_gaps": [    "official_open_current_snapshot_only",    "ghg_only_initial_baseline",    "no_paid_commercial_tesg_parity_claim"  ],  "warnings": [    "not_investment_advice"  ],  "not_investment_advice": true,  "envelope": {    "dataset_id": "esg_tesg",    "scope": "esg_tesg_official_open_ghg_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.