返回顶部
b

binance-web3-openapi-skill币安Web3开放API技能

Operate Binance Web3 public market and research APIs through UXC with a curated OpenAPI schema. Use when tasks need token search, token metadata/market snapshots, address holdings, rankings, token audit, or smart money signals on Binance Web3.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
287
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

binance-web3-openapi-skill

Binance Web3 API 技能

使用此技能通过 uxc + OpenAPI 运行 Binance Web3 公共读取操作。

复用 uxc 技能以共享执行和错误处理指导。

前提条件

  • - uxc 已安装并可在 PATH 中使用。
  • 可访问 https://web3.binance.com 网络。
  • 可访问精选的 OpenAPI 模式 URL:
- https://raw.githubusercontent.com/holon-run/uxc/main/skills/binance-web3-openapi-skill/references/binance-web3.openapi.json

范围

此技能涵盖 web3.binance.com 的公共端点,用于:

  • - 代币搜索
  • 代币元数据
  • 代币市场快照
  • 地址持仓
  • 代币安全审计
  • 社交热度排行榜
  • 统一代币排名
  • Meme 热潮排名
  • 聪明钱信号

此技能涵盖:

  • - Binance 现货/账户交易 API
  • Binance 广场发帖
  • 托管在 https://dquery.sintral.io 上的 K 线数据

认证

大多数操作是公开的,不需要 API 凭证。

核心工作流程

  1. 1. 默认使用固定链接命令:
- command -v binance-web3-openapi-cli - 如果缺失,则创建: uxc link binance-web3-openapi-cli https://web3.binance.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/binance-web3-openapi-skill/references/binance-web3.openapi.json - binance-web3-openapi-cli -h
  1. 2. 首先检查操作模式:
- binance-web3-openapi-cli get:/bapi/defi/v5/public/wallet-direct/buw/wallet/market/token/search -h - binance-web3-openapi-cli post:/bapi/defi/v1/public/wallet-direct/security/token/audit -h
  1. 3. 执行操作:
- 键/值形式: binance-web3-openapi-cli get:/bapi/defi/v5/public/wallet-direct/buw/wallet/market/token/search keyword=bnb chainIds=56 orderBy=volume24h - 位置 JSON 形式: binance-web3-openapi-cli post:/bapi/defi/v1/public/wallet-direct/buw/wallet/market/token/pulse/unified/rank/list {rankType:10,chainId:56,period:50,page:1,size:20}

操作分组

代币发现与市场快照

  • - 搜索代币:
- get:/bapi/defi/v5/public/wallet-direct/buw/wallet/market/token/search
  • - 获取代币元数据:
- get:/bapi/defi/v1/public/wallet-direct/buw/wallet/dex/market/token/meta/info
  • - 获取代币市场数据:
- get:/bapi/defi/v4/public/wallet-direct/buw/wallet/market/token/dynamic/info

排名与信号

  • - 社交热度排行榜:
- get:/bapi/defi/v1/public/wallet-direct/buw/wallet/market/token/pulse/social/hype/rank/leaderboard
  • - 统一代币排名:
- post:/bapi/defi/v1/public/wallet-direct/buw/wallet/market/token/pulse/unified/rank/list
  • - Meme 热潮排名:
- post:/bapi/defi/v1/public/wallet-direct/buw/wallet/market/token/pulse/rank/list
  • - 聪明钱信号:
- post:/bapi/defi/v1/public/wallet-direct/buw/wallet/web/signal/smart-money

研究

  • - 地址持仓:
- get:/bapi/defi/v3/public/wallet-direct/buw/wallet/address/pnl/active-position-list
  • - 代币审计:
- post:/bapi/defi/v1/public/wallet-direct/security/token/audit

安全护栏

  • - 保持自动化在 JSON 输出信封上;不要使用 --text。
  • 首先解析稳定的信封字段:ok、kind、protocol、data、error。
  • Binance Web3 响应通常将负载包装为 code、message、success、data;将 code == 000000 视为成功。
  • audit 需要 UUID v4 格式的 requestId;为每个请求生成新的 ID,而不是复用旧 ID。
  • 地址持仓需要操作级别的请求头 clienttype=web 和 clientversion=1.2.0;将其限定在该操作范围内,而不是全局注入。
  • 对于非字符串对象,优先使用位置 JSON,而不是将复杂过滤器展平为多个 key=value 参数。
  • binance-web3-openapi-cli ... 等同于 uxc https://web3.binance.com --schema-url web3openapi_schema> ...。

参考资料

  • - 使用模式:references/usage-patterns.md
  • 精选 OpenAPI 模式:references/binance-web3.openapi.json
  • Binance 技能中心源材料:https://github.com/binance/binance-skills-hub/tree/main/skills/binance-web3

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 binance-web3-openapi-skill-1776185432 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 binance-web3-openapi-skill-1776185432 技能

通过命令行安装

skillhub install binance-web3-openapi-skill-1776185432

下载

⬇ 下载 binance-web3-openapi-skill v1.0.0(免费)

文件大小: 7.69 KB | 发布时间: 2026-4-15 13:44

v1.0.0 最新 2026-4-15 13:44
- Initial release of binance-web3-openapi-skill.
- Enables public read access to Binance Web3 market and research APIs via UXC and a curated OpenAPI schema.
- Supports token search, metadata, market snapshots, rankings, smart money signals, token audit, and address holdings.
- Provides CLI core workflow, usage examples, and guardrails for interacting with the APIs.
- No authentication required for most operations; some endpoints require specific headers or generated IDs.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部