Install
openclaw skills install ave-cloudQuery on-chain crypto data via the AVE Cloud API (https://cloud.ave.ai/). Use this skill whenever the user wants to: - Search for tokens by name, symbol, or...
openclaw skills install ave-cloudThe AVE Cloud API provides on-chain analytics across 130+ blockchains and 300+ DEXs. This skill runs Python scripts to call the API and returns results as clear summaries.
Two environment variables are required:
export AVE_API_KEY="your_api_key_here"
export API_PLAN="free" # allowed: free, normal, pro
Get a free key at https://cloud.ave.ai/register. For higher limits, contact support on Telegram: @ave_ai_cloud.
Rate limiting is handled by a built-in file-based limiter by default — no packages needed beyond the Python standard library.
Docker (sandboxed, uses requests + requests-ratelimiter for in-process rate limiting):
# Build once
docker build -f scripts/Dockerfile.txt -t ave-cloud .
# Run a command (example: search)
docker run --rm \
-e AVE_API_KEY="your_key" \
-e API_PLAN=free \
ave-cloud search --keyword WBNB --chain bsc
The Docker image sets AVE_USE_DOCKER=true automatically, enabling in-process rate limiting via requests-ratelimiter. No volume mount needed.
If you want to run locally with the same in-process rate limiter (requires pip install -r scripts/requirements.txt):
export AVE_USE_DOCKER=true
python scripts/ave_client.py <command> [options]
scripts/ave_client.pyThe script is at scripts/ave_client.py relative to the skill root.
All commands output JSON to stdout. Errors are printed to stderr with a non-zero exit code.
Find tokens by symbol, name, or contract address.
python scripts/ave_client.py search --keyword <keyword> [--chain <chain>] [--limit 20]
Useful when the user gives a token name/symbol and you need to resolve it to a contract address.
Tokens from a specific launchpad or platform (e.g. pump.fun, fourmeme, bonk, nadfun).
python scripts/ave_client.py platform-tokens --platform <platform>
Common platforms: hot, new, meme, pump_in_hot, pump_in_new, fourmeme_in_hot, bonk_in_hot, nadfun_in_hot
Full list of ~90 values is enforced by the CLI (--help to list them).
Full data for a specific token: price, market cap, TVL, volume, supply, holders, DEX pairs.
python scripts/ave_client.py token --address <contract_address> --chain <chain>
Prices for up to 200 tokens at once.
python scripts/ave_client.py price --tokens <addr1>-<chain1> <addr2>-<chain2> ...
OHLCV price history. Use kline-token when you have a token address; use kline-pair when you have a pair address.
python scripts/ave_client.py kline-token --address <token> --chain <chain> \
[--interval <minutes>] [--size <count>]
python scripts/ave_client.py kline-pair --address <pair> --chain <chain> \
[--interval <minutes>] [--size <count>]
Valid intervals (minutes): 1 5 15 30 60 120 240 1440 4320 10080
Default: interval=60, size=24
Holder distribution for a token.
python scripts/ave_client.py holders --address <token> --chain <chain>
Recent swap history for a trading pair.
python scripts/ave_client.py txs --address <pair> --chain <chain>
Currently trending tokens on a specific chain.
python scripts/ave_client.py trending --chain <chain> [--page 0] [--page-size 20]
Token rankings for a topic category.
First, list available topics:
python scripts/ave_client.py rank-topics
Then get tokens for a topic:
python scripts/ave_client.py ranks --topic <topic>
Common topics: hot, meme, gainer, loser, new, ai, depin, gamefi, rwa,
eth, bsc, solana, base, arbitrum, optimism, avalanche
Security analysis: honeypot detection, buy/sell tax, ownership, liquidity lock.
python scripts/ave_client.py risk --address <token> --chain <chain>
This is useful before the user considers interacting with an unknown token.
Full list of supported chain identifiers.
python scripts/ave_client.py chains
The primary/native tokens for a given chain.
python scripts/ave_client.py main-tokens --chain <chain>
Real-time data streams require API_PLAN=pro and websocket-client installed (pip install -r scripts/requirements.txt).
Each event is printed as pretty-printed JSON followed by ---. Press Ctrl+C to stop.
Start a persistent WebSocket connection with an interactive command prompt:
docker run -it \
-e AVE_API_KEY="your_key" \
-e API_PLAN=pro \
ave-cloud wss-repl
Or locally (requires pip install -r scripts/requirements.txt):
API_PLAN=pro AVE_API_KEY="your_key" python scripts/ave_client.py wss-repl
Once connected, type commands at the > prompt. JSON events stream to stdout; UI messages go to stderr.
| Command | Description |
|---|---|
subscribe price <addr-chain> [...] | Live price updates for one or more tokens |
subscribe tx <pair> <chain> [tx|multi_tx|liq] | Swaps or liquidity events for a pair |
subscribe kline <pair> <chain> [interval] | Kline candle updates for a pair |
unsubscribe | Cancel current subscription |
help | Show command reference |
quit | Close connection and exit |
Example session:
> subscribe price 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2-eth
{...price event...}
---
> unsubscribe
> subscribe kline 0xabc-eth solana k5
{...kline event...}
---
> quit
python scripts/ave_client.py watch-tx --address <pair_address> --chain <chain> [--topic tx]
--topic choices: tx (swaps, default), multi_tx (batch swaps), liq (liquidity add/remove)
python scripts/ave_client.py watch-kline --address <pair_address> --chain <chain> [--interval k60]
--interval choices: s1 k1 k5 k15 k30 k60 k120 k240 k1440 k10080
python scripts/ave_client.py watch-price --tokens <addr1>-<chain1> [<addr2>-<chain2> ...]
Multiple token IDs can be provided space-separated.
When presenting results to the user:
wss-repl, remind the user to type quit or Ctrl+C to stopIf a chain identifier is unclear, run chains first to look it up.
See references/api-endpoints.md for the full endpoint reference with parameters and response fields.