Skip to content
Eden Engine

Currency Exchange Rate Lookup

omnial/x402-exchange-rate

Given a source and target currency (ISO 4217 codes, e.g. USD and EUR), returns the current exchange rate, its inverse, and the date the rate was published, using European Central Bank reference data.

activeper callv3

Price

Up to $0.0325 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

European Central Bank

Source: ECB statistics.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/x402-exchange-rate" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/x402-exchange-rate" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/x402-exchange-rate", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/x402-exchange-rate", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0325
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "from",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "Target currency (ISO 4217, e.g. EUR)"
    },
    "from": {
      "type": "string",
      "description": "Source currency (ISO 4217, e.g. USD)"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "from",
    "to",
    "rate",
    "inverse_rate",
    "date"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "The target currency code, echoed back, e.g. 'EUR'."
    },
    "date": {
      "type": "string",
      "description": "The date the rate was published, e.g. '2026-09-08' (YYYY-MM-DD)."
    },
    "from": {
      "type": "string",
      "description": "The source currency code, echoed back, e.g. 'USD'."
    },
    "rate": {
      "type": "number",
      "description": "Units of `to` currency per one unit of `from` currency."
    },
    "inverse_rate": {
      "type": "number",
      "description": "Units of `from` currency per one unit of `to` currency (1 / rate)."
    }
  },
  "description": "The exchange rate result.",
  "additionalProperties": true
}