Skip to main content
All providers

Banco Central do Brasil

FinanceBR

api.bcb.gov.br

Brazilian monetary and financial time series: Selic, CDI, IPCA, PTAX exchange rates and the rest of the SGS.

Capabilities (8)

GET /v1/data/bcb/bank-interest-rates1 credit

Returns the 50 most recent weekly rows of BCB's daily lending-rate survey: per bank and credit product, the monthly and annual average interest rate, segment and period.

No parameters
GET /v1/data/bcb/focus-annual1 credit

Returns the 30 most recent daily Focus survey readings for one indicator against calendar-year targets, with mean, median, dispersion and respondent count.

indicador
GET /v1/data/bcb/focus-monthly1 credit

Returns the 30 most recent daily Focus survey readings for one indicator, each with the reference month and the mean, median, standard deviation, min, max and respondent count of market forecasts.

indicador
GET /v1/data/bcb/ptax-currencies1 credit

Returns every currency BCB publishes a PTAX rate for, with its symbol, Portuguese name and type code (A or B, which decides whether the rate is quoted per BRL or inverted).

No parameters
GET /v1/data/bcb/ptax-period1 credit

Returns every PTAX buy/sell quotation and USD parity for one currency between two dates, with bulletin type and timestamp per row.

moedadataInicialdataFinalCotacao
GET /v1/data/bcb/ptax-usd-day1 credit

Returns the official PTAX USD/BRL buy and sell rates and the quotation timestamp for one calendar day.

dataCotacao
GET /v1/data/bcb/series1 credit

Returns the full observation list of one SGS series as [{data, valor}] with dd/MM/yyyy dates and string values.

codedataInicial?dataFinal?
GET /v1/data/bcb/series-latest1 credit

Returns the last N observations of an SGS series as [{data, valor}], newest-last for monthly series and newest-first for some daily ones.

coden

Licence

Banco Central do Brasil open data: the SGS series are published as open data on dadosabertos.bcb.gov.br.

https://dadosabertos.bcb.gov.br/

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Fonte: Banco Central do Brasil

Cache: up to 3600s