Skip to main content
Base URL: https://api.testnet.topokki.exchange The Topokki API provides current swap quotes, display prices, and testnet configuration. It is public and returns JSON.
This is a testnet API. Quotes and prices can change quickly. Request a fresh quote before every swap.

Conventions

  • All token addresses are EVM addresses.
  • Token amounts are raw integer strings. For example, 1000000 is 1 USDC when the token has 6 decimals.
  • Quote requests use GIWA Sepolia chain ID 91342.
  • A successful request returns 200. Invalid inputs return 400; a request that cannot be quoted returns 422.

Endpoints

Get a swap quote

Get a fresh exact-input or exact-output route.

Get token prices

Get WETH and token display prices in USD and KRW.

Check API status

Read health, network configuration, and transaction status.

Use with Viem

Execute direct V2 or smart-order-routed swaps.