Get macroeconomic data
get_macro_dataGet macroeconomic data for a specific series. Returns CSV (date,value), or JSON candidates if the input is ambiguous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Upper bound of the date range to filter by, in YYYY-MM-DD format. Omit for no upper bound (the latest available data point). | |
| from | No | Lower bound of the date range to filter by, in YYYY-MM-DD format. Omit for no lower bound (the earliest available data point). | |
| series_id | Yes | The macro series identifier or its name (e.g. "inflation" or "CCPI_YOY"). Typos are tolerated. If the input is ambiguous, the response returns candidates instead of data; ask the user to pick one and call again with the exact series_id. |