# Brazilayer Causal Chains – Arabica Coffee (KC)

> Brazilayer Causal Chains – Arabica Coffee (KC) 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-15).

Returns a multi-signal causal chain for arabica coffee price risk: 72-hour minimum temperature forecast over southern Minas Gerais (frost threshold 3°C), consecutive dry days affecting flowering, observed rainfall, and the official BRL/USD rate.

## Facts

- Endpoint: GET https://api.brazilayer.com/v1/cadeias/cafe_kc
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazilayer-causal-chains-arabica-coffee-kc-fb044442
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b7pdTsJmzIf9nllE80ijV

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-arabica-coffee-kc-fb044442
```

Example prompt: Pull the latest Brazilayer arabica coffee causal chain — I want the 72-hour frost risk for the southern Minas belt, the current consecutive dry-days stress count, observed rainfall, and the BRL/USD rate so I can assess KC price risk today.

## When to prefer this

Choose this endpoint when you need a pre-assembled, Brazil-specific multi-signal physical data package for arabica coffee (KC) risk assessment in a single call, rather than stitching together separate weather, rainfall, and forex APIs yourself. It is especially valuable for systematic traders, quantitative models, or alert systems that need the official BRL/USD rate combined with frost and drought signals in one response. Prefer it over generic weather APIs when the arabica-specific Minas Gerais frost threshold (3°C) and flowering dry-day logic are operationally important.

## Known failure modes

- Upstream weather or government data source temporarily unavailable — API may return 503 or stale-data error
- Invalid or expired API key — 401 Unauthorized
- Rate limit exceeded — 429 Too Many Requests
- Endpoint returns empty causal chain if source data feeds have not yet refreshed for the current day
- Network timeout if called during off-hours maintenance windows

## How this service works

Causal chain for arabica coffee: minimum temperature forecast 72h ahead over the southern Minas belt (frost is the event that historically moves KC hardest, operational threshold 3 °C) → consecutive dry days stressing flowering → observed rainfall → the official BRL/USD rate that converts the international price for the grower. Brazil is the top arabica exporter. Physical signal only — bring your own price. Free sample, no payment: https://api.brazilayer.com/v1/cadeias/amostra

## Output

A structured causal chain object containing: (1) 72-hour minimum temperature forecast for the southern Minas Gerais arabica belt with frost flag at the 3°C operational threshold, (2) count of consecutive dry days stressing arabica flowering, (3) observed recent rainfall figures, and (4) the official BRL/USD exchange rate — all physical/macro signals that historically move KC futures, without a price opinion attached.

## 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-arabica-coffee-kc-fb044442/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)
