# 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-15).

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/v1/fx-rate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-fx-rate-converter-b6ad8f87
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TMkqVInooyighXxZlR9Tn

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-b6ad8f87 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a reliable, keyless ECB-based FX conversion without needing a proprietary API key. It is ideal for invoicing, budgeting, and reporting use cases that accept once-daily official ECB rates rather than real-time mid-market or interbank rates. Prefer alternatives (e.g. commercial FX APIs) when you need live tick-by-tick rates or exotic/emerging market currency pairs not covered by ECB.

## Known failure modes

- Unsupported currency code returns an error (ECB only covers ~33 major currencies)
- ECB rate may be up to 24 hours stale as rates are updated once daily
- Network or upstream Frankfurter API unavailability causes a 5xx error
- Malformed or missing amount/currency fields return a 4xx validation error

## How this service works

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

## Output

Returns the converted monetary amount in the target currency along with the exchange rate used, both derived from the latest ECB reference rate published via Frankfurter.

## 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-b6ad8f87/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)
