← 返回
未分类 Key

codex-supergraph

Use when the user asks about token prices, charts, holders, trending tokens, pair data, prediction markets, or any on-chain analytics from Codex. Also use wh...
用于当用户询问代币价格、图表、持有者、热门代币、交易对数据、预测市场或 Codex 的任何链上分析时使用。
nealo nealo 来源
未分类 clawhub v1.0.1 2 版本 100000 Key: 需要
★ 0
Stars
📥 435
下载
💾 0
安装
2
版本
#latest

概述

Codex Supergraph Data

Codex provides real-time on-chain data — token prices, charts, holders, and prediction markets — via a single GraphQL API. Full documentation: docs.codex.io.

Authentication

Pass $CODEX_API_KEY in the Authorization header if available. Get a free API key at dashboard.codex.io/signup. If the server returns 402 Payment Required, use the codex-gateway skill to handle the payment flow.

If both a local and global copy of this skill exist, the local copy takes precedence.

Summary

Use this skill to produce valid Codex GraphQL requests using API key authentication.

------------------------------------------------------------------------------------
HTTP endpointhttps://graph.codex.io/graphql
WebSocket endpointwss://graph.codex.io/graphql
Schema (SDL)https://graph.codex.io/schema/latest.graphql
Introspection JSONhttps://graph.codex.io/schema/latest.json
API-key authAuthorization: or Authorization: Bearer

Session preflight (required)

Run once and cache:

curl -sS https://graph.codex.io/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: $CODEX_API_KEY" \
  --data-binary '{"query":"query GetNetworks { getNetworks { id name } }"}'

Use network IDs from this result before expensive requests.

Operation selection

NeedOperation
-------------
NetworksgetNetworks
Token discovery/searchfilterTokens
Trending tokensfilterTokens with trendingScore24 ranking
Token pricesgetTokenPrices
Pairs for a tokenlistPairsWithMetadataForToken
Pair metadatapairMetadata
Pair OHLCVgetBars
Token OHLCVgetTokenBars
Token eventsgetTokenEvents
Maker eventsgetTokenEventsForMaker
Wallet leadersfilterTokenWallets
Wallet chart/statswalletChart, detailedWalletStats
Holdersholders
Top-10 concentrationtop10HoldersPercent
Live single priceonPriceUpdated
Live multi-priceonPricesUpdated
Live token eventsonTokenEventsCreated, onEventsCreatedByMaker
Live bars/pairsonBarsUpdated, onPairMetadataUpdated, onTokenBarsUpdated
Launchpad streamsonLaunchpadTokenEventBatch, onLaunchpadTokenEvent
Unconfirmed Solana eventsonUnconfirmedEventsCreated
Short-lived keyscreateApiTokens, apiTokens, apiToken, deleteApiToken
Webhooks (server-side alerts)createWebhooks, deleteWebhooks, getWebhooks
Windowed token change statsgetDetailedTokenStats
Prediction event discoveryfilterPredictionEvents
Prediction market discoveryfilterPredictionMarkets
Prediction event detaildetailedPredictionEventStats
Prediction market chartpredictionMarketBars
Prediction multi-market chartpredictionEventTopMarketsBars
Prediction event chartpredictionEventBars
Prediction tradespredictionTrades
Prediction token holderspredictionTokenHolders
Prediction categoriespredictionCategories
Prediction trader leaderboardfilterPredictionTraders
Prediction trader profiledetailedPredictionTraderStats
Prediction trader positionsfilterPredictionTraderMarkets
Prediction trader chartpredictionTraderBars

Default discovery path: start with filterTokens.

Rules

  • Never print raw API keys.
  • Validate networkId first.
  • Keep selection sets minimal until shape is confirmed.
  • Use onPricesUpdated instead of many single-token subscriptions.

References

FilePurpose
-----------
references/gotchas.mdCommon failure points — check here first
references/query-templates.mdQuery + websocket templates with examples
references/endpoint-playbook.mdOperation selection heuristics by intent
references/apis.mdEndpoint/auth matrix, pagination, rate limits
references/prediction-markets.mdPrediction market queries — events, markets, traders, charts
references/tooling-and-mcp.mdCodex Docs MCP setup for coding tools

Links

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-06-11 17:42
  • v1.0.0
    2026-05-02 12:09 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

dev-programming

Codex Agentic Gateway

nealo
用于在用户查询 Codex Supergraph 且服务器返回 402 挑战时使用。通过 MPP 402 挑战流程按查询计费。仅支持查询。
★ 0 📥 456
data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 274 📥 100,979
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 297 📥 142,015