# BRAINIAC FX Rates Convert

> BRAINIAC FX Rates Convert is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-17).

Converts a monetary amount from one currency to another using exchange rates, optionally for a specific historical date.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/fx/rates/convert?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-fx-rates-convert-adb05cff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OQxWokVjTXbWaKPJIw2Dh

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 brainiac-fx-rates-convert-adb05cff -d '<json body>'
```

Example prompt: Convert 250 USD to EUR using today's exchange rate — I need the converted amount in euros.

## When to prefer this

Choose this endpoint when you need a quick, accountless foreign exchange conversion with no API key setup — ideal for AI agents that can pay micro-amounts via x402/USDC on Base. Best for one-off or occasional conversions where account registration overhead is undesirable. Supports historical date lookups useful for financial reconciliation or reporting.

## Known failure modes

- Invalid or unsupported currency code (not a valid ISO 4217 3-letter code) returns an error
- Amount below minimum of 0.01 triggers validation error
- Invalid date format or non-existent date (e.g. Feb 30) rejected by pattern validation
- Exchange rate data unavailable for a very old or future date may return an error
- Payment failure via x402 results in 402 response with no conversion data

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing the converted amount in the target currency, the exchange rate applied, the source and target currency codes, and the date used for conversion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^[A-Z]{3}$"
  },
  "date": {
   "type": "string",
   "format": "date",
   "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
  },
  "from": {
   "type": "string",
   "pattern": "^[A-Z]{3}$"
  },
  "amount": {
   "type": "number",
   "minimum": 0.01
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "EUR",
  "date": null,
  "from": "USD",
  "rate": null,
  "amount": 100,
  "result": null,
  "source": {
   "url": "https://api.frankfurter.dev/v1/v1/latest?base=USD&symbols=EUR",
   "error": "Date not found or invalid parameters",
   "status": "UNAVAILABLE"
  },
  "limitations": [
   "Currency conversion uses delayed reference rates from the Frankfurter API (ECB data).",
   "Conversion is calculated using the rate from the from-currency to the to-currency.",
   "…"
  ],
  "retrievedAt": "2026-11-07T12:08:57.368Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-fx-rates-convert-adb05cff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
