API Documentation
Chakra — swap routing across xy=k, stable, and CLMM venues on Arc Testnet.
- Base URL
https://chakra-api-0a5i.onrender.com- Chain
Arc Testnet · 5042002 (0x4CEF52)
GET
/api/v1/healthHealth check (rate-limit exempt).
Try it
GET
/api/v1/readySnapshot current AND at least one pool key in Redis.
Try it
GET
/api/v1/tokensFrozen catalog: ERC-20 USDC (6 dp), EURC (6 dp), cirBTC (8 dp). Native USDC is never listed.
Try it
GET
/api/v1/balancesCatalog ERC-20 balances plus a separate native_usdc (18 dp gas) — never summed.
Query / body
accountstring0x EVM address
Try it
GET
/api/v1/quoteBest route. Integer price_impact_bps; protocol_fee_bps is 0.
Query / body
token_instringERC-20 address (6/8 dp)token_outstringERC-20 addressamount_instringAtomic amount (integer)slippage_bpsnumber?Integer bps; default 50 (= 0.5%)max_hopsnumber?Server default 3max_splitsnumber?Clamped to server max
Try it
POST
/api/v1/build_txsplitSwap calldata + optional Permit2 typed data. Never a re-quoter.
Query / body
userstring0x EOA addresstoken_instringInput tokentoken_outstringOutput tokenamount_instringAtomic amount inmin_amount_outstringAtomic min outsub_routesarrayFrom GET /quote
Try it
Calls GET /quote first so the sub-route steps match live routing, then POSTs build_tx with user.