Skip to main content

bankr-agent Plugin

Enable crypto trading and market predictions in Claude Code.

Installation

claude plugin install bankr-agent

Capabilities

Token Trading

Buy and sell tokens across supported chains:

"buy $50 of ETH on base"
"swap 100 USDC to BNKR"
"sell all my DEGEN for ETH"

Price Queries

Get real-time prices and market data:

"what is the price of ETH?"
"show me BTC price chart"
"compare prices of ETH, SOL, and MATIC"

Market Analysis

Technical analysis and trending tokens:

"analyze BNKR price action"
"what tokens are trending on base?"
"show me the top gainers today"

Polymarket

Prediction market integration:

"what are the odds the eagles win?"
"bet $5 on eagles to win tonight"
"show me election markets"

Portfolio Management

Check balances and positions:

"what are my balances?"
"show my portfolio value"
"show my hyperliquid positions"
"what positions do I have on Avantis?"

Example Session

You: What's the price of ETH?

Claude: ETH is currently trading at $3,245.67, up 2.3% in the last 24 hours.

You: Buy $20 of it on base

Claude: I'll execute a swap of $20 USDC to ETH on Base.

[Transaction executed]

Swapped $20 USDC for 0.00616 ETH on Base.
Transaction: 0x1234...

You: Now show my balances

Claude: Your Base wallet balances:
- ETH: 0.0562 ($182.45)
- USDC: 430.00 ($430.00)
- BNKR: 15,000 ($45.00)

Configuration

The plugin uses the Bankr Agent API. You need:

  1. A Bankr API key (bk_...) — get one at bankr.bot/api
  2. Set the environment variable: export BANKR_API_KEY=bk_your_key_here
  3. Gas tokens on chains you want to trade

Supported Chains

Base, Ethereum, Polygon, Unichain, World Chain, Arbitrum, BNB Chain, and Solana are all supported through the Agent API.

Limitations

  • Some operations require sufficient gas balance
  • Rate limits apply per API key (100/day standard, 1,000/day Bankr Club)