Tokens· Exchange token

Swap Cake

PancakeSwap on BNB Chain, Ethereum, Arbitrum, Base and 1 more, swapped natively to and from BTC, ETH, SOL, stablecoins and thousands of other assets. Try it below, or add it to your app with one API call.

About PancakeSwap

CAKE is the native token of PancakeSwap, a decentralized exchange that launched on BNB Chain in 2020 and has since expanded to many other networks. CAKE is used in PancakeSwap's governance, staking and incentive programs, and the protocol uses part of its revenue to buy and burn CAKE.

CAKE is natively issued on BNB Chain. PancakeSwap uses LayerZero's OFT standard to bring CAKE to other networks, so the versions on Ethereum, Arbitrum, Base and Solana are cross-chain representations of the BNB Chain token rather than separate issues.

Official website →

Cake on 5 chains

Use the identifier for the chain your user holds Cake on as sellAsset or buyAsset.

ChainSwapKit identifier
BNB Chain18 decimals BSC.Cake-0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
EthereumCAKE · 18 decimals ETH.CAKE-0x152649eA73beAb28c5b49B26eb48f7EAD6d4c898
Arbitrum18 decimals ARB.Cake-0x1b896893dfc86bb67cf57767298b9073d2c1ba2c
ArbitrumCAKE · 18 decimals ARB.CAKE-0xCdc343ebf71e38F003eD6c80171F5B8D7cF58860
Base18 decimals BASE.Cake-0x3055913c90fcc1a6ce9a358911721eeb942013a1
Solana9 decimals SOL.Cake-4qQeZ5LwSz6HuupUu8jCtgXyW1mYQcNbFAW1sWZp89HL

Popular Cake swaps

What SwapKit users most often swap Cake with, in either direction.

Add Cake swaps to your app

Three ways in. The examples use Cake on BNB Chain; swap in another chain's identifier from the table above, and any asset as the other side.

REST API

Terminal
curl -X POST "https://api.swapkit.dev/v3/quote" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $SWAPKIT_API_KEY" \
  -d '{"sellAsset":"BSC.Cake-0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82","buyAsset":"BSC.USDC-0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d","sellAmount":"1","slippage":3}'

TypeScript SDK

TypeScript
import { createSwapKit, SwapKitApi } from "@swapkit/sdk";

const swapKit = createSwapKit({ config: { apiKeys: { swapKit: apiKey } } });
// …connect the user's wallet, then:

const { routes } = await SwapKitApi.getSwapQuote({
  sellAsset: "BSC.Cake-0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
  buyAsset: "BSC.USDC-0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
  sellAmount: "1",
  sourceAddress: "USER_SOURCE_ADDRESS",
  destinationAddress: "USER_DESTINATION_ADDRESS",
});

const txHash = await swapKit.swap({ route: routes[0] });

Swap widget

HTML
<script type="module" src="https://cdn.swapkit.dev/widget/latest/swapkit-widget.js"></script>

<swapkit-widget
  widget-id="YOUR_WIDGET_ID"
  widget-key="YOUR_WIDGET_KEY"
  input-asset="BSC.Cake-0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
  output-asset="BSC.USDC-0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
></swapkit-widget>

Questions

Which chains can I swap Cake on?

BNB Chain, Ethereum, Arbitrum, Base, Solana. Each has its own SwapKit identifier, listed above; use the one for the chain your user holds Cake on.

How do I swap Cake to USDC?

Request a quote with BSC.Cake-0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82 as sellAsset and BSC.USDC-0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d as buyAsset, pick a route, then build the transaction with /v3/swap and have the user sign it in their own wallet.

Can I swap Cake to native Bitcoin?

Yes. Quote Cake to BTC.BTC and the user receives native BTC on the Bitcoin network, not a wrapped token.

Does SwapKit hold my Cake?

No. SwapKit is non-custodial: the user signs every transaction in their own wallet and the payout goes straight to their address.

Ship cross-chain swaps this week.

One integration for 10,000+ assets across 30+ chains, with limit orders and Hyperliquid deposits included. Non-custodial by design.