# Orbit Econ Data: Currency Conversion (ECB)

> Orbit Econ Data: Currency Conversion (ECB) is a paid API for AI agents from orbit-econ.orbit-builder.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Converts a monetary amount from one fiat currency to one or more target currencies using the latest or historical European Central Bank reference rates

## Facts

- Endpoint: GET https://orbit-econ.orbit-builder.workers.dev/v1/convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orbit-econ-data-currency-conversion-ecb-c484e601
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0wa0VH9D1d3yM2VSnuIsy

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 orbit-econ-data-currency-conversion-ecb-c484e601
```

Example prompt: Convert 250 euros to US dollars using the ECB reference rate — what's the converted amount, the rate used, and the inverse rate?

## When to prefer this

Choose this endpoint when you need an authoritative, official central bank exchange rate for fiat-to-fiat currency conversion, especially for financial, accounting, or compliance use cases where ECB rates are required. Prefer it over market-rate APIs when you need a trusted reference rate, historical rate lookup by specific date, or simultaneous conversion to multiple target currencies in a single call. Not suitable for cryptocurrency conversion or real-time interbank/trading rates.

## Known failure modes

- Unsupported currency code (e.g. crypto or obscure fiat not in ECB's ~30-currency set) returns an error
- Invalid date format or a date with no ECB data (e.g. weekend or holiday) may return an error or fall back
- Missing required 'from' or 'to' query parameters triggers a validation error
- No parameters provided runs the built-in example input instead of a custom conversion

## How this service works

Economic and country data for agents: European Central Bank FX reference rates, currency conversion and rate history (via Frankfurter), country reference facts for 250 countries, and the latest World Bank macro indicators (GDP, growth, inflation, population, unemployment…). Open data with attribution, fetched at call time. $0.001 per call. By orbit-builder.

## Output

Returns a JSON object containing the source currency, the amount requested, the rate date, and an array of conversions each with the target currency code, the ECB reference rate, the converted amount, and the inverse 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",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "comma-separated target currencies"
      },
      "date": {
       "type": "string",
       "description": "optional YYYY-MM-DD"
      },
      "from": {
       "type": "string",
       "description": "ISO 4217 source currency"
      },
      "amount": {
       "type": "number",
       "description": "amount to convert (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-10-23",
  "from": "EUR",
  "amount": 250,
  "conversions": [
   {
    "to": "USD",
    "rate": 1.1193,
    "amount": 279.83,
    "inverse": 0.8934
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orbit-econ-data-currency-conversion-ecb-c484e601/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orbit-econ.orbit-builder.workers.dev](https://www.zero.xyz/host/orbit-econ.orbit-builder.workers.dev/llms.txt)
