# brapi.dev Currency Exchange Rates

> brapi.dev Currency Exchange Rates is a paid API for AI agents from brapi.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns current BRL (Brazilian Real) exchange rates against major world currencies

## Facts

- Endpoint: GET https://brapi.dev/api/x402/currency-rates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brapi-dev-ca597f1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nKFpHaX_SLMxeErdxJUyG

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 brapi-dev-ca597f1a
```

Example prompt: What's the current exchange rate between the Brazilian Real and major world currencies like USD, EUR, and GBP?

## When to prefer this

Use this endpoint when you need real-time BRL (Brazilian Real) exchange rates against major world currencies, especially in Brazilian fintech, e-commerce, or travel contexts. Prefer over generic forex APIs when BRL-specific data is the primary requirement and you're comfortable with x402 micropayment protocol.

## Known failure modes

- Payment not processed — 402 response if USDC payment not attached
- Service unavailable — upstream forex data source down
- Rate limiting — too many requests in a short period
- Empty currency array — no data available for requested pairs

## How this service works

Get current exchange rates for currency pairs. Returns current exchange rates for BRL (Brazilian Real) against major world currencies.

## Output

An array of currency pairs with their current exchange rates against BRL, plus an ISO timestamp of when the request was made.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [],
 "properties": {}
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "currency": {
   "type": "array",
   "description": "Array of currency pairs with exchange rates"
  },
  "requestedAt": {
   "type": "string",
   "description": "ISO timestamp of request"
  }
 },
 "description": "Currency exchange rate response"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brapi-dev-ca597f1a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from brapi.dev](https://www.zero.xyz/host/brapi.dev/llms.txt)
