# 24K Labs FX Rate Converter

> 24K Labs FX Rate Converter is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Converts a monetary amount between two currencies using the latest ECB (European Central Bank) reference rate via the Frankfurter API, with no API key required.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/fx-rate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-fx-rate-converter-c9680ffd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MzhUIaTI2xFQHe1FrrDvT

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 24k-labs-fx-rate-converter-c9680ffd -d '<json body>'
```

Example prompt: Convert 250 USD to EUR using the latest ECB reference rate.

## When to prefer this

Choose this endpoint when you need a trustworthy, official ECB reference rate for currency conversion without requiring your own API key. It is ideal for informational, compliance-friendly, or EU-context conversions. Prefer it over commercial FX APIs when you don't need real-time mid-market or interbank rates and ECB coverage (major and European currencies) is sufficient. Not suitable for crypto, exotic pairs, or live trading rates.

## Known failure modes

- Unsupported currency code returns an error (ECB only covers a limited set of ~32 currencies, no crypto or exotic pairs)
- Invalid or missing amount field returns a validation error
- ECB rate feed temporarily unavailable may cause a service error
- Stale rate if ECB has not yet published the day's rate (rates update ~16:00 CET on business days)

## How this service works

Convert an amount between currencies at the latest ECB reference rate (Frankfurter, keyless).

## Output

Returns the converted amount in the target currency, the exchange rate used, the currency pair, and the timestamp of the ECB reference rate applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "amount": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": 92
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-fx-rate-converter-c9680ffd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
