← 返回
开发者工具 中文

KuCoin OpenAPI Skill

Operate KuCoin public exchange market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
通过 UXC 操作 KuCoin 公开交易所 API,使用精选 OpenAPI schema、以行情为先的发现方式,并明确私有认证边界说明。
jolestar
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 505
下载
💾 7
安装
1
版本
#latest

概述

KuCoin Unified API Skill

Use this skill to run KuCoin public market-data operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://api.kucoin.com.
  • Access to the curated OpenAPI schema URL:
  • https://raw.githubusercontent.com/holon-run/uxc/main/skills/kucoin-openapi-skill/references/kucoin-public.openapi.json

Scope

This skill covers a curated KuCoin public market surface for:

  • symbol discovery
  • all tickers
  • order book snapshots
  • candlestick reads

This skill does not cover:

  • private account or order endpoints in v1
  • websocket, margin, or broader platform products

Authentication

Public market endpoints in this skill do not require credentials.

KuCoin private REST auth uses provider-specific headers and signing rules including passphrase handling. Keep this v1 skill public-data-only until a reusable KuCoin signer flow exists in uxc.

Core Workflow

  1. Use the fixed link command by default:
    • command -v kucoin-openapi-cli
    • If missing, create it:

uxc link kucoin-openapi-cli https://api.kucoin.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/kucoin-openapi-skill/references/kucoin-public.openapi.json

  • kucoin-openapi-cli -h
  1. Inspect operation help before execution:
    • kucoin-openapi-cli get:/api/v1/symbols -h
    • kucoin-openapi-cli get:/api/v1/market/allTickers -h
  1. Prefer narrow symbol reads first:
    • kucoin-openapi-cli get:/api/v1/market/orderbook/level2_20 symbol=BTC-USDT
    • kucoin-openapi-cli get:/api/v1/market/candles symbol=BTC-USDT type=1hour

Operations

  • get:/api/v1/symbols
  • get:/api/v1/market/allTickers
  • get:/api/v1/market/orderbook/level2_20
  • get:/api/v1/market/candles

Guardrails

  • Keep automation on the JSON output envelope; do not use --text.
  • Parse stable fields first: ok, kind, protocol, data, error.
  • Treat this v1 skill as read-only.
  • KuCoin symbols use dash-separated names such as BTC-USDT.
  • kucoin-openapi-cli ... is equivalent to uxc https://api.kucoin.com --schema-url ....

References

  • Usage patterns: references/usage-patterns.md
  • Curated OpenAPI schema: references/kucoin-public.openapi.json
  • Official KuCoin auth docs: https://www.kucoin.com/docs-new/authentication

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 05:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,526
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,472
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,925