Skip to main content
The most common reasons:
  1. Slippage exceeded — The price moved between quoting and execution. Request a fresh partner quote; do not silently increase user slippage.
  2. Stale transaction — Too much time passed before broadcast, or an RFQ signature expired. Discard the calldata and request a fresh partner quote.
  3. Insufficient allowance — Approve the quote’s allowanceTarget, wait for confirmation, then request a new quote.
  4. Insufficient balance — The wallet doesn’t have enough tokens to cover the swap amount plus gas.
In all revert cases, no tokens are lost — you only pay the gas fee for the failed transaction.
Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to represent the chain’s native token (HYPE on HyperEVM). This is a convention shared across most DEX aggregators.Native tokens don’t need approval — skip the allowance check when swapping from HYPE.
Prices in the token endpoints (buyPriceUsd, sellPriceUsd) are refreshed every ~5 seconds from actual DEX pool reserves. For most use cases, polling every 15–30 seconds is sufficient.See the Price API guide for a polling pattern with local caching.
No. The partner quote returns INSUFFICIENT_ALLOWANCE only when action is required and identifies the exact allowanceTarget. Prefer approving sellAmount; a partner may deliberately choose a reusable allowance after its own security review.
Partner limits are assigned during onboarding. If you exceed your limit, the API returns HTTP 429.Tips to stay within limits:
  • Debounce user input (400ms+) before fetching quotes
  • Cache token lists — they don’t change frequently
  • Use GET /{chainId}/tokens to fetch all tokens in one call instead of individual lookups
AKKA currently supports Ethereum (chain ID 1), Arbitrum (chain ID 42161), HyperEVM (chain ID 999), Robinhood Chain (chain ID 4663), XDC Network (chain ID 50), Elysium (chain ID 99901) and BNB Chain (chain ID 56). Base is coming soon. GET /partner/v1/chains returns the live list. See Supported Chains for native and wrapped-native token addresses.See Supported Chains for details.
Use GET /partner/v1/{chainId}/quote for every new wallet, router, bot, or aggregator integration. It returns exact pricing, validation, approval target, lifecycle metadata, and executable transaction data in one response.
payer is required and identifies the wallet or executor contract that supplies input tokens and sends the returned transaction. recipient receives output and defaults to payer. AKKA uses the payer to perform balance, allowance, gas, and simulation checks.
The partner endpoint returns current fee fields. Submit gasPrice for a legacy response, or maxFeePerGas and maxPriorityFeePerGas for an EIP-1559 response. Do not submit both models.
encodedTx is the full transaction tuple (from, to, data, value, gasPrice, gas) ABI-encoded as a hex string. It allows frontends to decode and execute the swap without needing the router contract ABI. On the partner quote its gas is simulation.gasLimit, the gas limit to send (also tx.gas, unless expected-gas reporting is enabled for your key).Most integrations use the tx object directly — encodedTx is an alternative for advanced use cases.
Contact the AKKA team on Telegram to request an API key. The key is passed as an apikey header on every request.
The API provides instant swap execution, not scheduled orders. However, you can build limit orders or DCA on top of the API:
  • Limit orders: Request partner quotes at a rate agreed during onboarding. When the rate is reached, obtain a fresh executable quote immediately before execution.
  • DCA (Dollar Cost Averaging): Run a cron job or interval that executes a fixed swap at regular intervals.
AKKA indexes liquidity from 20+ DEX pool types on HyperEVM, including Uniswap V2/V3 forks, Algebra, Curve, Balancer, and more. The pathfinder algorithm evaluates all pools to find the optimal route — including splitting across multiple pools when that gives a better rate.Use /dex-compare to see how the aggregated rate compares to individual DEX pools.