闲社服务运行正常AI智能体自动化平台
b

Bybit开放API技能

技能标识:bybit-openapi-skill

Operate Bybit V5 public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Bybit开放API技能

Bybit V5 技能

使用此技能通过 uxc + OpenAPI 运行 Bybit V5 市场数据操作。

复用 uxc 技能以获取共享执行、认证和错误处理指导。

前提条件

  • - uxc 已安装并位于 PATH 中。
  • 网络可访问:
- https://api.bybit.com - 可选 https://api-testnet.bybit.com
  • - 可访问精选的 OpenAPI 模式 URL:
- https://raw.githubusercontent.com/holon-run/uxc/main/skills/bybit-openapi-skill/references/bybit-v5.openapi.json

范围

此技能涵盖精选的 Bybit V5 公共市场接口,用于:

  • - 服务器时间
  • 交易品种元数据
  • 行情数据
  • 订单簿快照
  • K线数据读取

此技能不涵盖:

  • - v1 中的私有账户端点
  • v1 中的私有订单下达或取消
  • 跟单、理财、经纪商或资产管理产品系列

认证

此技能中的公共市场端点无需凭据。

Bybit 私有 API 使用特定于提供商的标头签名,该功能尚未打包为通用的 uxc 签名器流程。在可复用的 Bybit 签名器路径出现之前,请保持此 v1 技能仅处理公共数据。

区域限制

Bybit 官方文档注明了区域和 IP 限制。如果请求意外失败,请在调试模式或参数之前,验证当前执行环境是否被允许访问 Bybit API。

核心工作流程

  1. 1. 默认使用固定链接命令:
- command -v bybit-openapi-cli - 如果缺失,则创建: uxc link bybit-openapi-cli https://api.bybit.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/bybit-openapi-skill/references/bybit-v5.openapi.json - bybit-openapi-cli -h
  1. 2. 执行前检查操作帮助:
- bybit-openapi-cli get:/v5/market/time -h - bybit-openapi-cli get:/v5/market/instruments-info -h - bybit-openapi-cli get:/v5/market/tickers -h
  1. 3. 优先进行窄范围的现货读取:
- bybit-openapi-cli get:/v5/market/tickers category=spot symbol=BTCUSDT - bybit-openapi-cli get:/v5/market/orderbook category=spot symbol=BTCUSDT limit=20

操作

  • - get:/v5/market/time
  • get:/v5/market/instruments-info
  • get:/v5/market/tickers
  • get:/v5/market/orderbook
  • get:/v5/market/kline

限制规则

  • - 保持自动化在 JSON 输出信封上;不要使用 --text。
  • 首先解析稳定字段:ok、kind、protocol、data、error。
  • 将此 v1 技能视为只读。
  • 除非用户明确需要其他市场系列并已检查交易品种格式,否则使用 category=spot。
  • bybit-openapi-cli <操作> ... 等同于 uxc https://api.bybit.com --schema-url v5openapi_schema> <操作> ...。

参考资料

  • - 使用模式:references/usage-patterns.md
  • 精选的 OpenAPI 模式:references/bybit-v5.openapi.json
  • 官方 Bybit V5 文档:https://bybit-exchange.github.io/docs/v5/guide

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bybit-openapi-skill-1776064590 技能

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

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

通过命令行安装

skillhub install bybit-openapi-skill-1776064590

下载

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

文件大小: 4.65 KB | 发布时间: 2026-4-15 11:58

v1.0.0 最新 2026-4-15 11:58
Bybit OpenAPI Skill v1.0.0 – initial release

- Enables access to Bybit V5 public market data via UXC and a curated OpenAPI schema.
- Supports server time, instruments info, tickers, order book, and kline reads.
- Public-data-only: private/account/order endpoints are not included in this version.
- Clear guidance on setup, region restrictions, and recommended workflows provided in documentation.
- Authentication not required for supported endpoints; private endpoint access is planned for future versions.
返回顶部