# agentx.sale FX Rates (ECB Reference Rates)

> agentx.sale FX Rates (ECB Reference Rates) is a paid API for AI agents from agentx.sale, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns European Central Bank reference exchange rates for any fiat currency pair given a base currency and a comma-separated list of target symbols

## Facts

- Endpoint: GET https://agentx.sale/x402/fx-rates?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentx-sale-fx-rates-ecb-reference-rates-807243c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gkRN6-8a1XwprHRT4Q2HF

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 agentx-sale-fx-rates-ecb-reference-rates-807243c5
```

Example prompt: What are today's ECB reference exchange rates for GBP, EUR, and JPY using USD as the base currency?

## When to prefer this

Choose this endpoint when you need authoritative, ECB-sourced reference rates for fiat currency pairs — ideal for financial reporting, compliance, invoice reconciliation, or any use case requiring official benchmark rates rather than real-time market quotes. Prefer it over market-feed APIs when ECB reference rates specifically are required, or when cost-per-call pricing at $0.01 USDC is acceptable for spot lookups.

## Known failure modes

- Missing required 'base' or 'symbols' query parameters returns an error
- Unsupported or misspelled currency code results in an empty or error response
- ECB data may not be available on weekends or public holidays, returning stale or no rates
- Network or upstream ECB data unavailability may cause service errors
- Payment failure (non-payment of $0.01 USDC) results in HTTP 402 before any data is returned

## How this service works

FX rates: ECB reference rates for any fiat pair, e.g. base=USD&symbols=GBP,EUR,JPY

## Output

A JSON object containing the base currency, the date of the ECB reference rates, and a rates map of each requested target currency symbol to its exchange rate value relative to the base.

## 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",
      "symbols"
     ],
     "properties": {
      "base": {
       "type": "string"
      },
      "symbols": {
       "type": "string"
      }
     }
    }
   },
   "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-23",
  "rates": {
   "EUR": 0.9,
   "GBP": 0.75
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentx-sale-fx-rates-ecb-reference-rates-807243c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx.sale](https://www.zero.xyz/host/agentx.sale/llms.txt)
