query-token-info
它能做什么
这个技能查找加密代币,并返回社交链接、当前价格、成交量和价格历史等详细信息。适合研究某个代币的人。
适用场景
- ✓当你想通过名称、符号或合约地址查找代币的时候。
- ✓当你想立即查看代币的价格、成交量、持有人数或流动性的时候。
- ✓当你需要 K 线图数据进行技术分析的时候。
技能链接
https://github.com/ccxt/ccxt/blob/master/.agents/skills/query-token-info/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这个代币在 Base 上当前的价格和 24 小时成交量是多少?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会在四个查询命令中选择一个:search、meta、dynamic 或 kline。它发送请求,并总结结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Query Token Info Skill
Overview
Four read-only token endpoints fronted by one CLI. The agent picks a subcommand and passes a JSON blob; with this skill user can:
Search Tokens: Find tokens by name, symbol, or contract address across chains. Token Research: Get token metadata, social links, and creator info. Market Analysis: Real-time price, volume, holder distribution, and liquidity data. Chart Analysis: K-Line candlestick data for technical analysis.
When to Use This Skill
| User intent | Command |
|---|---|
| Search a token by keyword, symbol, or contract address | search |
| Get static metadata (name, symbol, logo, social links, creator) | meta |
| Get real-time market data (price, volume, holders, liquidity) | dynamic |
| Get candlestick chart / OHLCV data | kline |
Supported Chains
| Chain | chainId |
|---|---|
| Ethereum | 1 |
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
All four commands (search, meta, dynamic, kline) use the same chainId values.
How to Call APIs
node <skill-dir>/scripts/cli.mjs <command> '<json_params>'
Example:
node <skill-dir>/scripts/cli.mjs search '{"keyword":"<keyword>","chainIds":"56"}'
Commands
| Command | Purpose | Required args | Example |
|---|---|---|---|
search |
Search tokens by keyword | keyword (optional: chainIds, orderBy) |
node <skill-dir>/scripts/cli.mjs search '{"keyword":"<keyword>","chainIds":"1,56,8453,CT_501"}' |
meta |
Static token metadata | chainId, contractAddress |
node <skill-dir>/scripts/cli.mjs meta '{"chainId":"56","contractAddress":"0x..."}' |
dynamic |
Real-time market data | chainId, contractAddress |
node <skill-dir>/scripts/cli.mjs dynamic '{"chainId":"56","contractAddress":"0x..."}' |
kline |
Candlestick data | chainId, contractAddress, interval (optional: limit, from, to, pm) |
node <skill-dir>/scripts/cli.mjs kline '{"chainId":"56","contractAddress":"0x...","interval":"1min","limit":500}' |
Rules
- Icon URL:
iconfields are relative paths. Prependhttps://bin.bnbstatic.comfor a usable URL. - Numbers as strings: All numeric market fields (
price,volume24h,marketCap, etc.) are returned as strings. Convert before arithmetic. - Kline is a 2D array, not JSON objects. Each candle:
[open, high, low, close, volume, timestamp_ms, count]. - Kline time window:
limittakes priority overfromwhen both are provided. Usetowithlimitto fetch the N most recent candles ending atto.pmselects price (p, default) or market-cap (m) series. - Intervals supported by
kline:1s,1min,3min,5min,15min,30min,1h,2h,4h,6h,8h,12h,1d,3d,1w,1m.
Full CLI Reference
See references/cli.md for per-subcommand invocations, parameter tables, return-field tables, and real response samples.
常见问题
支持哪些链?
支持 Ethereum、BSC、Base 和 Solana,四个命令都使用相同的链 ID。
meta 命令返回什么?
它返回名称、符号、图标、社交链接、创建者和官方网站等静态信息。
kline 命令返回什么?
它返回用于技术分析的 OHLCV K 线数据。
详情
作者的原始描述
Per-token details for a specific token identified by keyword, symbol, or contract address: (1) search — find tokens by keyword/symbol/contract; (2) meta — static info: name, symbol, logo, social links, creator, official website; (3) dynamic — real-time market data: price, 24h change, volume, holder count, liquidity; (4) kline — OHLCV candlestick data for technical analysis. Use for: "price of $X", "search for token Y", "kline chart for $Z", "who created $W", "social links for $V", "holder count of $U", "candlestick data", "find the contract address of <token>".
repo: ccxt/ccxt
热度
- GitHub 星标
- 45k
- 排名
- #6376
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
binance-agentic-wallet
45k帮你的智能体通过 baw 命令行管理 Binance Web3 钱包,包括登录、查询余额、转账、代币兑换和限价订单。
binance-sports-ai-analyzer
45k帮你的智能体查询世界杯比赛的预测、AI 分析和新闻洞察,并在你调整信号后重新计算胜率。
binance-tokenized-securities-info
45k帮你的智能体在 Binance Web3 上查询 Ondo 代币化美股,包括代币列表、公司信息、交易状态和链上价格。
binance
45k帮你的智能体通过 binance-cli 工具使用 Binance 现货、USD-M 合约和 Convert 功能。使用前需先完成身份验证设置。