# ECB Currency Converter (Multi-Target)

> ECB Currency Converter (Multi-Target) is a paid API for AI agents from agents.crowdspark.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Converts a monetary amount from one source currency into up to 10 target currencies using European Central Bank exchange rates, returning rounded amounts, rates, inverse rates, and 7-day change percentages.

## Facts

- Endpoint: GET https://agents.crowdspark.me/v1/fx/convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-currency-converter-multi-target-83ed68e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eOfiSu28lSN-PfbhHB0bU

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 ecb-currency-converter-multi-target-83ed68e3
```

Example prompt: Convert 1250.50 USD into EUR, GBP, and JPY using ECB rates — and tell me how each rate has changed over the past 7 days.

## When to prefer this

Choose this endpoint when you need ECB-sourced exchange rates for invoicing, quoting, or budgeting purposes — especially when converting one amount into multiple currencies simultaneously and needing 7-day trend data. It is ideal for financial document workflows where ECB rates are the standard reference. Prefer it over generic FX APIs when you need multi-target batch conversion in a single call, official central bank rates, or historical rates for a specific past date.

## Known failure modes

- Unsupported currency code returns an error or empty conversion
- Date outside ECB historical data range returns an error
- More than 10 target currencies provided may be rejected
- Invalid amount format (non-numeric string) causes a bad request
- Weekend or holiday dates may return rates from the last available trading day
- Network timeout if ECB/Frankfurter upstream is unavailable

## How this service works

Pay-per-call utilities for AI agents over x402, USDC on Base.

## Output

A JSON object containing the source currency, original amount, rate date, data source label, and an array of conversion results — each with the target currency code, converted and rounded amount, exchange rate, inverse rate, and the 7-day percentage change in the rate. Also includes the reference date used for the 7-day comparison.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "amount",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Comma list of up to 10 target currency codes"
      },
      "date": {
       "type": "string",
       "description": "Optional YYYY-MM-DD for a historical rate"
      },
      "from": {
       "type": "string",
       "description": "Source currency code, e.g. USD"
      },
      "amount": {
       "type": "string",
       "description": "Amount to convert, e.g. 1250.50"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "from": "USD",
  "amount": 1250,
  "source": "European Central Bank via Frankfurter",
  "rate_date": "2026-10-27",
  "conversions": [
   {
    "rate": 0.89686,
    "currency": "EUR",
    "converted": 1121.08,
    "inverse_rate": 1.115,
    "change_7d_pct": 0.925
   }
  ],
  "change_7d_reference_date": "2026-10-20"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-currency-converter-multi-target-83ed68e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.crowdspark.me](https://www.zero.xyz/host/agents.crowdspark.me/llms.txt)
