Binance代币信息

TermiX-official2026-10-25查看 1822复制 1225

Binance Web3 官方技能——在 BSC、Base 和 Solana 上搜索代币、获取元数据、实时市场数据和K线图。来源:github.com/binance/binance-skills-hub。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md3068 chars
---
name: binance-token-info
description: Binance Web3 official skill — search tokens, retrieve metadata, real-time market data, and candlestick charts across BSC, Base, and Solana. Sourced from github.com/binance/binance-skills-hub.
metadata: { "cryptoclaw": { "emoji": "🔍", "always": false } }
---

# Binance Token Info

Official Binance Web3 skill for querying token details, market data, and price charts.

> Source: [binance/binance-skills-hub](https://github.com/binance/binance-skills-hub/tree/main/skills/binance-web3/query-token-info)

## Supported Chains

| Chain  | chainId | K-Line platform |
| ------ | ------- | --------------- |
| BSC    | 56      | bsc             |
| Base   | 8453    | base            |
| Solana | CT_501  | solana          |

## API 1 — Token Search

Search tokens by name, symbol, or contract address.

```
GET https://web3.binance.com/bapi/defi/v1/public/wallet-direct/buw/wallet/token/search
  ?keyword=<name|symbol|address>
  &chainId=<chainId>          # optional, omit for all chains
  &sortBy=volume              # optional
  &page=1
  &pageSize=20
```

Response: token list with name, symbol, contract address, chain, price, volume.

## API 2 — Token Metadata

Static token information.

```
GET https://web3.binance.com/bapi/defi/v1/public/wallet-direct/buw/wallet/token/metadata
  ?contractAddress=<address>
  &chainId=<chainId>
```

Response includes:

- Name, symbol, logo URL
- Social links (website, Twitter, Telegram)
- Creator address
- Audit status
- Project description

## API 3 — Token Dynamic Data

Real-time market metrics.

```
GET https://web3.binance.com/bapi/defi/v1/public/wallet-direct/buw/wallet/token/dynamic
  ?contractAddress=<address>
  &chainId=<chainId>
```

Response includes:

- Current price (USD)
- 24h / 6h / 1h volume
- Market cap, fully diluted valuation
- Liquidity
- Holder count and distribution
- Transaction counts (buys/sells)
- Price change percentages across timeframes

## API 4 — K-Line Candlestick Data

OHLCV price chart data.

```
GET https://web3.binance.com/bapi/defi/v1/public/wallet-direct/buw/wallet/token/kline
  ?contractAddress=<address>
  &platform=<bsc|solana|base|eth>
  &interval=<interval>
  &limit=<count>
  &from=<timestamp_ms>        # optional, limit takes precedence
```

Supported intervals: `1s`, `1m`, `5m`, `15m`, `30m`, `1h`, `4h`, `1d`, `1w`, `1M`

Response is a 2D array per candle:

```
[open, high, low, close, volume, timestamp_ms, transaction_count]
```

## Notes

- All numeric values are returned as strings — convert before calculations
- Logo URLs require prefix: `https://bin.bnbstatic.com`
- `limit` parameter takes precedence over `from` in K-Line requests

## Usage Examples

```
User: Find the token PEPE on BSC
→ GET Token Search, keyword:PEPE, chainId:56

User: What is the current price and market cap of <contract>?
→ GET Token Dynamic Data

User: Show me the 4h chart for <contract> on Solana
→ GET K-Line, platform:solana, interval:4h, limit:100

User: Who created this token and does it have social links?
→ GET Token Metadata
```
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