# Delx Commerce Bridge Cost Budget Calculator

> Delx Commerce Bridge Cost Budget Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the total estimated cost of a cross-chain bridge transaction by summing gas, slippage, and bridge fee components in USD

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/bridge-cost-budget?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-bridge-cost-budget-calculator-8b78c60e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nx8eMyBxvwgiEWyZs5f32

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-bridge-cost-budget-calculator-8b78c60e -d '<json body>'
```

Example prompt: Calculate the total bridge cost for me — gas is $1.20, slippage budget is $0.30, and the bridge fee is $0.50. What's the all-in total?

## When to prefer this

Use this endpoint when an AI agent or workflow needs a quick, structured, pay-per-call computation of total bridge costs from known component estimates (gas, slippage, bridge fee) without setting up any account or subscription. Prefer it over custom arithmetic when you need a verifiable, schema-tagged result with itemized breakdown for audit or downstream processing in a DeFi pipeline.

## Known failure modes

- Missing or non-numeric input fields may result in malformed calculation or error response
- Negative values for cost components may produce unexpected totals
- Service unavailability or payment failure (x402) may prevent response delivery
- Extremely large or small floating point values may cause precision issues in total

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the schema identifier ('delx/util-bridge-cost-budget/v1'), a components breakdown with each individual cost (gas_usd, slippage_usd, bridge_fee_usd), and a computed total_cost field representing the sum of all three inputs in USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gas_usd": {
   "type": "number",
   "description": "Estimated gas cost in USD"
  },
  "slippage_usd": {
   "type": "number",
   "description": "Slippage budget in USD"
  },
  "bridge_fee_usd": {
   "type": "number",
   "description": "Bridge fee in USD"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-bridge-cost-budget/v1",
  "components": {
   "gas_usd": 1.2,
   "slippage_usd": 0.3,
   "bridge_fee_usd": 0.5
  },
  "total_cost": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-bridge-cost-budget-calculator-8b78c60e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
