bcb
Query Central Bank of Brazil economic data including interest rates, inflation indicators, exchange rates, and macroeconomic statistics through BCB's SGS System.
Instructions
Queries Central Bank of Brazil (BCB) data.
Interest Rate Indicators:
selic: Accumulated SELIC rate
cdi: CDI rate
tr: Reference Rate
Inflation Indicators:
ipca: Monthly IPCA
ipca_acum: 12-month accumulated IPCA
igpm: IGP-M
inpc: INPC
Exchange Rate Indicators:
dolar_compra/dolar_venda: Commercial dollar
euro: Euro
Macroeconomic Indicators:
desemprego: Unemployment rate
divida_pib: Public debt/GDP
reservas: International reserves
Also accepts numeric codes from BCB's SGS System.
Examples:
SELIC last 12 months: indicador="selic", ultimos=12
IPCA for 2023: indicador="ipca", dataInicio="01/01/2023", dataFim="31/12/2023"
Recent dollar: indicador="dolar_venda", ultimos=30
List indicators: indicador="listar"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indicador | Yes | Indicador ou código da série BCB. Indicadores conhecidos: - selic: Taxa SELIC - ipca: IPCA mensal - ipca_acum: IPCA acumulado 12 meses - igpm: IGP-M - inpc: INPC - dolar_compra/dolar_venda: Câmbio dólar - euro: Câmbio euro - desemprego: Taxa de desemprego - divida_pib: Dívida pública/PIB - cdi: Taxa CDI - tr: Taxa Referencial - listar: Lista indicadores disponíveis - Ou código numérico da série SGS | |
| dataInicio | No | Data inicial no formato DD/MM/AAAA | |
| dataFim | No | Data final no formato DD/MM/AAAA | |
| ultimos | No | Retornar apenas os últimos N valores | |
| formato | No | Formato de saída | tabela |