Agent Skillsccxt/ccxt › query-token-info

query-token-info

GitHub

提供代币搜索、元数据查询、实时行情及K线数据分析功能,支持多链。适用于获取代币价格、持有者数量、合约地址及图表数据等金融信息需求。

.agents/skills/query-token-info/SKILL.md ccxt/ccxt

Trigger Scenarios

查询代币价格或市值 搜索代币名称或合约地址 获取代币社交链接或创建者信息 查看K线图或OHLCV数据

Install

npx skills add ccxt/ccxt --skill query-token-info -g -y
More Options

Non-standard path

npx skills add https://github.com/ccxt/ccxt/tree/master/.agents/skills/query-token-info -g -y

Use without installing

npx skills use ccxt/ccxt@query-token-info

指定 Agent (Claude Code)

npx skills add ccxt/ccxt --skill query-token-info -a claude-code -g -y

安装 repo 全部 skill

npx skills add ccxt/ccxt --all -g -y

预览 repo 内 skill

npx skills add ccxt/ccxt --list

SKILL.md

Frontmatter
{
    "name": "query-token-info",
    "metadata": {
        "author": "binance-web3-team",
        "version": "2.0"
    },
    "description": "Per-token details for a specific token identified by keyword, symbol, or contract address:\n(1) search — find tokens by keyword\/symbol\/contract;\n(2) meta — static info: name, symbol, logo, social links, creator, official website;\n(3) dynamic — real-time market data: price, 24h change, volume, holder count, liquidity;\n(4) kline — OHLCV candlestick data for technical analysis.\nUse for: \"price of $X\", \"search for token Y\", \"kline chart for $Z\", \"who created $W\",\n\"social links for $V\", \"holder count of $U\", \"candlestick data\", \"find the contract address of <token>\".\n"
}

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: icon fields are relative paths. Prepend https://bin.bnbstatic.com for 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: limit takes priority over from when both are provided. Use to with limit to fetch the N most recent candles ending at to. pm selects 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.

Version History

  • 5248956 Current 2026-08-20 07:44

Same Skill Collection

.agents/skills/binance-sports-ai-analyzer/SKILL.md
.agents/skills/binance/SKILL.md
.agents/skills/fiat/SKILL.md
.agents/skills/query-address-info/SKILL.md
.agents/skills/query-token-audit/SKILL.md
.agents/skills/trading-signal/SKILL.md
.claude/skills/ccxt-csharp/SKILL.md
.claude/skills/ccxt-go/SKILL.md
.claude/skills/ccxt-java/SKILL.md
.claude/skills/ccxt-php/SKILL.md
.claude/skills/ccxt-python/SKILL.md
.claude/skills/ccxt-typescript/SKILL.md
.claude/skills/new-exchange/SKILL.md
.agents/skills/binance-agentic-wallet/SKILL.md
.agents/skills/binance-tokenized-securities-info/SKILL.md
.agents/skills/crypto-market-rank/SKILL.md
.agents/skills/meme-rush/SKILL.md
.agents/skills/onchain-pay-open-api/SKILL.md
.agents/skills/p2p/SKILL.md
.agents/skills/payment-assistant/SKILL.md
.agents/skills/square-post/SKILL.md
.claude/skills/ccxt-cli/SKILL.md

Metadata

Files
0
Version
5248956
Hash
5883e006
Indexed
2026-08-20 07:44

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 00:56
浙ICP备14020137号-1 $mapa de visitantes$