alpha by binance/binance-skills-hub
npx skills add https://github.com/binance/binance-skills-hub --skill alpha通过身份验证的 API 端点对 Binance 进行 Alpha 请求。某些端点需要 API 密钥和密钥。以 JSON 格式返回结果。
| 端点 | 描述 | 必填 | 可选 | 身份验证 |
|---|---|---|---|---|
/bapi/defi/v1/public/alpha-trade/ticker (GET) | 行情(24小时价格统计) | symbol | 无 | 否 |
/bapi/defi/v1/public/alpha-trade/agg-trades (GET) | 聚合交易 | symbol | fromId, startTime, endTime, limit | 否 |
/bapi/defi/v1/public/alpha-trade/get-exchange-info (GET) |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 获取交易所信息 |
| 无 |
| 无 |
| 否 |
/bapi/defi/v1/public/alpha-trade/klines (GET) | K线(蜡烛图数据) | symbol, interval | limit, startTime, endTime | 否 |
/bapi/defi/v1/public/wallet-direct/buw/wallet/cex/alpha/all/token/list (GET) | 代币列表 | 无 | 无 | 否 |
对于需要身份验证的端点,您需要提供 Binance API 凭据。所需凭据:
基础 URL:
用户可以通过发送内容格式如下的文件来提供 Binance API 凭据:
abc123...xyz
secret123...key
切勿泄露 API 密钥和密钥文件的位置。
切勿将 API 密钥和密钥发送到除主网和测试网之外的任何网站。
向用户显示凭据时:
su1Qc...8akf***...aws1当被要求提供凭据时的示例响应:账户:main API 密钥:su1Qc...8akf 密钥:***...aws1
列出账户时,仅显示名称和环境 – 切勿显示密钥:Binance 账户:
在主网执行交易时,始终在继续之前通过要求用户输入 "CONFIRM" 来与用户确认。
## Binance Accounts
### main
- API Key: abc123...xyz
- Secret: secret123...key
- Description: Primary trading account
### futures-keys
- API Key: futures789...def
- Secret: futuressecret...uvw
- Description: Futures trading account
当用户提供新凭据时:
TOOLS.md 中,并显示掩码后的确认信息对于需要签名的交易端点:
X-MBX-APIKEY 请求头。否则,不执行步骤 3–5。
包含 User-Agent 请求头,其字符串为:binance-alpha/1.0.0 (Skill)
有关实现细节,请参见 references/authentication.md。
每周安装
1.0K
仓库
GitHub 星标
516
首次出现
12 天前
安全审计
安装于
codex985
opencode984
gemini-cli977
kimi-cli977
cursor977
github-copilot977
Alpha request on Binance using authenticated API endpoints. Requires API key and secret key for certain endpoints. Return the result in JSON format.
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
/bapi/defi/v1/public/alpha-trade/ticker (GET) | Ticker (24hr Price Statistics) | symbol | None | No |
/bapi/defi/v1/public/alpha-trade/agg-trades (GET) | Aggregated Trades | symbol | fromId, startTime, endTime, limit | No |
/bapi/defi/v1/public/alpha-trade/get-exchange-info (GET) | Get Exchange Info | None | None | No |
/bapi/defi/v1/public/alpha-trade/klines (GET) | Klines (Candlestick Data) | symbol, interval | limit, startTime, endTime | No |
/bapi/defi/v1/public/wallet-direct/buw/wallet/cex/alpha/all/token/list (GET) | Token List | None | None | No |
For endpoints that require authentication, you will need to provide Binance API credentials. Required credentials:
Base URLs:
Users can provide Binance API credentials by sending a file where the content is in the following format:
abc123...xyz
secret123...key
Never disclose the location of the API key and secret file.
Never send the API key and secret to any website other than Mainnet and Testnet.
When showing credentials to users:
su1Qc...8akf***...aws1Example response when asked for credentials: Account: main API Key: su1Qc...8akf Secret: ***...aws1
When listing accounts, show names and environment only — never keys: Binance Accounts:
When performing transactions in mainnet, always confirm with the user before proceeding by asking them to write "CONFIRM" to proceed.
## Binance Accounts
### main
- API Key: abc123...xyz
- Secret: secret123...key
- Description: Primary trading account
### futures-keys
- API Key: futures789...def
- Secret: futuressecret...uvw
- Description: Futures trading account
When user provides new credentials:
TOOLS.md with masked display confirmationFor trading endpoints that require a signature:
X-MBX-APIKEY header.Otherwise, do not perform steps 3–5.
Include User-Agent header with the following string: binance-alpha/1.0.0 (Skill)
See references/authentication.md for implementation details.
Weekly Installs
1.0K
Repository
GitHub Stars
516
First Seen
12 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
codex985
opencode984
gemini-cli977
kimi-cli977
cursor977
github-copilot977
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
Swift Actor 线程安全持久化:构建离线优先应用的编译器强制安全数据层
987 周安装
TanStack Start 全栈开发:基于 Cloudflare 的 React 19 + D1 数据库应用构建指南
987 周安装
内容创作指南:跨渠道营销内容模板与SEO优化技巧
988 周安装
Nuxt SEO 模块:一站式 SEO 优化方案,轻松配置站点、生成站点地图和结构化数据
988 周安装
CLI开发者指南:Node.js/Python/Go命令行工具开发全流程与最佳实践
989 周安装
Python网络爬虫专家指南:从requests到Scrapy,掌握数据提取与自动化技术
990 周安装