What a response looks like
{"count": 5, "items": [{ "baseCalculo": 0, "dataset": "focus-annual", "detail": null, "indicator": "Câmbio", "indicatorEn": "BRL per USD", "max": 6.0, "mean": 5.3343, "median": 5.35, "min": 4.9, "reference": "2026", … ]}baseCalculo by dataset in this sample response| baseCalculo | dataset | detail | indicator | indicatorEn | max |
|---|---|---|---|---|---|
| 0 | focus-annual | Câmbio | BRL per USD | 6 | |
| 0 | focus-annual | Câmbio | BRL per USD | 6 | |
| 0 | focus-annual | Câmbio | BRL per USD | 6.31 | |
| 0 | focus-annual | Câmbio | BRL per USD | 6.3 | |
| 0 | focus-annual | Câmbio | BRL per USD | 6.4 |
Real rows returned by this API on 2026-11-09 for the request shown.
What it returns
Banco Central do Brasil data from its official Olinda API.
- Focus survey: market expectations collected by the central bank from banks and asset managers.
focus-annualper calendar year,focus-monthlyper month,focus-selicper Copom meeting. Indicators include IPCA inflation and its components, Selic, GDP and its components, BRL per USD, IGP-M, unemployment, current account, trade balance, FDI, primary and nominal balance and public debt. Each row has the median, mean, standard deviation, min, max and number of respondents. - PTAX: the official BRL exchange rate for USD, EUR and other currencies (closing bulletin by default).
| field | meaning |
|---|---|
surveyDate, indicator, indicatorEn, detail | Focus survey date and indicator (Portuguese and English) |
reference | the year, month (10/2026) or Copom meeting (R6/2026) forecast |
median, mean, stdDev, min, max, respondents | distribution of the forecasts |
currency, date, bulletin, brlBuy, brlSell, usdParityBuy, usdParitySell | PTAX rows |
Request
POST https://api.pushbuild.com/brazil-central-bank-data/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
datasets | list of strings | Any of: focus-annual (expectations per calendar year), focus-monthly (per month), focus-selic (per Copom meeting), ptax (official exchange rates). Default: focus-annual, focus-selic, ptax. |
indicators | list of strings | Focus indicator names as published in Portuguese, e.g. IPCA, Selic, PIB Total, Câmbio, IGP-M, Taxa de desocupação, Conta corrente. Default: IPCA, Selic, PIB Total, Câmbio. |
startDate | string | YYYY-MM-DD. Focus: every survey from this date (default: latest survey only). PTAX: first quote date. |
endDate | string | YYYY-MM-DD. |
baseCalculo | integer | Annual Focus: 0 = respondents over the last 30 days (the published figure), 1 = last 5 business days. Default: 0. |
currencies | list of strings | ISO codes, e.g. USD, EUR, GBP, JPY, CHF, CNY. Default: USD, EUR. |
lookbackDays | integer | Used when startDate is empty. Default: 30. |
allBulletins | boolean | Also return the opening and intermediate bulletins, not only the closing PTAX. Default: false. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/brazil-central-bank-data/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"datasets": ["focus-annual", "ptax"], "maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.
| Rows | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/brazil-central-bank-data. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want these numbers on one screen alongside your own? Dashboards and reporting