# Delx Bridge Cost Budget

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

Aggregates gas, slippage, and bridge fee components into a total cross-chain bridge cost budget in USD.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/bridge-cost-budget
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-bridge-cost-budget-cebd1f50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C5UimemWRBxD8iIuLvJQ6

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-bridge-cost-budget-cebd1f50 -d '<json body>'
```

Example prompt: Can you calculate my total bridge cost budget given a gas cost of $1.20, a slippage budget of $0.30, and a bridge fee of $0.50?

## When to prefer this

Use this endpoint when an AI agent or workflow needs to programmatically aggregate the three standard components of a cross-chain bridge transaction (gas, slippage, bridge fee) into a validated, schema-versioned total cost object, especially when downstream logic depends on a structured cost breakdown rather than a simple sum.

## Known failure modes

- Missing or non-numeric input fields may cause validation errors or incorrect totals
- Negative values for cost components may produce unexpected results
- If any field is omitted the total may undercount actual bridge cost

## How this service works

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.

## Output

Returns a JSON object with the schema identifier 'delx/util-bridge-cost-budget/v1', a components object breaking down gas_usd, slippage_usd, and bridge_fee_usd as submitted, and a total_cost field representing their sum 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-bridge-cost-budget-cebd1f50/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
