Developer documentation

Integrate Chakra swap routing on Arc Testnet — quote, build the splitSwap calldata, and sign in your wallet or bot.

Base URL
https://chakra-api-0a5i.onrender.com
Flow
GET /quotePOST /build_tx → sign → submit

Best route

Quotes across xy=k, stable, and CLMM venues on Arc Testnet with split routing when it helps execution.

Integrator-ready

REST quote → build_tx flow, OpenAPI spec, TypeScript SDK, and Permit2 typed-data payloads.

Self-hostable

Open-source aggregator contract and api-server — run your own stack if you need to.

Fetch a live quote, then use the interactive API reference to try build_tx with the returned sub_routes.

API=https://chakra-api-0a5i.onrender.com
USDC=0x3600000000000000000000000000000000000000
EURC=0x89b50855aa3be2f677cd6303cec089b5f319d72a

# 1) Quote 1 USDC → EURC (slippage_bps integer, default 50 = 0.5%)
curl -sG "$API/api/v1/quote" \
  --data-urlencode "token_in=$USDC" \
  --data-urlencode "token_out=$EURC" \
  --data-urlencode "amount_in=1000000" \
  --data-urlencode "slippage_bps=50"

# 2) Map quote sub_routes → POST /api/v1/build_tx (see API reference)
TierLimitAuth
Anonymous10 req/s per IPnone

/health and /ready are exempt from the rate limit. Native USDC (18 dp) is gas only — never a swap token.

  • xy=kUniswap V2 style · 30 bps
  • StableA=100 · 4 bps
  • CLMMUniswap V3 style · 30 bps