# Hibra AI Swap — Base Network Token Swap

> Hibra AI Swap — Base Network Token Swap is a paid API for AI agents from www.hibra.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Executes an AI-optimized token swap on the Base network, routing through the best available liquidity path.

## Facts

- Endpoint: POST https://www.hibra.app/api/swap/execute
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hibra-ai-swap-base-network-token-swap-03b2da04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IopPm1aoalcupBhrAX8-7

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 hibra-ai-swap-base-network-token-swap-03b2da04 -d '<json body>'
```

Example prompt: Swap 100 USDC to ETH on Base using Hibra's AI routing to get the best available rate — use my wallet address 0xABC...123 and set slippage to 0.5%.

## When to prefer this

Choose this endpoint when you need to execute an actual on-chain token swap on the Base network with AI-optimized routing for best price. Prefer this over generic DEX aggregators when operating specifically on Base and wanting automated best-route selection without manually comparing liquidity sources.

## Known failure modes

- Insufficient token balance results in swap rejection
- Slippage tolerance exceeded causes transaction revert
- Unsupported token pair returns an error
- Network congestion or RPC failure causes timeout
- Wallet not approved to spend source token returns allowance error
- Invalid wallet address format causes validation failure

## How this service works

Hibra AI Swap — best route on Base network

## Output

Returns the executed swap result including transaction hash, output token amount received, the routing path selected, gas used, and confirmation of settlement on the Base network.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hibra-ai-swap-base-network-token-swap-03b2da04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.hibra.app](https://www.zero.xyz/host/www.hibra.app/llms.txt)
