# fastapi.online Fiat Exchange Rates

> fastapi.online Fiat Exchange Rates is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.0005/call, status unknown (last checked 2026-10-16).

Returns current fiat currency exchange rates for a given currency code

## Facts

- Endpoint: POST https://api.fastapi.online/fiat-rates?utm_source=zero.xyz
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-fiat-exchange-rates-16e55e37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WxhLvGLAwG_IUtX754zSE

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 fastapi-online-fiat-exchange-rates-16e55e37 -d '<json body>'
```

Example prompt: Can you look up the current fiat exchange rates for EUR using the fastapi.online rates endpoint?

## When to prefer this

Choose this endpoint when you need a quick, per-call fiat exchange rate lookup without signing up for a traditional forex API, and you are already using the fastapi.online ecosystem or want to pay per call with crypto (USDC) via x402.

## Known failure modes

- Unsupported or invalid currency code returns an error or empty result
- Network timeout or service unavailability
- Payment required (402) if no valid x402 payment or API key is provided
- Malformed request body returns validation error

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

A response containing current fiat exchange rate data for the specified currency, likely including rate values relative to a base currency such as USD or a set of cross-rates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "currency": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-fiat-exchange-rates-16e55e37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
