Skip to content

Trading

Bankr makes trading as simple as describing what you want. Buy, sell, and swap tokens across all five supported chains — Base, Ethereum, Polygon, Unichain, and Solana — using natural language prompts through the Agent API, SDK, or OpenClaw skills.

Buy, sell, and swap tokens across all supported chains. Just describe what you want in natural language, and Bankr handles routing, approvals, and execution.

Example Prompts:

  • “Buy $20 of PEPE on Base”
  • “Swap 0.1 ETH to USDC on Base”
  • “Sell all my DEGEN on Base”
  • “Buy 0.5 SOL worth of BONK on Solana”
Execute a swap
curl -X POST https://api.bankr.bot/agent/prompt \
-H "X-API-Key: bk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Buy $20 of PEPE on Base"}'

Set conditional trades that execute automatically when a price target is hit. Limit orders let you define the exact conditions under which a trade should fire, so you don’t have to watch the market.

Example Prompts:

  • “Set a limit order to buy ETH at $2,000 on Base”
  • “Buy $50 of PEPE when it drops 10% on Base”

Set up recurring or time-delayed trades. Bankr will execute them on your behalf according to the schedule you define.

Example Prompts:

  • “Buy $10 of ETH every day on Base”

Move assets between any of the supported chains. Bankr handles the bridging infrastructure so you just describe the transfer.

Example Prompts:

  • “Bridge 0.1 ETH from Ethereum to Base”
  • “Bridge 100 USDC from Base to Polygon”

Swaps are routed through 0x for optimal pricing across decentralized exchanges on EVM chains. This means your trades are automatically split and routed through the best available liquidity pools to minimize slippage and get you the best price.

For ERC20 swaps via the SDK, you may need to approve the AllowanceHolder contract before executing a swap. The SDK provides helpers for this, but be aware that an on-chain approval transaction may be required before the swap itself can proceed. See the SDK documentation for details on handling token approvals.