# Brazil Economic Forecasts API

> Brazil Economic Forecasts API is a paid API for AI agents from brasil-dados-api.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns median market consensus forecasts for Brazil's key macroeconomic indicators (IPCA inflation, SELIC rate, GDP growth, USD/BRL exchange rate) aggregated from ~100 financial institutions.

## Facts

- Endpoint: GET https://brasil-dados-api.onrender.com/brazil/economy/forecasts
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazil-economic-forecasts-api-3d239c86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L9pV2ovu4LavC4VVk7yty

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brazil-economic-forecasts-api-3d239c86
```

Example prompt: What is the current market consensus forecast for Brazil's IPCA inflation, SELIC rate, GDP, and USD/BRL exchange rate as reported by the ~100 institutions in the Focus report?

## When to prefer this

Choose this endpoint when you need a quick, pre-aggregated consensus view of Brazil's core macro indicators (IPCA, SELIC, GDP, USD/BRL) without having to collect and median-aggregate individual institution forecasts yourself. It is ideal for financial dashboards, investment research assistants, or economic monitoring agents focused on Brazil. Prefer it over raw central bank APIs when you want the market's forward-looking consensus rather than historical actuals. Not suitable if you need forecasts for individual institutions, other countries, or indicators beyond the four covered.

## Known failure modes

- Service unavailable if the Render.com free-tier instance is cold/sleeping, causing slow first response or timeout
- No query parameters supported, so no filtering by time horizon or specific indicator
- Data may be stale if upstream source has not refreshed recently
- 402 Payment Required if x402 payment header is missing or invalid
- HTTP 500 if upstream data aggregation fails

## How this service works

Focus report: median market forecasts from ~100 institutions for Brazil IPCA, SELIC, GDP and USD/BRL.

## Output

A structured response containing median market consensus forecasts aggregated from approximately 100 financial institutions for four key Brazilian macroeconomic indicators: IPCA (consumer inflation), SELIC (benchmark interest rate), GDP growth rate, and USD/BRL exchange rate. Values represent the Focus report-style consensus figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brazil-economic-forecasts-api-3d239c86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from brasil-dados-api.onrender.com](https://www.zero.xyz/host/brasil-dados-api.onrender.com/llms.txt)
