Brazil Central Bank Series - SGS, Focus & PTAX avatar

Brazil Central Bank Series - SGS, Focus & PTAX

Pricing

from $0.25 / 1,000 observations

Go to Apify Store
Brazil Central Bank Series - SGS, Focus & PTAX

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

BR Open Data Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

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

FieldDescriptionDefault
SGS series codesNumeric SGS codes.432, 433
Focus indicatorsNames as published in the Focus survey, e.g. IPCA, Selic, Câmbio, PIB Total, IGP-M.–
Focus expectation typeannual, monthly, quarterly, Selic per Copom meeting, inflation next 12 or 24 months.annual
PTAX currenciesUSD, EUR, GBP, JPY, CHF, CAD, AUD, DKK, NOK, SEK.–
PTAX closing rate onlyOnly the official closing bulletin (off = also opening and intermediate bulletins).on
Start date / End datePeriod (YYYY-MM-DD).last 30 days
Lookback daysUsed when Start date is empty.30
Only new observationsMonitoring mode.off
Max results / Max requests / Max run timeHard limits that control cost.5000 / 100 / 300 s

At least one of SGS series, Focus indicators or PTAX currencies is required.

CodeSeriesUnit
432Selic target rate defined by Copom% per year
11Selic rate – daily% per day
1178Selic rate annualized (base 252)% per year
4390Selic rate accumulated in the month% per month
12CDI rate – daily% per day
4389CDI rate annualized (base 252)% per year
433IPCA – monthly change% per month
13522IPCA – 12-month change%
189IGP-M – monthly change% per month
1US dollar exchange rate (sell)BRL/USD
10813US dollar exchange rate (buy)BRL/USD
21619Euro exchange rate (sell)BRL/EUR
24363 / 24364IBC-Br activity index (not adjusted / seasonally adjusted)index
4380Monthly GDP, current pricesBRL million
24369Unemployment 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.