{
  "format": "delx/intent-card/v1",
  "id": "fx-revalue-amount-api",
  "intent": "FX Revalue Amount for an agent workflow",
  "title": "FX Revalue Amount API for agents",
  "description": "Revalue amount by two rates (historical vs current). Call when ECB-style revaluation when rates are caller-supplied. Returns revalued_amount as deterministic JSON for $0.002 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
  "keywords": [
    "FX Revalue Amount API",
    "FX Revalue Amount for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/fx-revalue-amount-api",
  "machine_url": "https://commerce.delx.ai/intents/fx-revalue-amount-api.json",
  "recommendation": {
    "tool_name": "util_fx_revalue_amount",
    "service_name": "FX Revalue Amount",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/fx-revalue-amount",
    "price_usdc": "0.002",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Notional amount to revalue"
        },
        "rate_from": {
          "type": "number",
          "description": "Source FX rate"
        },
        "rate_to": {
          "type": "number",
          "description": "Target FX rate"
        }
      },
      "required": [
        "amount",
        "rate_from",
        "rate_to"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "amount": 100,
      "rate_from": 1,
      "rate_to": 1.1
    },
    "example_output": {
      "schema": "delx/util-fx-revalue-amount/v1",
      "revalued_amount": 110.00000000000001
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/fx-revalue-amount -m POST -H 'x-delx-source: intent-card-fx-revalue-amount-api' --max-amount 0.002 -b '{\"amount\":100,\"rate_from\":1,\"rate_to\":1.1}'",
      "max_amount_usdc": "0.002"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-fx-revalue-amount-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/fx-revalue-amount"
  }
}
