coinglass-api

star 1

Use when tasks need Coinglass derivatives data (OI, funding, liquidations) with API-key auth, including paid-tier permission checks and fallback behavior.

1sh1ro By 1sh1ro schedule Updated 2/28/2026

name: coinglass-api description: "Use when tasks need Coinglass derivatives data (OI, funding, liquidations) with API-key auth, including paid-tier permission checks and fallback behavior."

Coinglass API

Use this skill for Coinglass Open API calls.

When to use

  • The task needs OI, funding, liquidation, long/short, exchange derivatives metrics.
  • The endpoint is from Coinglass Open API.
  • You need to detect paid-plan restrictions early.

Quick start

export COINGLASS_API_KEY="..."
python3 scripts/coinglass_get.py futures/funding-rate/history \
  --param symbol=BTC \
  --param interval=1h \
  --pretty

Workflow

  1. Send CG-API-KEY header from COINGLASS_API_KEY.
  2. Use base URL from COINGLASS_BASE_URL or default in script.
  3. On non-200, capture raw error JSON and mark as capability block.
  4. Keep one capability note in report per blocked endpoint.

References

  • references/permissions.md for paid-access notes and expected auth behavior.
Install via CLI
npx skills add https://github.com/1sh1ro/xprepo --skill coinglass-api
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator