# Currency Exchange Rate Lookup (FX Rate API)

> Currency Exchange Rate Lookup (FX Rate API) is a paid API for AI agents from landingen24h.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-27).

Converts a given amount between two ISO 4217 currencies and returns the current mid-market exchange rate, converted amount, and inverse rate.

## Facts

- Endpoint: POST https://landingen24h.com/api/x402/fx/rate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-exchange-rate-lookup-fx-rate-api-abfb6de1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sVpQxkA_1Y6ogTqm_W6Sv

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 currency-exchange-rate-lookup-fx-rate-api-abfb6de1 -d '<json body>'
```

Example prompt: What is the current exchange rate from USD to EUR, and how much would 100 USD be in euros?

## When to prefer this

Choose this endpoint when you need a reliable, ECB-sourced mid-market daily reference rate for currency conversion between any two ISO 4217 currencies. It is ideal for informational conversions, invoicing, budgeting, and pre-payment checks. It is not suitable for live spot trading rates or real-time tick data. It returns blended central-bank reference rates, making it appropriate for financial transparency and reporting use cases rather than active FX trading.

## Known failure modes

- Invalid or unsupported ISO 4217 currency code returns an error
- Same currency for 'from' and 'to' may return rate of 1
- Negative or zero amount may be rejected by minimum validation
- Service unavailability from upstream Frankfurter data source
- Malformed request body missing required fields

## How this service works

Landing page para tu negocio en 24 horas: textos, diseño para celular y botón de WhatsApp. Boceto gratis: ves la primera versión antes de pagar. USD 39 de lanzamiento.

## Output

A JSON object containing: the base and quote currency codes, the conversion date, the mid-market daily exchange rate, the converted amount, the inverse rate, and a source attribution (Frankfurter / ECB central bank data). For example, converting 100 USD to EUR might return rate: 0.89058, converted: 89.058, inverse_rate: 1.12286375.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "maxLength": 3,
   "minLength": 3,
   "description": "Quote currency ISO 4217 code"
  },
  "from": {
   "type": "string",
   "default": "USD",
   "maxLength": 3,
   "minLength": 3,
   "description": "Base currency ISO 4217 code"
  },
  "amount": {
   "type": "number",
   "default": 1,
   "minimum": 0,
   "description": "Amount in the base currency to convert"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "EUR",
  "date": "2026-10-21",
  "from": "USD",
  "rate": 0.89058,
  "amount": 100,
  "source": "Frankfurter (frankfurter.dev), data from central banks incl. ECB",
  "converted": 89.058,
  "rate_type": "mid-market daily reference (blended central-bank rates)",
  "inverse_rate": 1.12286375
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/currency-exchange-rate-lookup-fx-rate-api-abfb6de1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from landingen24h.com](https://www.zero.xyz/host/landingen24h.com/llms.txt)
