# AgenticWeb FX Currency Converter (ECB Rates)

> AgenticWeb FX Currency Converter (ECB Rates) is a paid API for AI agents from api.agenticweb.nl, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Converts an amount between two currencies using the European Central Bank (ECB) euro reference rates and returns the exchange rate and converted result.

## Facts

- Endpoint: GET https://api.agenticweb.nl/api/v1/global/fx
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenticweb-fx-currency-converter-ecb-rates-1fd63b40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oC4bnp6VeaI8SuvlTn57Y

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 agenticweb-fx-currency-converter-ecb-rates-1fd63b40
```

Example prompt: What's the ECB euro reference rate from USD to JPY, and how much would 250 US dollars be in Japanese yen?

## When to prefer this

Use this endpoint when you need official ECB euro reference rates for currency conversion, particularly for EUR-based pairs or informational/accounting purposes rather than live trading rates. Prefer this over general FX APIs when ECB compliance or official reference rates are required.

## Known failure modes

- Unsupported or invalid ISO 4217 currency code returns an error
- ECB does not publish rates for all world currencies — non-EUR-paired or exotic currencies may be unavailable
- Rates reflect the ECB reference snapshot date, which may be one business day behind real-time market rates
- Network or service unavailability returns a non-200 response
- Missing required query parameters may return a 400 bad request

## How this service works

Currency conversion via ECB euro reference rates (informational). The underlying ECB reference rates can be obtained free of charge from https://www.ecb.europa.eu/stats/eurofxref/. Payment constitutes acceptance of the terms at https://agenticweb.nl/terms.

## Output

Returns a JSON object with the source currency (from), target currency (to), the ECB reference exchange rate (rate), the date of the ECB snapshot (as_of), the original amount, and the computed result (amount × rate).

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "object",
  "properties": {
   "to": {
    "type": "string",
    "description": "ISO 4217 target currency."
   },
   "from": {
    "type": "string",
    "description": "ISO 4217 source currency."
   },
   "rate": {
    "type": "number",
    "description": "ECB reference rate from→to."
   },
   "as_of": {
    "type": "string",
    "description": "Date of the ECB reference snapshot."
   },
   "amount": {
    "type": "number"
   },
   "result": {
    "type": "number",
    "description": "amount × rate."
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenticweb-fx-currency-converter-ecb-rates-1fd63b40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agenticweb.nl](https://www.zero.xyz/host/api.agenticweb.nl/llms.txt)
