name: cex-api-orchestrator description: "Use when tasks must coordinate CEX report data across CoinGecko, CMC, Deribit, Coinglass, Glassnode, Nansen, Santiment, and Alternative.me with capability checks and fallback routing."
CEX API Orchestrator
Use this as the top-level planning skill for report generation.
Goal
Route each metric to the best available API source without failing the full report when one endpoint is blocked.
Skill routing order
- CoinGecko tier check
- CMC plan check
- Deribit public data pull
- Paid-source key check (Coinglass / Glassnode / Nansen / Santiment)
- Free-source check (Alternative.me)
- Metric-level source selection and fallback
Capability checks
- CoinGecko:
- Pro test on
pro-apiwith/key - If error code
10011, switch to Demo route
- Pro test on
- CMC:
- Read
/key/info - Build allowed endpoint set
- Read
- Deribit:
- Probe one known method (
public/ticker) and continue if reachable
- Probe one known method (
- Coinglass:
- Check
COINGLASS_API_KEYexists - Probe one endpoint and classify plan capability by returned error
- Check
- Glassnode:
- Check
GLASSNODE_API_KEYexists - Probe one metric path and classify tier by returned error
- Check
- Nansen:
- Check
NANSEN_API_KEY+NANSEN_BASE_URL - Probe one endpoint and classify capability
- Check
- Santiment:
- Check
SANTIMENT_API_KEY - Run GraphQL probe and classify capability
- Check
- Alternative.me:
- Probe
/fng/as no-key sentiment fallback
- Probe
Daily report minimum payload
- Market snapshot:
- CMC
global-metrics/quotes/latest - CoinGecko
global - CoinGecko
coins/marketstop-N table
- CMC
- Derivatives:
- Deribit
public/tickerfor BTC/ETH perp - Deribit
public/get_volatility_index_data - Coinglass OI/funding/liquidation (when key available)
- Deribit
- On-chain funds:
- Glassnode exchange/supply metrics (when key available)
- Nansen smart-money/flow metrics (when key available)
- Sentiment:
- Alternative.me
fng(free fallback) - Santiment social/sentiment metrics (when key available)
- Alternative.me
- Narratives:
- CoinGecko
coins/categories - CoinGecko
search/trending
- CoinGecko
Fallback policy
- Do not fail full report on a single blocked endpoint.
- Add one structured
data_gapsitem per blocked call. - Prefer alternate endpoint in same provider before switching provider.
References
references/call-matrix.mdreferences/source-access-matrix.md