Sgs Series
sgs_seriesFetch any Banco Central do Brasil SGS time series by numeric code. Common codes: 432=Selic target, 11=Selic daily, 433=IPCA inflation, 1=USD/BRL PTAX sell, 21619=USD/BRL, 4389=CDI. Returns {series_code, series_name, country:"Brazil", statement, count, observations:[{data:"dd/MM/yyyy", valor:"..."}]}. Use "last" for the most recent N observations, or a date range.
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": 432,
"last": 12
},
"name": "sgs_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date dd/MM/yyyy, e.g. "31/12/2025". Optional. | |
| code | Yes | SGS series code, e.g. 432 (Selic target). | |
| last | No | Return only the most recent N observations, e.g. 12. Omit for full/ranged series. | |
| start | No | Start date dd/MM/yyyy, e.g. "01/01/2025". Optional. |