# Ambolt ECB FX Rate Lookup

> Ambolt ECB FX Rate Lookup is a paid API for AI agents from api.ambolt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Returns European Central Bank official foreign exchange reference rates for a given base currency, date, and amount, optionally filtered to specific target currencies.

## Facts

- Endpoint: GET https://api.ambolt.dev/v1/fx-rate-ecb?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ambolt-ecb-fx-rate-lookup-83866871
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FF6TQXu9L5edrVY42lQTl

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 ambolt-ecb-fx-rate-lookup-83866871
```

Example prompt: What's the official ECB exchange rate for converting 1000 euros into US dollars and British pounds as of 2025-03-14?

## When to prefer this

Choose this endpoint when you need authoritative, official ECB foreign exchange reference rates rather than real-time market rates — ideal for accounting, regulatory, and compliance use cases where ECB official rates are required. Prefer it over commercial FX APIs when you need a specific historical ECB rate by date, or when auditable, source-attributed rates matter. It supports up to 40 target currencies per call, making it efficient for multi-currency conversions.

## Known failure modes

- Invalid base or target currency code (non-ISO 4217 three-letter code) returns a validation error
- Date too far in the past or future for which ECB data is unavailable
- Weekend or holiday date automatically falls back to the previous working day — the returned date may differ from the requested date
- More than 40 symbols requested triggers a validation error
- Payment failure (x402) if USDC balance is insufficient
- Network timeout if ECB upstream is slow

## How this service works

Pay-per-call data tools for developers and AI agents: company registers, documents, tenders, rates and on-chain facts as MCP tools, x402 endpoints and Apify Actors.

## Output

A JSON object containing the base currency, the effective date of the rates (adjusted to the last ECB working day if a weekend or holiday is requested), the requested amount, a rates map of target currency codes to converted values, the fetch timestamp, and a source attribution string crediting the European Central Bank.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string",
       "default": "EUR",
       "pattern": "^[A-Za-z]{3}$",
       "description": "Base currency, ISO 4217."
      },
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "YYYY-MM-DD. Default: latest. Weekends and holidays return the previous working day."
      },
      "amount": {
       "type": "number",
       "default": 1,
       "maximum": 1000000000000,
       "minimum": 0,
       "description": "Amount of base currency to convert."
      },
      "symbols": {
       "type": "string",
       "description": "Target currencies. Default: all."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "EUR",
  "date": "2026-10-02",
  "rates": {
   "DKK": 7.4736,
   "USD": 1.1225
  },
  "amount": 1,
  "source": "Source: European Central Bank euro foreign exchange reference rates, via frankfurter.dev.",
  "fetchedAt": "2026-10-02T21:35:47.668Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ambolt-ecb-fx-rate-lookup-83866871/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ambolt.dev](https://www.zero.xyz/host/api.ambolt.dev/llms.txt)
