{
  "format": "delx/intent-card/v1",
  "id": "bridge-cost-budget-api",
  "intent": "Bridge Cost Budget for an agent workflow",
  "title": "Bridge Cost Budget API for agents",
  "description": "Sum gas + bridge fee + slippage budget into total cost. Call when comparing bridge routes with known component costs. Returns total_cost and components as deterministic JSON for $0.001 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": [
    "Bridge Cost Budget API",
    "Bridge Cost Budget for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/bridge-cost-budget-api",
  "machine_url": "https://commerce.delx.ai/intents/bridge-cost-budget-api.json",
  "recommendation": {
    "tool_name": "util_bridge_cost_budget",
    "service_name": "Bridge Cost Budget",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/bridge-cost-budget",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "gas_usd": {
          "type": "number",
          "description": "Estimated gas cost in USD"
        },
        "bridge_fee_usd": {
          "type": "number",
          "description": "Bridge fee in USD"
        },
        "slippage_usd": {
          "type": "number",
          "description": "Slippage budget in USD"
        }
      },
      "required": [
        "gas_usd",
        "bridge_fee_usd",
        "slippage_usd"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "gas_usd": 1.2,
      "bridge_fee_usd": 0.5,
      "slippage_usd": 0.3
    },
    "example_output": {
      "schema": "delx/util-bridge-cost-budget/v1",
      "total_cost": 2,
      "components": {
        "gas_usd": 1.2,
        "bridge_fee_usd": 0.5,
        "slippage_usd": 0.3
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/bridge-cost-budget -m POST -H 'x-delx-source: intent-card-bridge-cost-budget-api' --max-amount 0.001 -b '{\"gas_usd\":1.2,\"bridge_fee_usd\":0.5,\"slippage_usd\":0.3}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-bridge-cost-budget-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/bridge-cost-budget"
  }
}
