TW Market Data LogoTW Market Data

Facts & statistics

Market facts

Long-run statistics for Taiwan equities, each with its sample period and as_of

Seasonality

Monthly return distributions and hit rates, with sample sizes

Institutional flow

Seasonality in the breadth of institutional net buying

Limit events

How often limit moves happen, and how concentrated they are

Delisting

Delisting counts and survival spans — the basis for avoiding survivorship bias

Rule changes

A timeline of trading-rule changes — the premise for reading historical data

Data & exploration

Dataset catalogue

Every dataset, its coverage, and how often it updates

Playground

Call the API from the browser, without a key

Market today

Today's market at a glance

Stock analysis

The entry point for looking at one instrument

Market heat map

The whole market in one picture — area is market cap, colour is revenue growth

Market calendar

Statutory disclosure deadlines — the day a figure may legally first be known

Platform capabilities

Product overview

What TWMD provides, and who it is built for

Verifiable proof

Signed checkpoints and per-row inclusion proofs

Data quality

Reconciliation, gap handling, and quality status

Methodology

How the figures are computed, and on what basis

Auditable execution

Tie a trading decision back to the data it saw

Connect your broker

Bring TWMD into an existing order and research workflow

Developers

Documentation

API reference, dataset pages, and integration guides

Quick start

Authentication and your first request

Integrate by role

Separate paths for quant research, data engineering, and app development

Connect over MCP

Point an agent straight at TWMD

MCP registry

The published MCP tool list and its signed manifest

Webhooks

Have your system told when data updates

Learn

Blog

Long-form writing on data, method, and market structure

Answers

Specific answers to specific questions, with sources

Topics

Industry chains and thematic relationships

Help centre

Account, billing, and usage questions

Glossary

Definitions for Taiwan-market and data terms

Compare & status

Why TWMD

A point-by-point comparison with FinMind and TEJ

Migrate from FinMind

Field mapping and migration steps

Migrate from FinLab

Field mapping and migration steps

Migrate from TEJ

Field mapping and migration steps

Status

Service availability and incident history

Security & trust

Trust centre

What we claim, and the limits on each claim

Security

Architecture, access control, and incident handling

Security facts

The items you can verify from outside

Security evidence

SBOM, ASVS mapping and threat model — including the three controls we do not meet.

Self-assessment

Item-by-item answers for a procurement questionnaire

Compliance & standards

Compliance mapping

Evidence primitives mapped onto FSB, IOSCO, and SR 26-2

Standards & interop

Term-by-term mapping onto published standards, and where it does not map

Provenance & C2PA

A machine-readable origin graph, fetchable without a key

Licensing

How the data may be used and redistributed

Adoption

Evaluate

Seven checks you can run yourself, without an account

Talk to sales

Enterprise plans, quotas, and contract detail

Pricing
中文Sign inSign up
TW Market Data

Taiwan market-data infrastructure, built for AI agents and quantitative workflows.

Status unknown
© 2026 TW Market Data

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·
  • Cookie Policy·
  • Acceptable Use Policy·
  • Data Sources & Licensing·
  • Legal (all documents)
中文

AI Agent

  • MCP Server
  • Skills
  • Tool manifest
  • Agent workflow examples
  • Agent benchmark
  • llms.txt
  • OpenAPI spec

Security

  • Security overview
  • Verifiable data
  • Trust Center
  • Standards & Interop
  • Regulatory mapping

Product

  • Datasets
  • Topics
  • Market facts
  • Documentation
  • Integration runbooks
  • Playground (no signup)
  • Free tier
  • Solutions

Company

  • About TWMD
  • Blog
  • Help centre
  • Pricing

Documentation

DASHBOARD

DashboardPricing

FOR AI AGENTS

MCP ServerSkillsllms.txtTool manifestOpenAPI SpecAgent workflow examples

OVERVIEW

OverviewQuick startAuthenticationSource policyData gradesData lineageMarket coverage

DATA APIS

Interest-rate snapshotGlobal macroWorld Bank macroExport Orders (by commodity)Manufacturing Production-Value IndexCustoms TradeGovernment bond yield curve

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.

Macroeconomics

World Bank macro

World Bank development indicators — long-run cross-country macro series sourced directly from the World Bank.

← World Bank macro overview

