debank
Query DeBank OpenAPI for wallet portfolios, token holdings, DeFi positions, and transaction history.
Best use case
debank is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Query DeBank OpenAPI for wallet portfolios, token holdings, DeFi positions, and transaction history.
Query DeBank OpenAPI for wallet portfolios, token holdings, DeFi positions, and transaction history.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "debank" skill to help with this workflow task. Context: Query DeBank OpenAPI for wallet portfolios, token holdings, DeFi positions, and transaction history.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/debank/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How debank Compares
| Feature / Agent | debank | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Query DeBank OpenAPI for wallet portfolios, token holdings, DeFi positions, and transaction history.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# DeBank OpenAPI
Query wallet portfolios, token balances, DeFi protocol positions, NFTs, and transaction history across 100+ EVM chains.
## Base URL
```
https://pro-openapi.debank.com/v1
```
Requires API key: set `DEBANK_API_KEY`. Paid plans at https://cloud.debank.com/open-api
Pass via header: `AccessKey: {key}`
## Endpoints
### Total Balance
```
GET /user/total_balance?id={address}
```
Returns total USD value across all chains.
### Chain Balances
```
GET /user/chain_list?id={address}
```
Returns per-chain balance breakdown with chain name, logo, and USD value.
### Token List
```
GET /user/all_token_list?id={address}&is_all=true
```
Returns all token holdings across all chains with:
- `chain` — chain identifier
- `name`, `symbol`, `decimals`
- `amount` — raw balance
- `price` — current USD price
- `logo_url`
Filter by chain: `GET /user/token_list?id={address}&chain_id={chain}`
Chain IDs: `bsc`, `eth`, `matic`, `arb`, `op`, `base`, `avax`, `ftm`
### DeFi Protocol Positions
```
GET /user/all_complex_protocol_list?id={address}
```
Returns all DeFi positions grouped by protocol:
- Lending (supply/borrow)
- Liquidity pools (LP positions)
- Farming (staked tokens + rewards)
- Vesting / locked tokens
Each position includes USD value, APY (when available), and health factor for lending.
Filter by chain: `GET /user/complex_protocol_list?id={address}&chain_id={chain}`
### NFT List
```
GET /user/all_nft_list?id={address}&is_all=true
```
Returns NFT holdings with collection name, floor price, and image.
### Transaction History
```
GET /user/history_list?id={address}&chain_id={chain}&page_count=20
```
Returns parsed transaction history with human-readable descriptions:
- Swap, Send, Receive, Approve, Contract Interaction
- Token amounts and counterparties
- Pagination via `start_time` parameter
### Token Info
```
GET /token?id={address}&chain_id={chain}
```
Returns token metadata: name, symbol, price, market cap, holders, logo.
### Protocol Info
```
GET /protocol?id={protocol_id}
```
Returns protocol details: TVL, chains, site URL, logo.
### Protocol List
```
GET /protocol/list
```
Returns all tracked protocols. **Large payload** — filter output.
## Usage Notes
- DeBank tracks 100+ EVM chains automatically — no need to query each chain separately when using `all_*` endpoints
- Always use `all_token_list` and `all_complex_protocol_list` for full portfolio overview
- For transaction history, `chain_id` is required — ask user which chain or iterate through their active chains
- DeFi positions include detailed breakdowns (supply vs borrow, LP composition) — present clearly
- Combine with `coingecko` for price charts and `security-check` for token risk assessment
- Rate limits depend on plan tier — avoid unnecessary repeated calls
## Example Interactions
User: "What's in my wallet?"
→ Call `all_token_list` for active wallet, present holdings sorted by USD value
User: "Show my DeFi positions"
→ Call `all_complex_protocol_list`, group by protocol, show value and APY
User: "What's the portfolio of 0x...?"
→ Call `total_balance` for overview, then `all_token_list` for details
User: "Show my recent transactions on BSC"
→ Call `history_list` with `chain_id=bsc`, present last 20 parsed transactionsRelated Skills
github
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.
gifgrep
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
zkvm-evaluator
Trustless ERC-8183 job evaluation — run Client's verification program inside a zkVM with ZK proof.
xurl
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
whale-watcher
Monitor large transactions and whale movements on-chain.
weather
Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.
wallet-manager
Create, import, and manage blockchain wallets securely.
wacli
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
voice-call
Start voice calls via the OpenClaw voice-call plugin.
video-frames
Extract frames or short clips from videos using ffmpeg.
trello
Manage Trello boards, lists, and cards via the Trello REST API.
token-swap
Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains.