# Brazilayer Causal Chains — Brazilian Capital Flight Pressure

> Brazilayer Causal Chains — Brazilian Capital Flight Pressure 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 a causal chain signal combining the USDT/BRL crypto premium over the official PTAX rate and net institutional fund flows (fixed income vs. equities across the R$13.8tn fund industry) to indicate whether locals are paying up for dollars while funds turn defensive.

## Facts

- Endpoint: GET https://api.brazilayer.com/v1/cadeias/capital_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-capital-flight-pressure-989a2ad5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fB_iLm5yD1LojG9KmV66h

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-capital-flight-pressure-989a2ad5
```

Example prompt: Pull the Brazilayer capital flight causal chain for Brazil right now — I want to see whether the USDT premium over the official PTAX rate is elevated and whether institutional funds are rotating into fixed income, so I can judge if there's real FX stress building.

## When to prefer this

Choose this endpoint when you need a combined, causal-chain view of Brazilian capital flight pressure that fuses two independent leading signals — the crypto USDT/BRL premium and institutional fund flows — rather than either signal in isolation. It is distinct from the raw USD/BRL markets endpoint (which gives raw PTAX and crypto rates without the fund flow layer) and is purpose-built for macro FX stress detection in Brazil with a leading-indicator horizon of hours to days.

## Known failure modes

- Live USDT market data temporarily unavailable, returning stale or partial premium data
- Fund flow data may lag by one business day if official sources are slow to publish
- No query parameters means misconfigured calls aren't possible, but the endpoint may return 402 if payment/auth fails
- Rate limiting or 402 payment required if x402 micropayment header is missing or insufficient

## How this service works

Causal chain for Brazilian capital flight pressure: the live premium paid for USDT over the official central-bank rate (leads perceived FX stress by hours to days) → where institutional money actually moved, net flows into fixed income versus equities across the R$ 13.8tn fund industry → the official PTAX rate. Two independent signals, one reading: are locals paying up for dollars while funds turn defensive? Free sample, no payment: https://api.brazilayer.com/v1/cadeias/amostra

## Output

Returns a composite causal chain with: (1) the live USDT/BRL premium over the official Banco Central PTAX rate (a leading indicator of perceived FX stress, typically leading by hours to days); (2) net flows across fixed income versus equities within Brazil's R$13.8 trillion fund industry; and (3) the official PTAX rate — together forming a unified signal about whether locals are paying up for dollars while institutional money turns defensive.

## 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-capital-flight-pressure-989a2ad5/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)
