# Brazil Central Bank API: Focus Survey Expectations & PTAX FX

Banco Central do Brasil Focus survey of market expectations (IPCA, Selic per Copom meeting, GDP, BRL/USD, IGP-M, fiscal and external accounts: median, mean, spread, respondents) and official PTAX exchange rates for USD, EUR and other currencies.

$0.16 per 1,000 rows

[Get an API key](https://pushbuild.com/apis/app/signup?api=brazil-central-bank-data)

Example request

```
POST /brazil-central-bank-data/run
{
  "datasets": [
    "focus-annual",
    "ptax"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /brazil-central-bank-data/run{"datasets": ["focus-annual", "ptax"], "maxItems": 5}

```
{"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-annual` per calendar year, `focus-monthly` per month, `focus-selic` per 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](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [Currency Exchange Rates API](https://pushbuild.com/apis/currency-exchange-rates.html): Official European Central Bank reference exchange rates for 30+ currencies, daily since 1999.
- [Peru Central Bank API: Policy Rate, CPI, GDP & Exchange Rate API](https://pushbuild.com/apis/peru-central-bank-data.html): Central Reserve Bank of Peru (BCRP) data from its official BCRPData API: policy rate, Lima CPI, monthly GDP, interbank PEN/USD rate, reserves and copper presets, or any BCRP series code..
- [Bank of Israel API: BOI Rate, SHIR & Shekel Exchange Rates API](https://pushbuild.com/apis/bank-of-israel-data.html): Bank of Israel statistics from its official SDMX API: the BOI interest rate, SHIR overnight rate and standing facility rates, daily representative shekel exchange rates (USD, EUR, GBP, JPY, CHF, CAD, AUD), or any series of any BOI dataflow..
- [Banxico API](https://pushbuild.com/apis/banxico-mexico-economic-data.html): Official Banco de México (SIE) time series: USD/MXN FIX exchange rate, policy target rate, TIIE and CETES yields, inflation (INPC), international reserves, UDIs and any other SIE series, with date ranges, latest values and percent-change transforms..
- [Building Permits API](https://pushbuild.com/apis/city-building-permits.html): Building permits from New York City, Los Angeles, Chicago, Seattle, Austin, San Francisco and Philadelphia in one schema: type, status, dates, valuation, address, contractor and new housing units, refreshed weekly..
- [BLS Data API: Any Bureau of Labor Statistics Series API](https://pushbuild.com/apis/bls-data.html): Any US Bureau of Labor Statistics time series by id (CPI, payrolls by industry, unemployment, wages, PPI, JOLTS, import prices) plus state unemployment and labor force from plain state codes, with month-over-month and year-over-year changes..

## 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.com](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/brazil-central-bank-data.html
