PluginBench
Skill
Review
Audit score 70

query-token-info

binance/binance-skills-hub

Search tokens and fetch real-time price, metadata, and candlestick data across Ethereum, BSC, Base, and Solana.

What is query-token-info?

Query token information by keyword, symbol, or contract address. Retrieve static metadata (name, logo, social links, creator), real-time market data (price, volume, holders, liquidity), and OHLCV candlestick charts for technical analysis across four major blockchains.

  • Search tokens by keyword, symbol, or contract address across multiple chains
  • Fetch static token metadata including name, symbol, logo, social links, and creator info
  • Get real-time market data: price, 24h change, volume, holder count, and liquidity
  • Retrieve OHLCV candlestick data for technical analysis with customizable intervals and time windows

How to install query-token-info

npx skills add https://github.com/binance/binance-skills-hub --skill query-token-info
Prerequisites
  • Node.js installed
  • Access to Binance token data APIs
Claude Code
Cursor
Windsurf
Cline

How to use query-token-info

  1. 1.Install the skill using: npx skills add https://github.com/binance/binance-skills-hub --skill query-token-info
  2. 2.Use the search command to find tokens: node <skill-dir>/scripts/cli.mjs search '{"keyword":"<token-name>","chainIds":"56"}'
  3. 3.Call meta command with chainId and contractAddress to get token metadata
  4. 4.Call dynamic command with chainId and contractAddress to fetch real-time market data
  5. 5.Call kline command with chainId, contractAddress, and interval to get candlestick data for charting

Use cases

Good for
  • Find token contract addresses and basic info by searching for token name or symbol
  • Monitor real-time token prices and 24-hour trading volume for market analysis
  • Analyze token price movements using candlestick charts with intervals from 1 second to 1 month
  • Research token creators and social media links for due diligence
  • Track holder distribution and liquidity metrics for token evaluation
Who it's for
  • Crypto traders and investors researching tokens
  • DeFi analysts performing technical and fundamental analysis
  • Token discovery and due diligence workflows
  • Market monitoring and price tracking applications

query-token-info FAQ

Which blockchains are supported?

Ethereum (chainId: 1), BSC (56), Base (8453), and Solana (CT_501).

How do I convert icon URLs to usable links?

Prepend https://bin.bnbstatic.com to the relative icon path returned by the API.

Are numeric values returned as numbers or strings?

All numeric market fields (price, volume, marketCap, etc.) are returned as strings and must be converted before arithmetic operations.

What candlestick intervals are available?

Supported intervals are: 1s, 1min, 3min, 5min, 15min, 30min, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1m.

How does the kline limit parameter work?

The limit parameter takes priority over from when both are provided. Use limit with to to fetch the N most recent candles ending at a specific timestamp.

Full instructions (SKILL.md)

Source of truth, from binance/binance-skills-hub.


name: query-token-info description: | 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>". metadata: author: binance-web3-team version: "2.0"

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 intentCommand
Search a token by keyword, symbol, or contract addresssearch
Get static metadata (name, symbol, logo, social links, creator)meta
Get real-time market data (price, volume, holders, liquidity)dynamic
Get candlestick chart / OHLCV datakline

Supported Chains

ChainchainId
Ethereum1
BSC56
Base8453
SolanaCT_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

CommandPurposeRequired argsExample
searchSearch tokens by keywordkeyword (optional: chainIds, orderBy)node <skill-dir>/scripts/cli.mjs search '{"keyword":"<keyword>","chainIds":"1,56,8453,CT_501"}'
metaStatic token metadatachainId, contractAddressnode <skill-dir>/scripts/cli.mjs meta '{"chainId":"56","contractAddress":"0x..."}'
dynamicReal-time market datachainId, contractAddressnode <skill-dir>/scripts/cli.mjs dynamic '{"chainId":"56","contractAddress":"0x..."}'
klineCandlestick datachainId, 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.