Integrate with Bankr
The Zapper skill is a powerful enhancement for agents using Bankr, providing real-time, accurate onchain data to help understand market conditions, portfolio performance, and trading opportunities across 60+ chains. With this integration, your agent can make more informed decisions by accessing live token prices, liquidity metrics, DeFi positions, and more.
This page describes how to setup the Zapper skill to work seemlessly with the Bankr skill.
Use a simple prompt like:
Install the Bankr skill from https://github.com/BankrBot/openclaw-skills/tree/main/bankr
Setting up the integration
To enable the Zapper-Bankr integration, simply provide your agent with the following prompt:
Hey agent - Set my Zapper skill to be ready to use with Bankr.
Your agent will ask you to provide your Bankr wallet address. This allows Zapper to have full context on which wallet you're using and referencing when analyzing market data or executing trades.
To get your Bankr wallet address, simply ask your agent to retrieve it using the Bankr skill. You can also get it via your Bankr terminal at https://bankr.bot/terminal.
Example Agent Workflow
By combining the Zapper and Bankr skills, your agent can analyze onchain data and execute trades autonomously. Use Zapper to detect onchain shifts like wallet inflows, token momentum, and social sentiment, then have Bankr execute trades automatically based on those insights.
User prompt:
Analyze trending tokens, and check for their swap activity and social sentiment.
Buy me $5 of the two most promising ones.
Underlying actions done automatically
-
Get trending tokens (Zapper)
curl -X POST https://public.zapper.xyz/x402/token-ranking \
-H "x-zapper-api-key: YOUR_API_KEY" \
-d '{"timeFrame":"24h","limit":10}'Returns top 10 trending tokens by swap activity.
-
Get activity feed for top candidates (Zapper)
For each promising token, check swap patterns and social sentiment:
curl -X POST https://public.zapper.xyz/x402/token-activity-feed \
-H "x-zapper-api-key: YOUR_API_KEY" \
-d '{"tokenAddress":"0x4ed4e862860bed51a9570b96d89af5e1b0efefed","network":"base","limit":50}'Returns:
- Recent swaps
- Top Farcaster casts, detailing overall sentiment
- Wallet activity
-
Analyze signals (Agent)
Agent analyses the data received and determines which tokens to trade.
-
Execute trades (Bankr)
# Buy $5 of DEGEN
bankr buy 5 usd degen
# Buy $5 of BRETT
bankr buy 5 usd brett
Agent response:
Market Analysis Complete - Purchases Executed
Analysis Summary:
Analyzed 10 trending tokens based on 24h swap activity and social sentiment.
Selected Tokens:
1. DEGEN (0x4ed4...efed on Base)
- Swap Volume: 2.4M (↑340%)
- Social Sentiment: Strongly Positive
- Holder Growth: +45 in past hour
- Buy Signals: Consistent $10K-$50K purchases
- Purchased: $5.00 → 142,857 DEGEN tokens
2. BRETT (0xa818...d88e on Base)
- Swap Volume: 650K (↑180%)
- Social Sentiment: Positive
- Holder Growth: Steady increase
- Buy Signals: Strong community backing
- Purchased: $5.00 → 8,264 BRETT tokens
Total Investment: $10.00
Transactions confirmed via Bankr wallet.
This workflow demonstrates the power of combining Zapper's onchain intelligence with Bankr's execution capabilities - enabling truly autonomous, data-driven trading decisions.