1247/orderly-data/SKILL.md
Fetch Orderly Network metrics for content creation, reporting, and analysis.
npx skillsauth add starchild-ai-agent/community-skills @1247/orderly-dataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fetch Orderly Network metrics for content creation, reporting, and analysis.
Two APIs with different auth:
| API | Base URL | Auth |
|-----|----------|------|
| Data API (internal metrics) | https://data-api.orderly.network/orderly/api/v1 | X-API-KEY header with ORDERLY_DATA_API_KEY from .env |
| Public API (on-chain stats) | https://api.orderly.org/v1/public | No auth required |
ORDERLY_DATA_API_KEY)| Endpoint | Description | Key Fields |
|----------|-------------|------------|
| GET /metrics/overview?range=weekly | Weekly/monthly KPIs over time | avg_daily_volume, avg_daily_revenue, avg_new_users, avg_active_users |
| GET /metrics/volume-segments | Volume by segment (B2B/B2C/MM) | b2b_volume, b2c_volume, mm_volume |
| GET /metrics/stake-users | $ORDER staker count | unique_stakers |
| GET /metrics/stake-vs-supply | Staked vs circulating | total_staked, circulating_supply |
| GET /metrics/omnivault-tvl | TVL by vault (weekly) | total_tvl, vault breakdowns |
| GET /distributors/stats | All distributor stats | invitee_count, revenue_share_30d, volume_30d |
| GET /distributors/invitees?distributor_id=X | Invitees for a distributor | dex_name, volume, revenue |
| GET /data/summary | API health + DB stats | status |
range parameter: Use weekly or monthly for /metrics/overview.
| Endpoint | Description | Key Fields |
|----------|-------------|------------|
| GET /balance/stats | Total platform holdings | total_holding (USDC TVL) |
| GET /volume/stats | Volume aggregates | perp_volume_ytd, perp_volume_ltd, perp_volume_last_30_days |
| GET /funding_rates | All perp funding rates | est_funding_rate, last_funding_rate per symbol |
| GET /funding_rate/{symbol} | Single symbol funding | e.g. PERP_BTC_USDC |
| GET /trading_rewards/epoch_data | $ORDER reward epochs | epoch_id, reward_status, r_major, r_alts |
| GET /info | All trading pairs/instruments | symbol specs, tick sizes |
| GET /futures | Futures contract info | contract details |
| GET /token | Supported tokens | token list |
| GET /chain_info | Supported chains | chain IDs, RPCs |
import os, requests
# Data API (authed)
DATA_BASE = "https://data-api.orderly.network/orderly/api/v1"
API_KEY = os.environ["ORDERLY_DATA_API_KEY"]
headers = {"X-API-KEY": API_KEY}
overview = requests.get(f"{DATA_BASE}/metrics/overview", params={"range": "weekly"}, headers=headers).json()
# Public API (no auth)
PUB_BASE = "https://api.orderly.org/v1/public"
volume = requests.get(f"{PUB_BASE}/volume/stats").json()
balance = requests.get(f"{PUB_BASE}/balance/stats").json()
For a quick Orderly health snapshot, pull these three:
GET /volume/stats → perp_volume_last_30_days, perp_volume_ytdGET /balance/stats → total_holdingGET /metrics/overview?range=weekly → latest week's avg_daily_volume, avg_new_users{"detail": "Invalid API key"} on bad auth{"success": false, "code": -1106, "message": "..."} on bad paramsdevelopment
OpenSea API integration for NFT and token discovery, marketplace intelligence, and order/transaction workflows. Use when working with OpenSea data or trading flows (e.g. collection stats, trending collections/tokens, NFT metadata, listings/offers, swap quotes, transaction receipt polling).
development
Generate a warm, healing parallel-universe fairy tale (~1000 words) plus 3 cohesive storybook illustrations, themed "if this person had never been born, what would the world miss." Output is a polished HTML storybook that can be previewed and published. Use when the user wants a personalized "if I had never been born" / "如果我没出生" tale for a real person — input is a name, age, and 3 key life events. Great for birthdays, memorials, encouragement gifts, or healing keepsakes.
development
Onboard a user to Phala Cloud and deploy a verifiable Starchild TEE agent — a minimal FastAPI runtime running inside an Intel TDX confidential VM, plus a published chat dashboard with attestation verification. Use when the user wants to "try TEE", "run an agent in a confidential VM", "deploy to Phala", or replicate the internal Starchild TEE test setup.
tools
Trade on Polymarket prediction markets (CLOB V2) from a Privy EOA wallet. Search markets, place/cancel orders, manage positions. No private key handling. Use when the user wants to bet on event outcomes (e.g. "buy YES at 0.65 on the ceasefire market", "what are my open positions", "close my Trump bet").