# Brazilayer Causal Chains – Brazilian Power Risk (Energy)

> Brazilayer Causal Chains – Brazilian Power Risk (Energy) is a paid API for AI agents from api.brazilayer.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns the causal chain linking rainfall forecasts in Brazil's Southeast/South to reservoir levels, stored hydro energy by subsystem, and likelihood of thermal dispatch and energy cost pressure.

## Facts

- Endpoint: GET https://api.brazilayer.com/v1/cadeias/energia_br
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazilayer-causal-chains-brazilian-power-risk-energy-9c0c7902
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l2Nc3OLt3hzMhofzbuoYF

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 brazilayer-causal-chains-brazilian-power-risk-energy-9c0c7902
```

Example prompt: What does the current Brazil power risk causal chain look like — how is rainfall in the Southeast translating into reservoir levels and the odds of thermal dispatch right now?

## When to prefer this

Use this endpoint when you need a pre-assembled, end-to-end causal chain connecting Brazilian weather patterns to grid energy storage and industrial cost risk — rather than having to manually fetch ONS data, rainfall forecasts, and thermal cost signals separately. It is especially valuable for macro risk monitoring, commodity/energy trading, ESG supply chain analysis, or any agent workflow that needs to reason about Brazilian power costs without building its own hydrology pipeline. Prefer it over generic energy APIs when the specific Brazil hydro-thermal dispatch dynamic is the risk being modeled.

## Known failure modes

- Data temporarily unavailable from upstream grid operator (ONS) — API may return a 503 or stale data flag
- Invalid or missing method parameter returns 400
- Rate limiting or payment issues on the x402 protocol return 402 or 429
- Rainfall forecast source delay causes partial chain (some subsystem slopes may be null)
- Free sample endpoint (/v1/cadeias/amostra) may return a subset or cached version of the full chain

## How this service works

Causal chain for Brazilian power risk: forecast rainfall over the Southeast/South (leads reservoir levels by ~2-4 weeks) → stored hydro energy per subsystem and its 7-day slope, from the grid operator → likelihood of thermal dispatch and cost pressure. Brazil runs on hydro: this is the upstream of industrial energy cost, and the rule and its limits travel in the response. Free sample, no payment: https://api.brazilayer.com/v1/cadeias/amostra

## Output

A structured causal chain response covering: (1) rainfall forecast over Brazil's Southeast/South region with ~2–4 week lead on reservoir impact; (2) stored hydro energy levels broken down by grid subsystem (e.g. Southeast, South, Northeast, North) with a 7-day slope; (3) an inferred likelihood or signal for thermal dispatch activation; (4) resulting energy cost pressure indicator. The response also includes the rules and limits governing the causal relationships so the agent can interpret the signal correctly.

## 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"
     ],
     "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/brazilayer-causal-chains-brazilian-power-risk-energy-9c0c7902/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.brazilayer.com](https://www.zero.xyz/host/api.brazilayer.com/llms.txt)
