# Brasil Dados API – PTAX USD/BRL Exchange Rate

> Brasil Dados 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 financial contracts.

## Facts

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

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 brasil-dados-api-ptax-usd-brl-exchange-rate-ae5eb8e0
```

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

## When to prefer this

Use this endpoint when you need the official Brazilian Central Bank PTAX rate for USD/BRL specifically — ideal for financial calculations, contract pricing, or any scenario requiring the legally recognized reference rate in Brazil rather than a commercial FX rate.

## Known failure modes

- Central Bank data unavailable or delayed — returns error or stale data
- Render.com cold start latency causing timeout on first request
- No query parameters supported — requesting other currency pairs will not work
- Rate may reflect previous business day if Brazilian financial markets are closed

## 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, the reference rate used in Brazilian financial contracts and legal agreements.

## 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/brasil-dados-api-ptax-usd-brl-exchange-rate-ae5eb8e0/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)
