simple-earn by binance/binance-skills-hub
npx skills add https://github.com/binance/binance-skills-hub --skill simple-earn通过认证的 API 端点进行币安 Simple-earn 请求。某些端点需要 API 密钥和密钥。以 JSON 格式返回结果。
| 端点 | 描述 | 必填参数 | 可选参数 | 认证要求 |
|---|---|---|---|---|
/sapi/v1/bfusd/account (GET) | 获取 BFUSD 账户 (USER_DATA) | 无 | recvWindow | 是 |
/sapi/v1/bfusd/quota (GET) | 获取 BFUSD 额度详情 (USER_DATA) | 无 | recvWindow | 是 |
/sapi/v1/bfusd/redeem (POST) | 赎回 BFUSD (TRADE) |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| amount, type |
| recvWindow |
| 是 |
/sapi/v1/bfusd/subscribe (POST) | 申购 BFUSD (TRADE) | asset, amount | recvWindow | 是 |
/sapi/v1/bfusd/history/rateHistory (GET) | 获取 BFUSD 利率历史 (USER_DATA) | 无 | startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/bfusd/history/redemptionHistory (GET) | 获取 BFUSD 赎回历史 (USER_DATA) | 无 | startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/bfusd/history/rewardsHistory (GET) | 获取 BFUSD 奖励历史 (USER_DATA) | 无 | startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/bfusd/history/subscriptionHistory (GET) | 获取 BFUSD 申购历史 (USER_DATA) | 无 | asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/personalLeftQuota (GET) | 获取灵活产品个人剩余额度 (USER_DATA) | productId | recvWindow | 是 |
/sapi/v1/simple-earn/flexible/position (GET) | 获取灵活产品持仓 (USER_DATA) | 无 | asset, productId, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/locked/personalLeftQuota (GET) | 获取定期产品个人剩余额度 (USER_DATA) | projectId | recvWindow | 是 |
/sapi/v1/simple-earn/locked/position (GET) | 获取定期产品持仓 | 无 | asset, positionId, projectId, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/list (GET) | 获取 Simple Earn 灵活产品列表 (USER_DATA) | 无 | asset, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/locked/list (GET) | 获取 Simple Earn 定期产品列表 (USER_DATA) | 无 | asset, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/account (GET) | Simple 账户 (USER_DATA) | 无 | recvWindow | 是 |
/sapi/v1/simple-earn/flexible/subscriptionPreview (GET) | 获取灵活产品申购预览 (USER_DATA) | productId, amount | recvWindow | 是 |
/sapi/v1/simple-earn/locked/subscriptionPreview (GET) | 获取定期产品申购预览 (USER_DATA) | projectId, amount | autoSubscribe, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/redeem (POST) | 赎回灵活产品 (TRADE) | productId | redeemAll, amount, destAccount, recvWindow | 是 |
/sapi/v1/simple-earn/locked/redeem (POST) | 赎回定期产品 (TRADE) | positionId | recvWindow | 是 |
/sapi/v1/simple-earn/flexible/setAutoSubscribe (POST) | 设置灵活产品自动申购 (USER_DATA) | productId, autoSubscribe | recvWindow | 是 |
/sapi/v1/simple-earn/locked/setAutoSubscribe (POST) | 设置定期产品自动申购 (USER_DATA) | positionId, autoSubscribe | recvWindow | 是 |
/sapi/v1/simple-earn/locked/setRedeemOption (POST) | 设置定期产品赎回选项 (USER_DATA) | positionId, redeemTo | recvWindow | 是 |
/sapi/v1/simple-earn/flexible/subscribe (POST) | 申购灵活产品 (TRADE) | productId, amount | autoSubscribe, sourceAccount, recvWindow | 是 |
/sapi/v1/simple-earn/locked/subscribe (POST) | 申购定期产品 (TRADE) | projectId, amount | autoSubscribe, sourceAccount, redeemTo, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/history/collateralRecord (GET) | 获取抵押记录 (USER_DATA) | 无 | productId, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/history/redemptionRecord (GET) | 获取灵活产品赎回记录 (USER_DATA) | 无 | productId, redeemId, asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/history/rewardsRecord (GET) | 获取灵活产品奖励历史 (USER_DATA) | type | productId, asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/history/subscriptionRecord (GET) | 获取灵活产品申购记录 (USER_DATA) | 无 | productId, purchaseId, asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/locked/history/redemptionRecord (GET) | 获取定期产品赎回记录 (USER_DATA) | 无 | positionId, redeemId, asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/locked/history/rewardsRecord (GET) | 获取定期产品奖励历史 (USER_DATA) | 无 | positionId, asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/locked/history/subscriptionRecord (GET) | 获取定期产品申购记录 (USER_DATA) | 无 | purchaseId, asset, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/simple-earn/flexible/history/rateHistory (GET) | 获取利率历史 (USER_DATA) | productId | aprPeriod, startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/rwusd/quota (GET) | 获取 RWUSD 额度详情 (USER_DATA) | 无 | recvWindow | 是 |
/sapi/v1/rwusd/account (GET) | 获取 RWUSD 账户 (USER_DATA) | 无 | recvWindow | 是 |
/sapi/v1/rwusd/redeem (POST) | 赎回 RWUSD (TRADE) | amount, type | recvWindow | 是 |
/sapi/v1/rwusd/subscribe (POST) | 申购 RWUSD (TRADE) | asset, amount | recvWindow | 是 |
/sapi/v1/rwusd/history/rateHistory (GET) | 获取 RWUSD 利率历史 (USER_DATA) | 无 | startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/rwusd/history/redemptionHistory (GET) | 获取 RWUSD 赎回历史 (USER_DATA) | 无 | startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/rwusd/history/rewardsHistory (GET) | 获取 RWUSD 奖励历史 (USER_DATA) | 无 | startTime, endTime, current, size, recvWindow | 是 |
/sapi/v1/rwusd/history/subscriptionHistory (GET) | 获取 RWUSD 申购历史 (USER_DATA) | 无 | asset, startTime, endTime, current, size, recvWindow | 是 |
SPOT、FUND,默认 SPOT (例如:SPOT)SPOT、'FLEXIBLE'SPOT、FUND、ALL,默认 SPOT (例如:SPOT)SPOT、FLEXIBLE,默认 SPOT (例如:SPOT)对于需要认证的端点,您需要提供币安 API 凭证。所需凭证:
基础 URL:
用户可以通过发送文件来提供币安 API 凭证,文件内容格式如下:
abc123...xyz
secret123...key
切勿泄露 API 密钥和密钥文件的位置。
切勿将 API 密钥和密钥发送给主网和测试网以外的任何网站。
向用户显示凭证时:
su1Qc...8akf***...aws1请求凭证时的示例响应:账户:main API 密钥:su1Qc...8akf 密钥:***...aws1
列出账户时,仅显示名称和环境 — 切勿显示密钥:币安账户:
在主网执行交易时,务必在继续之前向用户确认,要求他们输入 "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-simple-earn/1.0.0 (Skill)
有关实现细节,请参阅 references/authentication.md。
每周安装量
221
代码仓库
GitHub 星标数
516
首次出现
4 天前
安全审计
已安装于
codex210
opencode210
gemini-cli208
github-copilot208
kimi-cli208
cursor208
Simple-earn 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 |
|---|---|---|---|---|
/sapi/v1/bfusd/account (GET) | Get BFUSD Account (USER_DATA) | None | recvWindow | Yes |
/sapi/v1/bfusd/quota (GET) | Get BFUSD Quota Details (USER_DATA) | None | recvWindow | Yes |
/sapi/v1/bfusd/redeem (POST) | Redeem BFUSD(TRADE) | amount, type | recvWindow | Yes |
/sapi/v1/bfusd/subscribe (POST) | Subscribe BFUSD(TRADE) | asset, amount | recvWindow | Yes |
/sapi/v1/bfusd/history/rateHistory (GET) | Get BFUSD Rate History (USER_DATA) | None | startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/bfusd/history/redemptionHistory (GET) | Get BFUSD Redemption History (USER_DATA) | None | startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/bfusd/history/rewardsHistory (GET) | Get BFUSD Rewards History (USER_DATA) | None | startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/bfusd/history/subscriptionHistory (GET) | Get BFUSD subscription history(USER_DATA) | None | asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/personalLeftQuota (GET) | Get Flexible Personal Left Quota(USER_DATA) | productId | recvWindow | Yes |
/sapi/v1/simple-earn/flexible/position (GET) | Get Flexible Product Position(USER_DATA) | None | asset, productId, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/locked/personalLeftQuota (GET) | Get Locked Personal Left Quota(USER_DATA) | projectId | recvWindow | Yes |
/sapi/v1/simple-earn/locked/position (GET) | Get Locked Product Position | None | asset, positionId, projectId, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/list (GET) | Get Simple Earn Flexible Product List(USER_DATA) | None | asset, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/locked/list (GET) | Get Simple Earn Locked Product List(USER_DATA) | None | asset, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/account (GET) | Simple Account(USER_DATA) | None | recvWindow | Yes |
/sapi/v1/simple-earn/flexible/subscriptionPreview (GET) | Get Flexible Subscription Preview(USER_DATA) | productId, amount | recvWindow | Yes |
/sapi/v1/simple-earn/locked/subscriptionPreview (GET) | Get Locked Subscription Preview(USER_DATA) | projectId, amount | autoSubscribe, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/redeem (POST) | Redeem Flexible Product(TRADE) | productId | redeemAll, amount, destAccount, recvWindow | Yes |
/sapi/v1/simple-earn/locked/redeem (POST) | Redeem Locked Product(TRADE) | positionId | recvWindow | Yes |
/sapi/v1/simple-earn/flexible/setAutoSubscribe (POST) | Set Flexible Auto Subscribe(USER_DATA) | productId, autoSubscribe | recvWindow | Yes |
/sapi/v1/simple-earn/locked/setAutoSubscribe (POST) | Set Locked Auto Subscribe(USER_DATA) | positionId, autoSubscribe | recvWindow | Yes |
/sapi/v1/simple-earn/locked/setRedeemOption (POST) | Set Locked Product Redeem Option(USER_DATA) | positionId, redeemTo | recvWindow | Yes |
/sapi/v1/simple-earn/flexible/subscribe (POST) | Subscribe Flexible Product(TRADE) | productId, amount | autoSubscribe, sourceAccount, recvWindow | Yes |
/sapi/v1/simple-earn/locked/subscribe (POST) | Subscribe Locked Product(TRADE) | projectId, amount | autoSubscribe, sourceAccount, redeemTo, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/history/collateralRecord (GET) | Get Collateral Record(USER_DATA) | None | productId, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/history/redemptionRecord (GET) | Get Flexible Redemption Record(USER_DATA) | None | productId, redeemId, asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/history/rewardsRecord (GET) | Get Flexible Rewards History(USER_DATA) | type | productId, asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/history/subscriptionRecord (GET) | Get Flexible Subscription Record(USER_DATA) | None | productId, purchaseId, asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/locked/history/redemptionRecord (GET) | Get Locked Redemption Record(USER_DATA) | None | positionId, redeemId, asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/locked/history/rewardsRecord (GET) | Get Locked Rewards History(USER_DATA) | None | positionId, asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/locked/history/subscriptionRecord (GET) | Get Locked Subscription Record(USER_DATA) | None | purchaseId, asset, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/simple-earn/flexible/history/rateHistory (GET) | Get Rate History(USER_DATA) | productId | aprPeriod, startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/rwusd/quota (GET) | Get RWUSD Quota Details (USER_DATA) | None | recvWindow | Yes |
/sapi/v1/rwusd/account (GET) | Get RWUSD Account (USER_DATA) | None | recvWindow | Yes |
/sapi/v1/rwusd/redeem (POST) | Redeem RWUSD(TRADE) | amount, type | recvWindow | Yes |
/sapi/v1/rwusd/subscribe (POST) | Subscribe RWUSD(TRADE) | asset, amount | recvWindow | Yes |
/sapi/v1/rwusd/history/rateHistory (GET) | Get RWUSD Rate History (USER_DATA) | None | startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/rwusd/history/redemptionHistory (GET) | Get RWUSD Redemption History (USER_DATA) | None | startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/rwusd/history/rewardsHistory (GET) | Get RWUSD Rewards History (USER_DATA) | None | startTime, endTime, current, size, recvWindow | Yes |
/sapi/v1/rwusd/history/subscriptionHistory (GET) | Get RWUSD subscription history(USER_DATA) | None | asset, startTime, endTime, current, size, recvWindow | Yes |
SPOT,FUND, default SPOT (e.g., SPOT)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-simple-earn/1.0.0 (Skill)
See references/authentication.md for implementation details.
Weekly Installs
221
Repository
GitHub Stars
516
First Seen
4 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
codex210
opencode210
gemini-cli208
github-copilot208
kimi-cli208
cursor208
飞书OpenAPI Explorer:探索和调用未封装的飞书原生API接口
23,400 周安装
SPOT,'FLEXIBLE'SPOT,FUND,ALL, default SPOT (e.g., SPOT)SPOT,FLEXIBLE, default SPOT (e.g., SPOT)