Sarb Timeseries
sarb_timeseriesHistorical observation series for a single SARB indicator, identified by its TimeseriesCode (obtain codes from home_rates, current_market_rates, cpd_rates or exchange_rates). Examples: "MMRD002A" (SARB Policy Rate, or use sarb_policy_rate directly), "MMRD000A" (prime lending rate), "EXCX135D" (Rand per US Dollar), "CPI1000F" (CPI). Optionally bound the range with start_date and end_date (YYYY-MM-DD); omit both for the most recent ~25 points, not the full history. An unknown code and a valid code with no data in range both come back as a named no_data error (the SARB itself cannot tell them apart).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "MMRD002A"
},
"name": "sarb_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | SARB TimeseriesCode, e.g. "MMRD002A", "EXCX135D", "CPI1000F". | |
| end_date | No | Range end, YYYY-MM-DD (optional). Requires start_date. | |
| start_date | No | Range start, YYYY-MM-DD (optional). Requires end_date. |