Skip to content
DataMint
Up to date · 2026-12-04StatisticsTaiwanPaid per request

Taiwan Stock Exchange daily valuation ratios of listed shares

The price-earnings ratio, the dividend yield (percent) and the price-to-book ratio of every share listed on the Taiwan Stock Exchange for each trading day, from the exchange's OpenAPI (BWIBBU_ALL): three observations per security and day. A ratio the exchange leaves empty (no earnings, no dividend) is an observation without a value. The API serves only the latest trading day, so the history in the dataset starts when collection starts.

Data last changed 2026-12-01 (version 2026-12-01.1).

tw.statistics.twse_valuation_ratios

Overview

Records
3,264
Current version
2026-12-01.1
Published
2026-12-01
Updated
daily
Language of the text
zh
Quality of the latest run
100% complete, 0% rejected

The badge states whether the dataset is kept up to date: a run that found nothing new, or that was skipped on purpose, still counts as checked. The date the data last changed is the version shown above. The source is updated daily.

Schema

Model StatisticObservation, schema version 1.0. Every record has these fields; a field that is "may be empty" is present with no value when the source has none.

  • Fielddataset_code
    Typestring
    Rulesup to 64 characters
  • Fieldseries_key
    Typestring
    Rulesup to 190 characters
  • Fieldseries_name
    Typestring, may be empty
    Rules—
  • Fielddimensions
    Typeobject
    Rules—
  • Fieldfrequency
    Typestring
    Rulesone of annual, semiannual, quarterly, monthly, weekly, daily, other
  • Fieldperiod_label
    Typestring
    Rulesup to 16 characters
  • Fieldperiod_start
    Typestring
    Rulesfixed pattern
  • Fieldperiod_end
    Typestring
    Rulesfixed pattern
  • Fieldvalue
    Typestring, may be empty
    Rulesfixed pattern
  • Fieldunit
    Typestring, may be empty
    Rulesup to 200 characters
  • Fieldstatus
    Typestring, may be empty
    Rulesone of provisional, estimated, forecast, revised, break, other
  • Fieldsource_updated_at
    Typestring, may be empty
    Rulesfixed pattern

Filters for the query API

These are the only filters the query endpoint accepts for this dataset.

  • Filterseries_key
    Matchesequals
    DescriptionOne series of the dataset, as printed in `series_key` (dimension values except the period).
  • Filterfrequency
    Matchesenum
    DescriptionHow often the series is observed.
  • Filterstatus
    Matchesenum
    DescriptionOnly observations the source flags this way (for example provisional).
  • Filterperiod
    Matchesdate range
    DescriptionPeriods that start within the range, inclusive: `{"from": "2024-01-01", "to": "2024-12-31"}`.

Preview

  • dataset codetwse-valuation-ratios
    series key3135:dividend_yield
    series nameDividend yield, 凌航 (3135)
    dimensions{"security":"3135","indicator":"dividend_yield"}
    frequencydaily
    period label2026-11-30
  • dataset codetwse-valuation-ratios
    series key4763:dividend_yield
    series nameDividend yield, 材料*-KY (4763)
    dimensions{"security":"4763","indicator":"dividend_yield"}
    frequencydaily
    period label2026-11-30
  • dataset codetwse-valuation-ratios
    series key6671:pe_ratio
    series namePrice-earnings ratio, 三能-KY (6671)
    dimensions{"security":"6671","indicator":"pe_ratio"}
    frequencydaily
    period label2026-11-30
  • dataset codetwse-valuation-ratios
    series key6257:pb_ratio
    series namePrice-to-book ratio, 矽格 (6257)
    dimensions{"security":"6257","indicator":"pb_ratio"}
    frequencydaily
    period label2026-11-30
  • dataset codetwse-valuation-ratios
    series key2539:pb_ratio
    series namePrice-to-book ratio, 櫻花建 (2539)
    dimensions{"security":"2539","indicator":"pb_ratio"}
    frequencydaily
    period label2026-11-30

Showing 6 of 12 fields and long values shortened. The download has everything, including the verbatim source text of each record.

Versions

  • Version2026-12-01.1
    StatusCurrent
    Published2026-12-01
    Records3,264
    What changed3,264 added
    Files

Download

The current version, 2026-12-01.1. Each file carries the attribution the licence asks for.

Downloads are paid

A download costs 0.20 USDC per file in USDC on Base. Pay with a browser wallet (MetaMask, Coinbase Wallet, Rabby or your wallet's own browser) and the file is saved when the payment is confirmed. Signing costs no gas. Or pay with your own x402 client.
  • JSON

    One document with the dataset, version and attribution, then every record with its normalised fields and the verbatim source text. Best for programs and agents.

  • CSV

    One row per record with a header row and the attribution on every row. Opens in spreadsheets; lists are joined into one cell.

Follow the changes instead of downloading everything

This dataset publishes what each version added, changed and removed. Fetching only that is much smaller than the full file.

How downloads behave
  • The buttons above always give the newest version. Every file also has an address that names its version (see the table of versions); that file never changes and can be kept forever.
  • Each download has an ETag. Send it back in an If-None-Match header and the server answers 304 with no file when nothing changed, so a script can check often at no cost.
  • This dataset is large. A full download is read from the database as it is sent, so it can take a while to start, and it counts against the limit on queries per minute for your address. If you are refused, wait a minute and try again.
  • Parquet are planned but not available yet.

Use it

Everything on this page is also available from the API, for scripts and AI agents.

Download the current version
curl -L -O -J "https://datamint.cloud/v1/datasets/tw.statistics.twse_valuation_ratios/download?format=csv"
Query records with a filter
curl -X POST "https://datamint.cloud/v1/datasets/tw.statistics.twse_valuation_ratios/query" \
  -H "content-type: application/json" \
  -d '{"filters": {"frequency":"annual"}, "limit": 10}'
Keep a local copy current (for an agent or a script)
// Ask again only when the dataset changed: the ETag says so (304 means "unchanged").
const url = "https://datamint.cloud/v1/datasets/tw.statistics.twse_valuation_ratios/download?format=json";
let etag = null; // keep it between runs

async function refresh() {
  const res = await fetch(url, { headers: etag ? { "if-none-match": etag } : {} });
  if (res.status === 304) return null; // nothing new
  etag = res.headers.get("etag");
  return res.json(); // { dataset, version, attribution, records: [...] }
}
Machine-readable description of the whole API
curl "https://datamint.cloud/v1/openapi.json"

OpenAPI description

Licence and attribution

Taiwan Government Open Data License, version 1.0 (referenced by the TWSE OpenAPI) (terms)

Attribution is required. Use this text:

Attribution
Source: Taiwan Stock Exchange (TWSE) OpenAPI, Government Open Data License, Taiwan (https://data.gov.tw/license); normalized and reformatted by DataMint

Access and pricing

Pay per request

Pay per request in USDC on Base with the x402 protocol. Metadata, schema, versions and previews are free.

Record query per query
0.03 USDC
Download per file
0.20 USDC
Change file per version
0.10 USDC

Paid in USDC on Base with the x402 protocol, no account needed. The catalogue, this page, the schema, the versions and the preview are free. See how to pay.