VerifiedSource: World Bank·Licence: CC BY 4.0·Plan: developer·Cost: 2 credits·GET /v2/datasets/macro-worldbank

World Bank macro is a Taiwan market dataset sourced from World Bank, served by TW Market Data as GET /v2/datasets/macro-worldbank.

Overview

macro-worldbank returns one row per indicator per year for World Bank development indicators. It is international-source macro context, not a TWSE feed; each row names the World Bank indicator code in its lineage so a value can be reconciled against the original World Bank series.

FieldTypeDescription
country_isostring
country_namestring
indicator_codestring
indicator_namestring
yearnumberReference year.
valuenumberIndicator value for the year.
source_groupstring
licensestring

Coverage

Rows1,363,937
Window1960 – 2025
GradeVerified
Measured2026-09-01from the dataset registry

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.

{
"api_version": "v2",
"endpoint": "/v2/datasets/macro-worldbank",
"request_id": "req_b747ed1ecfac",
"plan_id": "enterprise",
"dataset": "macro_worldbank",
"dataset_id": "macro_worldbank",
"request_context": {
"scope": "worldbank_wdi_country_indicator_panel",
"coverage_type": "worldbank_open_data_wdi_ccby",
"filters": {
"country_iso": null,
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": null,
"year_from": null,
"year_to": null,
"limit": 50
},
"min_year": 2025,
"max_year": 2025
},
"quality": {
"row_count": 50,
"country_count": 50,
"indicator_count": 1,
"raw_payload_exposed": false
},
"lineage": {
"source_groups": [
"WorldBank"
],
"source_providers": [
"worldbank_open_data"
],
"source_families": [
"WorldBank_WDI"
],
"license": "CC-BY"
},
"error": null,
"data": [
{
"country_iso": "ABW",
"country_name": "Aruba",
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": "Population ages 0-14 (% of total population)",
"year": 2025,
"value": 16.5191058508056,
"source_group": "WorldBank",
"license": "CC-BY",
"lineage": {
"source": "worldbank_wdi_v2",
"endpoint": "api.worldbank.org"
}
},
{
"country_iso": "AFE",
"country_name": "Africa Eastern and Southern",
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": "Population ages 0-14 (% of total population)",
"year": 2025,
"value": 40.0294227514603,
"source_group": "WorldBank",
"license": "CC-BY",
"lineage": {
"source": "worldbank_wdi_v2",
"endpoint": "api.worldbank.org"
}
}
],
"data_count": 50,
"known_gaps": [
"worldbank_wdi_annual_panel",
"taiwan_absent_worldbank_non_member_use_business_indicator",
"not_taiwan_market_data"
],
"data_gaps": [
"worldbank_wdi_annual_panel",
"taiwan_absent_worldbank_non_member_use_business_indicator",
"not_taiwan_market_data"
],
"query": {
"country_iso": null,
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": null,
"year_from": null,
"year_to": null,
"limit": 50
},
"meta": {
"rows_returned": 50,
"mandatory_contract_fields_present": [
"data",
"error",
"lineage"
],
"plan": "enterprise",
"row_limit": 100000,
"is_limited": false
},
"warnings": [
"not_investment_advice"
],
"envelope": {
"dataset_id": "macro_worldbank",
"request_context": {
"scope": "worldbank_wdi_country_indicator_panel",
"coverage_type": "worldbank_open_data_wdi_ccby",
"filters": {
"country_iso": null,
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": null,
"year_from": null,
"year_to": null,
"limit": 50
},
"min_year": 2025,
"max_year": 2025
},
"quality": {
"row_count": 50,
"country_count": 50,
"indicator_count": 1,
"raw_payload_exposed": false
},
"lineage": {
"source_groups": [
"WorldBank"
],
"source_providers": [
"worldbank_open_data"
],
"source_families": [
"WorldBank_WDI"
],
"license": "CC-BY"
},
"error": null,
"data": [
{
"country_iso": "ABW",
"country_name": "Aruba",
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": "Population ages 0-14 (% of total population)",
"year": 2025,
"value": 16.5191058508056,
"source_group": "WorldBank",
"license": "CC-BY",
"lineage": {
"source": "worldbank_wdi_v2",
"endpoint": "api.worldbank.org"
}
},
{
"country_iso": "AFE",
"country_name": "Africa Eastern and Southern",
"indicator_code": "SP.POP.0014.TO.ZS",
"indicator_name": "Population ages 0-14 (% of total population)",
"year": 2025,
"value": 40.0294227514603,
"source_group": "WorldBank",
"license": "CC-BY",
"lineage": {
"source": "worldbank_wdi_v2",
"endpoint": "api.worldbank.org"
}
}
],
"known_gaps": [
"worldbank_wdi_annual_panel",
"taiwan_absent_worldbank_non_member_use_business_indicator",
"not_taiwan_market_data"
],
"warnings": [
"not_investment_advice"
],
"envelope": {
"dataset_id": "macro_worldbank",
"scope": "worldbank_wdi_country_indicator_panel",
"row_count": 50
}
}
}

