{
  "format": "delx/discovery-pack/v1",
  "id": "convert-currency-with-reference-rates",
  "title": "Convert currencies with a sourced reference rate",
  "description": "A bounded FX path for agents that need daily ECB reference rates or cross-rates with source attribution, not order execution or trading advice.",
  "audience": "Finance, commerce and travel agents",
  "query": "get a sourced currency conversion rate for an agent",
  "keywords": [
    "currency conversion",
    "FX reference rates",
    "ECB rates",
    "forex API",
    "finance API for agents"
  ],
  "updated_at": "2026-08-01",
  "canonical_url": "https://commerce.delx.ai/packs/convert-currency-with-reference-rates",
  "machine_url": "https://commerce.delx.ai/packs/convert-currency-with-reference-rates.json",
  "entrypoints": {
    "human": "https://commerce.delx.ai/?q=get%20a%20sourced%20currency%20conversion%20rate%20for%20an%20agent",
    "intent_search": "https://api.delx.ai/api/v1/x402/start?q=get%20a%20sourced%20currency%20conversion%20rate%20for%20an%20agent",
    "graph": "https://commerce.delx.ai/discovery.json"
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "discovery-pack-convert-currency-with-reference-rates"
  },
  "products": [
    {
      "tool_name": "get_fx_rates_ecb",
      "service_name": "Delx ECB FX Rates",
      "category": "finance",
      "price_usdc": "0.001",
      "method": "POST",
      "route": "/api/v1/x402/fx-rates",
      "product_url": "https://commerce.delx.ai/products/get-fx-rates-ecb",
      "intent_url": "https://commerce.delx.ai/intents/currency-exchange-rates-api",
      "machine_url": "https://commerce.delx.ai/intents/currency-exchange-rates-api.json",
      "example_input": {
        "base_currency": "USD",
        "quotes": [
          "EUR",
          "BRL"
        ]
      },
      "agentcash_buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/fx-rates -m POST -H 'x-delx-source: discovery-pack-convert-currency-with-reference-rates' --max-amount 0.001 -b '{\"base_currency\":\"USD\",\"quotes\":[\"EUR\",\"BRL\"]}'"
    }
  ]
}
