Index of every page on this site: llms.txt
All skills
binance avatar

/query-token-info

@7d1b1f7
by binancebinance/binance-skills-hub1.2k stars
281
Run it yourself

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>".

Use this Skill: https://skilld.dev/gh/binance/binance-skills-hub/query-token-info

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈148 tokens for metadata: the name and description. ≈751 when used: this file. ≈1.2k more on demand in 1 file.

Description uses 7.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈586 characters, or 7.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides utility for querying token information, market data, and technical charts via Binance and Sintral data services. It uses a self-contained Node.js script to perform read-only API calls. No security issues or malicious patterns were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 2 issues

  • Runlayer8mo

    1 file scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 7d1b1f7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 6 months ago
metadata
{
  "author": "binance-web3-team",
  "version": "2.0"
}
  • binance
  • token
  • search
  • metadata
  • market-data
  • price
  • kline
  • blockchain
  • ethereum
  • solana

README badge

README badge for binance/binance-skills-hub/query-token-info

Retrieves token metadata, real-time market data, and candlestick charts across Ethereum, BSC, Base, and Solana via four CLI commands: search tokens by keyword or address, fetch static info like name and social links, pull live price and volume data, and query OHLCV candlestick data for technical analysis.

Generated from the current SKILL.md.

What chains does this skill support?
Ethereum, BSC, Base, and Solana. Each chain has a chainId value (1, 56, 8453, CT_501 respectively) that you pass to the commands.
Can I search tokens across multiple chains at once?
Yes. The `search` command accepts a comma-separated list of chainIds, e.g. `chainIds: "1,56,8453,CT_501"` to search all supported chains in one call.
What time intervals does the kline command support?
1s, 1min, 3min, 5min, 15min, 30min, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, and 1m.
Are numeric values like price and volume returned as numbers or strings?
All numeric market fields are returned as strings, so you must convert them before doing arithmetic.
How is icon URL data provided?
Icon fields are relative paths. Prepend `https://bin.bnbstatic.com` to make them usable.

Generated from the current SKILL.md. These answers refresh after source changes.