Captured from the live API on 2026-07-20.

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.

lineage

Licence and attribution

Source: World Bank Open Data

Cite this dataset

TW Market Data. (n.d.). World Bank macro [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/en/docs/api/macro/macro-worldbank

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

Related datasets

Datasets that join with this one. The key each pair aligns on is shown, so you can plan a multi-table query without guessing.

  • Government bond yield curve

    Same domain: macro

  • Competitor FX (vs TWD)

    Same domain: macro

  • Customs Trade

    Same domain: macro

  • Export Orders (by commodity)

    Same domain: macro

  • Interest-rate snapshot

    Same domain: macro

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/macro-worldbank?country=TWN" \
-H "X-API-Key: sk_live_..."

Filtering

ParameterRequiredTypeDescription
countryNostringCountry code, e.g. TWN.

Python

import requests

resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/macro-worldbank",
params={"country": "TWN"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])

OpenAPI

This endpoint is GET /v2/datasets/macro-worldbank. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.

Notes & limitations

  • This is World Bank international-source macro context, not TWSE market data — annual cadence with a reporting lag, so the latest year trails the current one.
  • For this macro dataset the symbol param is a World Bank indicator code (e.g. NY.GDP.MKTP.CD), not a stock ticker.

Request & Response

Request
curl "https://api.twmarketdata.com/v2/datasets/macro-worldbank" \
-H "X-API-Key: $TWMD_API_KEY"
Response
{
"api_version": "v2",
"endpoint": "/v2/datasets/macro-worldbank",
"request_id": "req_b747ed1ecfac",
"plan_id": "enterprise",
"dataset": "macro_worldbank",
"dataset_id": "macro_worldbank",
"quality": {
"row_count": "<number>",
"country_count": "<number>",
"indicator_count": "<number>",
"raw_payload_exposed": "<boolean>"
},
"error": null,
"data": [
{
"country_iso": "<string>",
"country_name": "<string>",
"indicator_code": "<string>",
"indicator_name": "<string>",
"year": "<number>",
"value": "<number>",
"source_group": "<string>",
"license": "<string>",
"lineage": {
"source": "<string>",
"endpoint": "<string>"
}
}
],
"data_count": 50,
"known_gaps": [
"<string>"
],
"data_gaps": [
"<string>"
],
"query": {
"country_iso": "<null>",
"indicator_code": "<string>",
"indicator_name": "<null>",
"year_from": "<null>",
"year_to": "<null>",
"limit": "<number>"
},
"meta": {
"rows_returned": "<number>",
"mandatory_contract_fields_present": "<array>",
"plan": "<string>",
"row_limit": "<number>",
"is_limited": "<boolean>"
},
"warnings": [
"<string>"
],
"envelope": {
"dataset_id": "<string>",
"request_context": {
"scope": "<string>",
"coverage_type": "<string>",
"filters": "<object>",
"min_year": "<number>",
"max_year": "<number>"
},
"quality": {
"row_count": "<number>",
"country_count": "<number>",
"indicator_count": "<number>",
"raw_payload_exposed": "<boolean>"
},
"lineage": {
"source_groups": "<array>",
"source_providers": "<array>",
"source_families": "<array>",
"license": "<string>"
},
"error": "<null>",
"data": "<array>",
"known_gaps": "<array>",
"warnings": "<array>",
"envelope": {
"dataset_id": "<string>",
"scope": "<string>",
"row_count": "<number>"
}
}
}
i