# Toolrail Brazil Key Economic Indicators

> Toolrail Brazil Key Economic Indicators is a paid API for AI agents from toolrail.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Returns Brazil's four official benchmark rates in a single call: SELIC target rate, annualized CDI, monthly IPCA inflation, and PTAX dollar exchange rate, sourced from Banco Central do Brasil's SGS API.

## Facts

- Endpoint: GET https://toolrail.dev/br/indices?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toolrail-brazil-key-economic-indicators-ab31d423
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6CoM6ryKwGT6Cem2T6rjH

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 toolrail-brazil-key-economic-indicators-ab31d423
```

Example prompt: What are Brazil's current official economic rates — SELIC, CDI, IPCA inflation, and the PTAX dollar — pulled straight from the central bank?

## When to prefer this

Choose this endpoint when you need Brazil's official benchmark rates (SELIC, CDI, IPCA, PTAX) aggregated in a single low-latency call rather than querying Banco Central's SGS API directly. Ideal for financial applications, contract indexation, investment dashboards, or currency conversion workflows involving BRL, where authoritative Brazilian central bank data is required. Prefer over generic FX or financial data APIs when Brazilian regulatory/official rates specifically are needed.

## Known failure modes

- Upstream BCB SGS API unavailability causes fetch failure
- Stale or delayed data if BCB has not updated rates on a given day
- Rate index not yet published for the current period (IPCA may lag)
- HTTP 402 if payment header is missing or insufficient
- Network timeout if BCB SGS API is slow to respond

## How this service works

Brazil's key official rates in one call: SELIC target, annualized CDI, monthly IPCA inflation and PTAX dollar — straight from Banco Central do Brasil's SGS API. Use when you need Brazil's interest rate (SELIC/CDI), inflation (IPCA) or official dollar (PTAX).

## Output

A JSON object containing country ('BR'), source attribution (BCB SGS), and an 'indices' map with four named sub-objects: selic (target rate, % per year), cdi (annualized rate, % per year), ipca (monthly rate, %), and ptax (official USD/BRL rate, BRL per USD), each with a numeric 'valor' and a string 'unidad' unit label.

## 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",
     "properties": {
      "pais": {
       "type": "string"
      },
      "fuente": {
       "type": "string"
      },
      "indices": {
       "type": "object",
       "properties": {
        "cdi": {
         "type": "object",
         "properties": {
          "valor": {
           "type": "number"
          },
          "unidad": {
           "type": "string"
          }
         }
        },
        "ipca": {
         "type": "object",
         "properties": {
          "valor": {
           "type": "number"
          },
          "unidad": {
           "type": "string"
          }
         }
        },
        "ptax": {
         "type": "object",
         "properties": {
          "valor": {
           "type": "number"
          },
          "unidad": {
           "type": "string"
          }
         }
        },
        "selic": {
         "type": "object",
         "properties": {
          "valor": {
           "type": "number"
          },
          "unidad": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolrail-brazil-key-economic-indicators-ab31d423/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolrail.dev](https://www.zero.xyz/host/toolrail.dev/llms.txt)
