{
  "format": "delx/intent-card/v1",
  "id": "fx-convert-amount-api",
  "intent": "FX Convert Amount for an agent workflow",
  "title": "FX Convert Amount API for agents",
  "description": "Convert an amount with a caller-supplied FX rate (no live feed) — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converted externally (random, hash, URL, FX families).",
  "keywords": [
    "FX Convert Amount API",
    "FX Convert Amount for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/fx-convert-amount-api",
  "machine_url": "https://commerce.delx.ai/intents/fx-convert-amount-api.json",
  "recommendation": {
    "tool_name": "util_fx_convert_amount",
    "service_name": "Delx FX Convert Amount",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/fx-convert-amount",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "amount": {
          "description": "Input field: amount.",
          "type": "integer"
        },
        "rate": {
          "description": "Input field: rate.",
          "type": "number"
        },
        "side": {
          "description": "Input field: side.",
          "type": "string"
        },
        "base": {
          "description": "Input field: base.",
          "type": "string"
        },
        "quote": {
          "description": "Input field: quote.",
          "type": "string"
        }
      },
      "required": [
        "amount",
        "rate"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "amount": 100,
      "rate": 5.2,
      "side": "multiply",
      "base": "USD",
      "quote": "BRL"
    },
    "example_output": {
      "schema": "delx/util-fx-convert-amount/v1",
      "ok": true,
      "amount": 100,
      "rate": 5.2,
      "side": "multiply",
      "converted": 520,
      "decimals": 6,
      "base": "USD",
      "quote": "BRL",
      "note": "Caller supplies rate; not a live FX feed"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/fx-convert-amount -m POST -H 'x-delx-source: intent-card-fx-convert-amount-api' --max-amount 0.001 -b '{\"amount\":100,\"rate\":5.2,\"side\":\"multiply\",\"base\":\"USD\",\"quote\":\"BRL\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-fx-convert-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-convert-amount"
  }
}
