Building an AI agent? Start with /llms.txt for the full site index.
Macroeconomics
Global macroeconomic context series compiled from international bodies — cross-country reference readings alongside the Taiwan-market datasets.
GET /v2/datasets/macro-globalGlobal macro is a Taiwan market dataset sourced from International, served by TW Market Data as GET /v2/datasets/macro-global.
macro-global returns one row per indicator per period for global macro series compiled from international bodies. It is international-source context to sit alongside the Taiwan-market data, not a TWSE feed; each row carries its source role and lineage so the upstream authority is explicit.
| Field | Type | Description |
|---|---|---|
series_id | string | |
series_name | string | |
obs_date | string | |
value | number | Indicator value for the period. |
unit | string | |
freq | string | |
source_group | string | |
release_role | string |
| Rows | ~129,585 |
| Window | 1939-01-01 – 2026-09-03 |
| Grade | Verified |
| Measured | 2026-09-04from 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.
{
"api_version": "v2",
"endpoint": "/v2/datasets/macro-global",
"request_id": "req_4348ba16f0a6",
"plan_id": "enterprise",
"dataset": "macro_global",
"dataset_id": "macro_global",
"request_context": {
"scope": "global_macro_series",
"coverage_type": "us_public_domain_original_publishers",
"filters": {
"series_id": "DCOILWTICO",
"series_name": null,
"source_group": null,
"date_from": null,
"date_to": null,
"source_family": null,
"limit": 50
},
"min_obs_date": "2026-05-14",
"max_obs_date": "2026-07-27"
},
"quality": {
"row_count": 50,
"series_count": 1,
"raw_payload_exposed": false
},
"lineage": {
"source_groups": [
"EIA"
],
"source_providers": [
"twse_official"
],
"source_families": [
"EIA"
]
},
"error": null,
"data": [
{
"series_id": "DCOILWTICO",
"series_name": "<Chinese value - see the zh page>",
"obs_date": "2026-07-27",
"value": 84.25,
"unit": "usd_bbl",
"freq": "D",
"source_group": "EIA",
"release_role": "actual",
"source_provider": "twse_official",
"source_role": "official_eia_wti",
"source_family": "EIA",
"lineage": {},
"data_gaps": []
},
{
"series_id": "DCOILWTICO",
"series_name": "<Chinese value - see the zh page>",
"obs_date": "2026-07-24",
"value": 91.74,
"unit": "usd_bbl",
"freq": "D",
"source_group": "EIA",
"release_role": "actual",
"source_provider": "twse_official",
"source_role": "official_eia_wti",
"source_family": "EIA",
"lineage": {},
"data_gaps": []
}
],
"data_count": 50,
"known_gaps": [
"us_public_domain_macro_only",
"not_taiwan_market_data",
"fred_cdn_host_blocked_use_original_publishers"
],
"data_gaps": [
"us_public_domain_macro_only",
"not_taiwan_market_data",
"fred_cdn_host_blocked_use_original_publishers"
],
"query": {
"series_id": "DCOILWTICO",
"series_name": null,
"source_group": null,
"date_from": null,
"date_to": null,
"source_family": 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_global",
"request_context": {
"scope": "global_macro_series",
"coverage_type": "us_public_domain_original_publishers",
"filters": {
"series_id": "DCOILWTICO",
"series_name": null,
"source_group": null,
"date_from": null,
"date_to": null,
"source_family": null,
"limit": 50
},
"min_obs_date": "2026-05-14",
"max_obs_date": "2026-07-27"
},
"quality": {
"row_count": 50,
"series_count": 1,
"raw_payload_exposed": false
},
"lineage": {
"source_groups": [
"EIA"
],
"source_providers": [
"twse_official"
],
"source_families": [
"EIA"
]
},
"error": null,
"data": [
{
"series_id": "DCOILWTICO",
"series_name": "<Chinese value - see the zh page>",
"obs_date": "2026-07-27",
"value": 84.25,
"unit": "usd_bbl",
"freq": "D",
"source_group": "EIA",
"release_role": "actual",
"source_provider": "twse_official",
"source_role": "official_eia_wti",
"source_family": "EIA",
"lineage": {},
"data_gaps": []
},
{
"series_id": "DCOILWTICO",
"series_name": "<Chinese value - see the zh page>",
"obs_date": "2026-07-24",
"value": 91.74,
"unit": "usd_bbl",
"freq": "D",
"source_group": "EIA",
"release_role": "actual",
"source_provider": "twse_official",
"source_role": "official_eia_wti",
"source_family": "EIA",
"lineage": {},
"data_gaps": []
}
],
"known_gaps": [
"us_public_domain_macro_only",
"not_taiwan_market_data",
"fred_cdn_host_blocked_use_original_publishers"
],
"warnings": [
"not_investment_advice"
],
"envelope": {
"dataset_id": "macro_global",
"scope": "global_macro_series",
"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.
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_providersource_rolesource_familylineagedata_gapsPart 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. (n.d.). Global macro [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/en/docs/api/macro/macro-global
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.
Same domain: macro
Same domain: macro
Same domain: macro
Same domain: macro
Same domain: macro
curl "https://api.twmarketdata.com/v2/datasets/macro-global?series_id=GDP" \
-H "X-API-Key: sk_live_..."| Parameter | Required | Type | Description |
|---|---|---|---|
series_id | No | string | Macro series id, e.g. GDP. |
import requests
resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/macro-global",
params={"series_id": "GDP"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])This endpoint is GET /v2/datasets/macro-global. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.