vip-loan by binance/binance-skills-hub
npx skills add https://github.com/binance/binance-skills-hub --skill vip-loan通过认证的 API 端点进行 Binance VIP 借贷请求。某些端点需要 API 密钥和密钥。以 JSON 格式返回结果。
| 端点 | 描述 | 必需参数 | 可选参数 | 认证要求 |
|---|---|---|---|---|
/sapi/v1/loan/vip/request/interestRate (GET) | 获取借贷利率(USER_DATA) | loanCoin | recvWindow | 是 |
/sapi/v1/loan/vip/collateral/data (GET) | 获取抵押资产数据(USER_DATA) | 无 | collateralCoin, recvWindow | 是 |
/sapi/v1/loan/vip/loanable/data (GET) |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 获取可借贷资产数据(USER_DATA) |
| 无 |
| loanCoin, vipLevel, recvWindow |
| 是 |
/sapi/v1/loan/vip/interestRateHistory (GET) | 获取 VIP 借贷利率历史 (USER_DATA) | coin, recvWindow | startTime, endTime, current, limit | 是 |
/sapi/v1/loan/vip/borrow (POST) | VIP 借贷(TRADE) | loanAccountId, loanCoin, loanAmount, collateralAccountId, collateralCoin, isFlexibleRate | loanTerm, recvWindow | 是 |
/sapi/v1/loan/vip/renew (POST) | VIP 借贷续期(TRADE) | orderId, loanTerm | recvWindow | 是 |
/sapi/v1/loan/vip/repay (POST) | VIP 借贷还款(TRADE) | orderId, amount | recvWindow | 是 |
/sapi/v1/loan/vip/collateral/account (GET) | 检查 VIP 借贷抵押账户 (USER_DATA) | 无 | orderId, collateralAccountId, recvWindow | 是 |
/sapi/v1/loan/vip/accruedInterest (GET) | 获取 VIP 借贷应计利息 (USER_DATA) | 无 | orderId, loanCoin, startTime, endTime, current, limit, recvWindow | 是 |
/sapi/v1/loan/vip/ongoing/orders (GET) | 获取 VIP 借贷进行中订单(USER_DATA) | 无 | orderId, collateralAccountId, loanCoin, collateralCoin, current, limit, recvWindow | 是 |
/sapi/v1/loan/vip/request/data (GET) | 查询申请状态(USER_DATA) | 无 | current, limit, recvWindow | 是 |
, 分隔 (例如:1), 分隔对于需要认证的端点,您需要提供 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-vip-loan/1.0.0 (Skill)
有关实现细节,请参阅 references/authentication.md。
每周安装次数
209
代码仓库
GitHub Stars
516
首次出现
4 天前
安全审计
安装于
codex198
opencode198
gemini-cli196
github-copilot196
kimi-cli196
amp196
Vip-loan 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/loan/vip/request/interestRate (GET) | Get Borrow Interest Rate(USER_DATA) | loanCoin | recvWindow | Yes |
/sapi/v1/loan/vip/collateral/data (GET) | Get Collateral Asset Data(USER_DATA) | None | collateralCoin, recvWindow | Yes |
/sapi/v1/loan/vip/loanable/data (GET) | Get Loanable Assets Data(USER_DATA) | None | loanCoin, vipLevel, recvWindow | Yes |
/sapi/v1/loan/vip/interestRateHistory (GET) | Get VIP Loan Interest Rate History (USER_DATA) | coin, recvWindow | startTime, endTime, current, limit | Yes |
/sapi/v1/loan/vip/borrow (POST) | VIP Loan Borrow(TRADE) | loanAccountId, loanCoin, loanAmount, collateralAccountId, collateralCoin, isFlexibleRate | loanTerm, recvWindow | Yes |
/sapi/v1/loan/vip/renew (POST) | VIP Loan Renew(TRADE) | orderId, loanTerm | recvWindow | Yes |
/sapi/v1/loan/vip/repay (POST) | VIP Loan Repay(TRADE) | orderId, amount | recvWindow | Yes |
/sapi/v1/loan/vip/collateral/account (GET) | Check VIP Loan Collateral Account (USER_DATA) | None | orderId, collateralAccountId, recvWindow | Yes |
/sapi/v1/loan/vip/accruedInterest (GET) | Get VIP Loan Accrued Interest (USER_DATA) | None | orderId, loanCoin, startTime, endTime, current, limit, recvWindow | Yes |
/sapi/v1/loan/vip/ongoing/orders (GET) | Get VIP Loan Ongoing Orders(USER_DATA) | None | orderId, collateralAccountId, loanCoin, collateralCoin, current, limit, recvWindow | Yes |
/sapi/v1/loan/vip/request/data (GET) | Query Application Status(USER_DATA) | None | current, limit, recvWindow | Yes |
, (e.g., 1),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-vip-loan/1.0.0 (Skill)
See references/authentication.md for implementation details.
Weekly Installs
209
Repository
GitHub Stars
516
First Seen
4 days ago
Security Audits
Gen Agent Trust HubPassSocketWarnSnykFail
Installed on
codex198
opencode198
gemini-cli196
github-copilot196
kimi-cli196
amp196
飞书OpenAPI Explorer:探索和调用未封装的飞书原生API接口
23,400 周安装