Brazil Central Bank Series - SGS, Focus & PTAX
Pricing
from $0.25 / 1,000 observations
Brazil Central Bank Series - SGS, Focus & PTAX
Download official Banco Central do Brasil data in one clean numeric format: any SGS time series (Selic, CDI, IPCA, IGP-M, FX), Focus market expectations and PTAX exchange rates. Long daily series are split automatically. Monitoring mode returns only new data.
Pricing
from $0.25 / 1,000 observations
Rating
0.0
(0)
Developer
BR Open Data Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
Brazil Central Bank Series – SGS, Focus & PTAX
Download official Banco Central do Brasil data in one clean, numeric format, ready for spreadsheets, BI tools and models:
- SGS time series: any series by code – Selic, CDI, IPCA, IGP-M, exchange rates, IBC-Br, GDP, credit, unemployment and thousands more.
- Focus market expectations: the weekly survey of market forecasts (annual, monthly, quarterly, Selic per Copom meeting, inflation for the next 12/24 months).
- PTAX exchange rates: official rates for USD, EUR, GBP, JPY, CHF, CAD, AUD, DKK, NOK and SEK.
Why use it
The three Banco Central services have different formats and pitfalls: daily series accept at most 10 years per query, periods without data return an error, values come as text, dates come in three different formats, and an unsupported currency silently returns nothing. This Actor handles all of that:
- Long periods of daily series are split automatically (e.g. 20 years of the US dollar in one run).
- Every value is a number, every date is YYYY-MM-DD.
- One unified schema for the three sources.
- Names and units for popular SGS series.
- One invalid series code does not stop the other series; it is reported in the run summary.
- Monitoring mode returns only observations not delivered before – perfect for a daily schedule.
Input
| Field | Description | Default |
|---|---|---|
| SGS series codes | Numeric SGS codes. | 432, 433 |
| Focus indicators | Names as published in the Focus survey, e.g. IPCA, Selic, Câmbio, PIB Total, IGP-M. | – |
| Focus expectation type | annual, monthly, quarterly, Selic per Copom meeting, inflation next 12 or 24 months. | annual |
| PTAX currencies | USD, EUR, GBP, JPY, CHF, CAD, AUD, DKK, NOK, SEK. | – |
| PTAX closing rate only | Only the official closing bulletin (off = also opening and intermediate bulletins). | on |
| Start date / End date | Period (YYYY-MM-DD). | last 30 days |
| Lookback days | Used when Start date is empty. | 30 |
| Only new observations | Monitoring mode. | off |
| Max results / Max requests / Max run time | Hard limits that control cost. | 5000 / 100 / 300 s |
At least one of SGS series, Focus indicators or PTAX currencies is required.
Popular SGS codes
| Code | Series | Unit |
|---|---|---|
| 432 | Selic target rate defined by Copom | % per year |
| 11 | Selic rate – daily | % per day |
| 1178 | Selic rate annualized (base 252) | % per year |
| 4390 | Selic rate accumulated in the month | % per month |
| 12 | CDI rate – daily | % per day |
| 4389 | CDI rate annualized (base 252) | % per year |
| 433 | IPCA – monthly change | % per month |
| 13522 | IPCA – 12-month change | % |
| 189 | IGP-M – monthly change | % per month |
| 1 | US dollar exchange rate (sell) | BRL/USD |
| 10813 | US dollar exchange rate (buy) | BRL/USD |
| 21619 | Euro exchange rate (sell) | BRL/EUR |
| 24363 / 24364 | IBC-Br activity index (not adjusted / seasonally adjusted) | index |
| 4380 | Monthly GDP, current prices | BRL million |
| 24369 | Unemployment rate (PNAD Contínua) | % |
Any other SGS code also works; its name and unit are then returned as null.
Example input
{"sgsSeries": ["432", "433", "1"],"focusIndicators": ["IPCA", "Selic"],"focusType": "annual","ptaxCurrencies": ["USD", "EUR"],"startDate": "2025-01-01","endDate": "2025-12-31"}
Output
One row per observation. Fields that do not apply to a source are null.
{"source": "SGS","seriesId": "433","seriesName": "IPCA - monthly change","date": "2025-01-01","value": 0.16,"unit": "% per month","observationKey": "SGS|433|2025-01-01|||||","fetchedAt": "2026-11-14T19:00:00+00:00","attribution": "Fonte: Banco Central do Brasil (ODbL)"}
Focus rows add referencePeriod (year, month, quarter or Copom meeting), mean, median (also in value), stdDev, min, max, respondents, calculationBase (0 = last 30 days, 1 = last 5 business days) and indicatorDetail. PTAX rows add buyRate, sellRate (also in value), buyParity, sellParity, bulletinType and quotedAt.
A run summary is saved as SUMMARY in the run's key-value store: observations per series, errors per series, requests used, duration and the stop reason.
Cost control
- Max results caps the number of billable rows.
- Max requests and Max run time cap the work done.
- The maximum charge you set for a run is respected: the Actor stops before exceeding it.
- No observations in the period means no result charges.
Pricing
Pay per event: a small fee when a run starts and a fee per observation delivered. See the pricing tab for current values.
Tips
- The Focus survey is published weekly, a few days after the survey date. Use at least 14 lookback days for the latest Focus release.
- For a daily dashboard, schedule the Actor with Only new observations on: each run returns only what is new for the same series.
- The memory of delivered observations is kept in a named key-value store in your account (
brazil-central-bank-series-state).
Limitations
- Data, revisions and publication delays are those of the Banco Central. Some series are discontinued (they return data only up to their last date).
- The Selic target series (432) contains dates up to the next Copom meeting.
- If the source is temporarily unavailable, the Actor retries 3 times with increasing waits and then reports a clear error.
Data source and license
- Source: public APIs of the Banco Central do Brasil (SGS and the Olinda services for Focus expectations and PTAX). No login or API key is required.
- The Banco Central open data portal publishes these datasets under the Open Data Commons Open Database License (ODbL). Keep the attribution "Fonte: Banco Central do Brasil" and the ODbL terms when you share databases built from this data.
- No personal data is collected.
- This Actor is an independent tool and is not affiliated with or endorsed by the Banco Central do Brasil.