# Agent Tools FX Rates (European Central Bank)

> Agent Tools FX Rates (European Central Bank) is a paid API for AI agents from agents.crowdspark.me, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns ECB reference exchange rates for a given base currency, optionally filtered by symbols and date, covering latest or historical rates.

## Facts

- Endpoint: GET https://agents.crowdspark.me/v1/fx/rates?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-fx-rates-european-central-bank-c5d36455
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2eUGKt-tCis4YFsU3lsFO

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 agent-tools-fx-rates-european-central-bank-c5d36455
```

Example prompt: What are the current ECB reference exchange rates for USD as the base, showing EUR and JPY?

## When to prefer this

Use this endpoint when you need official ECB reference rates (not live market mid-rates) for compliance, invoicing, or accounting purposes, or when you need reliable historical rates by specific date. Prefer this over real-time forex APIs when regulatory or auditable rate sourcing from a central bank is required. Ideal for travel budgeting, multi-currency invoicing, and financial reconciliation workflows.

## Known failure modes

- Invalid currency code returns an error or empty rates object
- Date outside ECB historical coverage (pre-1999) returns an error
- Malformed date format causes a 400 or validation error
- Unsupported or misspelled symbol codes silently omitted or error
- Weekends and ECB holidays may return the last available business day rate rather than the exact date

## How this service works

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

## Output

A JSON object containing the base currency, the rate date (today or the requested historical date), and a rates map of currency codes to float exchange rate values. The source field identifies European Central Bank via Frankfurter. Example: {base: 'USD', date: '2026-10-22', rates: {EUR: 0.89246, JPY: 157.05}, source: 'European Central Bank via Frankfurter'}.

## 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": [],
     "properties": {
      "base": {
       "type": "string",
       "description": "Base currency, e.g. USD"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD, optional"
      },
      "symbols": {
       "type": "string",
       "description": "Comma list, optional"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "USD",
  "date": "2026-10-22",
  "rates": {
   "EUR": 0.89246,
   "JPY": 157.05
  },
  "source": "European Central Bank via Frankfurter"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-fx-rates-european-central-bank-c5d36455/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)
