01 / Choose without ambiguity
Three series, three uses.
- Selic accumulated in month
Use for the effective percentage accumulated in each calendar month. Stable ID: br-selic-monthly.
View monthly series ↗- Copom Selic target
Use for the current annual target set by Copom. ID: br-selic-target.
View target series ↗- Annualized effective Selic
Use for the overnight effective rate annualized on a 252-business-day basis. ID: br-selic-effective.
View effective series ↗
02 / JSON
Fetch the latest accumulated monthly Selic.
GET https://open-economics-data.knbf982hkn.chatgpt.site/api/v1/indicators/br-selic-monthly/latestNo numeric code requiredThe ID describes the series semantics; the response still preserves the official BCB code and source link for auditability.
03 / JavaScript
Use it directly in a browser or Node.js.
const response = await fetch("https://open-economics-data.knbf982hkn.chatgpt.site/api/v1/indicators/br-selic-monthly/latest");
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const { data, meta } = await response.json();
console.log(data[0].value, meta.indicator.unit_symbol);04 / CSV
Take the history to a spreadsheet, BI tool, or R.
Add format=csv to the observations endpoint. Every row keeps indicator_id, source_id, source_url, and upstream_url.
https://open-economics-data.knbf982hkn.chatgpt.site/api/v1/indicators/br-selic-monthly/observations?start=2020-01-01&order=asc&format=csvDownload monthly Selic history↓