# Brazil Data API – PTAX USD/BRL Exchange Rate

> Brazil Data API – PTAX USD/BRL Exchange Rate 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 official PTAX USD/BRL exchange rate published by the Central Bank of Brazil, used as the reference rate in Brazilian contracts.

## Facts

- Endpoint: GET https://brasil-dados-api.onrender.com/brazil/economy/exchange-rate
- 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-data-api-ptax-usd-brl-exchange-rate-19005241
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rDupCSdQ_D5tXtd460Shu

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-data-api-ptax-usd-brl-exchange-rate-19005241
```

Example prompt: What's the current official PTAX USD/BRL exchange rate from Brazil's Central Bank?

## When to prefer this

Use this endpoint when you specifically need the official PTAX rate from Brazil's Central Bank, which is the legally recognized reference rate for Brazilian contracts, derivatives, and cross-border settlements. Prefer this over generic FX APIs when compliance with Brazilian financial regulations or contractual accuracy is required.

## Known failure modes

- Central Bank data unavailable or delayed — returns error or stale data
- Network timeout from the Render-hosted service — returns 5xx
- Upstream PTAX feed not yet updated for the current business day (rate may reflect previous day)
- Non-business days or holidays may return no new rate

## How this service works

Official PTAX USD/BRL exchange rate (the reference rate used in Brazilian contracts). Central Bank of Brazil.

## Output

Returns the official PTAX USD/BRL exchange rate as published by the Central Bank of Brazil (Banco Central do Brasil), typically including the buy and sell rates and the date/time of the quote. This is the legally recognized reference rate used in Brazilian financial contracts and settlements.

## 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-data-api-ptax-usd-brl-exchange-rate-19005241/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)
