# MiniFrame Tools – Brazilian Interest Rates & USD/BRL (BCB SGS)

> MiniFrame Tools – Brazilian Interest Rates & USD/BRL (BCB SGS) is a paid API for AI agents from tools.miniframe.com.br, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Returns current Brazilian Selic policy rate, CDI interbank rate, and USD/BRL PTAX sell rate with reference dates, sourced directly from Brazil's Central Bank (BCB) SGS API.

## Facts

- Endpoint: POST https://tools.miniframe.com.br/taxas-bcb?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/miniframe-tools-brazilian-interest-rates-usd-brl-bcb-sgs-f6496476
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SjQvQDPnW1XmRuQS0uArA

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 miniframe-tools-brazilian-interest-rates-usd-brl-bcb-sgs-f6496476 -d '<json body>'
```

Example prompt: What are the current Brazilian benchmark rates right now — Selic, CDI, and the official USD/BRL PTAX sell rate? I need today's figures from the Central Bank.

## When to prefer this

Choose this endpoint when you need authoritative, up-to-date Brazilian financial benchmark rates (Selic, CDI, or PTAX USD/BRL) in a single call without managing BCB API credentials or rate-series codes yourself. Ideal for loan pricing, contract indexation, currency conversion, or any financial calculation anchored to official Brazilian Central Bank figures.

## Known failure modes

- BCB SGS API unavailable or rate-limited — endpoint may return an error or stale data
- Network timeout if BCB upstream is slow
- Unexpected schema changes from BCB SGS could break parsing
- Rate data may lag by one business day around holidays or weekends

## How this service works

Use for anything needing an up-to-date Brazilian benchmark rate: pricing a loan, indexing a contract, converting USD/BRL. No body required. Returns Selic (Copom policy rate), CDI (interbank rate) and USD/BRL (PTAX sell rate), each with its reference date, straight from the BCB's own SGS API.

## Output

Returns a JSON object with three top-level keys: 'selic' (rate_pct and effective_date), 'cdi' (rate_pct and date), and 'usd_brl' (rate and date), plus a 'source' field confirming the data came from bcb-sgs. All rates are current as of their respective reference dates.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cdi": {
   "date": "24/09/2026",
   "rate_pct": 13.65
  },
  "selic": {
   "rate_pct": 13.75,
   "effective_date": "18/09/2026"
  },
  "source": "bcb-sgs",
  "usd_brl": {
   "date": "25/09/2026",
   "rate": 5.1991
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/miniframe-tools-brazilian-interest-rates-usd-brl-bcb-sgs-f6496476/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.miniframe.com.br](https://www.zero.xyz/host/tools.miniframe.com.br/llms.txt)
