{"uid":"cap_IopPm1aoalcupBhrAX8-7","slug":"hibra-ai-swap-base-network-token-swap-03b2da04","name":"Hibra AI Swap — Base Network Token Swap","description":"Hibra AI Swap — best route on Base network","url":"https://www.hibra.app/api/swap/execute","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__OF5FvT2XxqiiMD4h73VO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes an AI-optimized token swap on the Base network, routing through the best available liquidity path.","exampleAgentPrompt":"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%.","exampleUseCases":[{"title":"Exchange stablecoins for yield farming","prompt":"I want to convert 5000 USDC to DAI on Base so I can deposit into a lending protocol — use Hibra to find the best swap route and execute it from my wallet, keeping slippage under 1%."},{"title":"Rebalance portfolio across tokens","prompt":"Help me swap 50 ETH to a mix of Base tokens — I need USDC and cbETH to rebalance my positions. Use Hibra's AI routing to minimize fees and get me the best rates possible."},{"title":"Convert wrapped assets back","prompt":"I have 1000 wETH on Base that I need to convert back to regular ETH before withdrawing — find the optimal swap path using Hibra and execute it with standard slippage protection."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:08.748Z","isFirstParty":false}