# Brazil CDI Interbank Rate API

> Brazil CDI Interbank Rate API is a paid API for AI agents from brasil-dados-api.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the latest daily CDI (Certificado de Depósito Interbancário) interbank rate as published by the Central Bank of Brazil

## Facts

- Endpoint: GET https://brasil-dados-api.onrender.com/economy/cdi
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brazil-cdi-interbank-rate-api-40dee044
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1ustXhMYIFaxGxdbzdItM

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-cdi-interbank-rate-api-40dee044
```

Example prompt: What is the current CDI interbank rate in Brazil? I need today's latest daily value from the Central Bank of Brazil.

## When to prefer this

Use this endpoint when you need the current Brazilian CDI interbank rate for financial calculations, investment benchmarking, fixed income comparisons, or DI-linked contract pricing. Prefer this over the macro snapshot endpoint when you only need CDI specifically and want a lightweight, targeted call. Use the sibling SELIC endpoint if you need the policy rate instead of the interbank rate.

## Known failure modes

- Central Bank data source temporarily unavailable — upstream fetch error
- Render.com cold start delay causing timeout on first request
- No data available for the current day if queried before Central Bank publishes daily update
- HTTP 402 if x402 payment header is missing or payment fails

## How this service works

Brazil CDI interbank rate, latest daily values. Central Bank of Brazil.

## Output

Returns the latest daily CDI (Certificado de Depósito Interbancário) rate value as published by the Banco Central do Brasil, including the date and the rate figure used as the Brazilian interbank overnight benchmark.

## 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-cdi-interbank-rate-api-40dee044/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)
