# FX Rates ECB – Multi-Currency Basket

> FX Rates ECB – Multi-Currency Basket is a paid API for AI agents from fx-ecb.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns ECB reference rates for up to 10 currencies against a chosen base, ranked by 30-day performance from strongest to weakest.

## Facts

- Endpoint: GET https://fx-ecb.x402tookit.com/fx-basket?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-rates-ecb-multi-currency-basket-49b341e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rVkUgs4vZ8QJWWXv29FAY

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 fx-rates-ecb-multi-currency-basket-49b341e8
```

Example prompt: Can you pull ECB reference rates for EUR, GBP, JPY, CHF, AUD, CAD, SEK, NOK, DKK, and PLN against USD, and show me which ones have gained or lost the most over the past 30 days?

## When to prefer this

Use this endpoint when you need to compare multiple currencies simultaneously against a single base, with 30-day performance context and automatic ranking. It's ideal for basket views, portfolio snapshots, or any scenario requiring ranked multi-currency comparison in one call. For single-pair lookups, conversion, historical rates, or volatility analysis, prefer the sibling endpoints on the same provider.

## Known failure modes

- Invalid base currency code returns an error or empty result
- More than 10 quote currencies provided may be rejected or truncated
- Unrecognized currency codes not in ECB's 30-currency universe return errors or are listed in notChecked
- ECB data unavailable on weekends/holidays may trigger degraded flag
- Network or upstream ECB feed failure causes service degradation

## How this service works

Rates for up to 10 currencies against one base at once, with each one's 30-day change, strongest and weakest first.

## Output

Returns a ranked list of up to 10 currency rates against the specified base, each with the current ECB reference rate, 30-day percentage change, ordered from strongest to weakest performer. Also includes the fixing date (asOf), source URL, summary text, optional degraded flag (if ECB data is delayed), disclaimer, and attribution.

## 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": [
      "base",
      "quotes"
     ],
     "properties": {
      "base": {
       "type": "string",
       "description": "Base currency, e.g. USD"
      },
      "quotes": {
       "type": "string",
       "description": "Comma-separated quote currencies, up to 10, e.g. EUR,GBP,JPY"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "base": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "currencies": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "rate": {
          "type": [
           "null",
           "number"
          ]
         },
         "currency": {
          "type": [
           "null",
           "string"
          ]
         },
         "change30dPct": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
        "nul
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-rates-ecb-multi-currency-basket-49b341e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fx-ecb.x402tookit.com](https://www.zero.xyz/host/fx-ecb.x402tookit.com/llms.txt)
