Get macro data
get_macro_seriesLists Taiwan and US macroeconomic series (GDP, inflation, employment, trade, policy rates, Treasury yields, crude oil, US dollar indices, Taiwan total return indices) with their latest value, and returns the history of one series. Data comes from the CubeLV Market Data API (https://cubelv.com/en/mcp/taiwan-economy/): pick a method and pass its arguments in args.
Methods:
macroSeries (Macro series list): Definitions and latest observation of every macroeconomic series: US and Taiwan macro data, central bank policy rates, US Treasury yields, crude oil spot prices, US dollar indices and Taiwan total return indices.
macroObservations (Macro series history): Observations of one macroeconomic series over a date range, oldest first. Up to 2000 rows. Args: id (required): Series id (case-insensitive), 64 in total; see macroSeries for the full list with latest values. US: US.CPI, US.CPI.YOY, US.CORE_CPI, US.CORE_CPI.YOY, US.UNEMPLOYMENT, US.NONFARM, US.NONFARM.CHANGE, US.GDP.QOQ, US.PCE_PRICE, US.PCE_PRICE.YOY, US.CORE_PCE_PRICE, US.CORE_PCE_PRICE.YOY, US.PERSONAL_INCOME, US.PERSONAL_INCOME.MOM, US.PERSONAL_SPENDING, US.PERSONAL_SPENDING.MOM, US.EFFR, US.FED_TARGET.LOWER, US.FED_TARGET.UPPER, US.TREASURY. (1M, 6W, 2M, 3M, 4M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y), US.OIL.WTI, US.OIL.BRENT, US.DOLLAR.BROAD, US.DOLLAR.AFE. Policy rates: US.FED, GB.BOE, AU.RBA, CN.PBOC, CA.BOC, EU.ECB, NZ.RBNZ, IN.RBI, RU.CBR, BR.BCB, JP.BOJ, CH.SNB followed by .POLICY_RATE. Taiwan: TW.TWSE.TOTAL_RETURN, TW.TPEX.TOTAL_RETURN, TW.CPI, TW.CPI.YOY, TW.UNEMPLOYMENT, TW.BUSINESS_SIGNAL, TW.LEADING, TW.LEADING.DETREND, TW.COINCIDENT, TW.COINCIDENT.DETREND, TW.LAGGING, TW.LAGGING.DETREND, TW.CBC.DISCOUNT, TW.CBC.SECURED, TW.CBC.UNSECURED. Unknown ids return 404; from: Start date (inclusive), YYYYMMDD, compared with the observation period (first day of the month for monthly data, first day of the quarter for quarterly data, effective date for policy rates); to: End date (inclusive), YYYYMMDD, compared the same way as from; limit: Most recent N observations in the range, returned oldest first (1-2000, default 60).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method": "<method>"
},
"name": "get_macro_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the method, as listed in the tool description | |
| lang | No | Language for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en | |
| method | Yes | Method from the list in the tool description |