unusual-whales-api
БесплатноБез исполняемых скриптовНе проверенQuery the Unusual Whales API for unusual options flow, dark pool prints, market tide sentiment, gamma exposure, congressional trading, and stock greeks. Use…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Unusual Whales API
Overview
Query the Unusual Whales API for institutional-grade market data — unusual options flow, dark pool prints, market tide sentiment, gamma exposure, congressional trading, and stock greeks.
When to Use
Use this skill when the user asks for financial data related to:
- Unusual options activity, "whale" trades, flow alerts, or "hottest chains"
- Dark pool prints, trades, or levels
- Market sentiment (Market Tide, Net Premium, Put/Call ratios)
- Insider trading, politician trading, or specific stock/option details (Greeks, IV)
- Gamma exposure (GEX) analysis
- Building AI-powered trading systems or market analysis tools
Prerequisites
- Unusual Whales API key (get one at https://unusualwhales.com/api_lander)
- Set
UNUSUAL_WHALES_API_TOKENin your environment - Plans and prices change; check https://unusualwhales.com/public-api before quoting a price
- Official agent rules the vendor publishes: https://unusualwhales.com/skill.md (re-read it when an endpoint fails)
Instructions
Critical Rules (Anti-Hallucination Protocol)
Base URL: Always use https://api.unusualwhales.com
Authentication: All requests MUST include both headers:
Authorization: Bearer $UNUSUAL_WHALES_API_TOKEN
UW-CLIENT-API-ID: 100001
Method: All endpoints are GET requests. Never use POST, PUT, or DELETE.
Strict Whitelist: You may ONLY use endpoints listed in the "Valid Endpoint Reference" section below. If a URL is not on that list, it does not exist.
Hallucination Blacklist (NEVER USE THESE)
These endpoints are fake but commonly hallucinated by AI models:
- ❌
/api/options/flow— Use/api/option-trades/flow-alerts - ❌
/api/flowor/api/flow/live - ❌
/api/stock/{ticker}/flow— Use/api/stock/{ticker}/flow-recent - ❌
/api/stock/{ticker}/options— Use/api/stock/{ticker}/option-contracts - ❌
/api/unusual-activity - ❌ Any URL containing
/api/v1/or/api/v2/ - ❌ Query params
apiKey=orapi_key=— Use Authorization header only
Concept Mapping
Translate user intent to the correct endpoint:
- "Live Flow" / "Whale Trades" / "Option Flow" →
/api/option-trades/flow-alerts - "Options Filter" / "Options Screener" / "Flow Filter" →
/api/screener/option-contracts - "Market Sentiment" →
/api/market/market-tide - "Dark Pool" →
/api/darkpool/recentor/api/darkpool/{ticker} - "Contract Greeks" →
/api/stock/{ticker}/greeks - "Spot Gamma" / "Spot GEX" / "GEX" / "Gamma Exposure" →
/api/stock/{ticker}/spot-exposures/strike
Valid Endpoint Reference
Core Data & Flow
- Option Trades (tape prints, latest trading day):
/api/option-trades- Params:
limit,ticker_symbol,min_premium,max_premium,min_dte,max_dte,is_otm,opening,size_greater_oi,volume_greater_oi,newer_than/older_than(Unix seconds or ms), list params astags[]=ask_side
- Params:
- Flow Alerts (Unusual Activity):
/api/option-trades/flow-alerts- Params:
limit,is_call,is_put,is_otm,min_premium,ticker_symbol,size_greater_oi
- Params:
- Options Screener (Hottest Chains):
/api/screener/option-contracts- Params:
limit,min_premium,type,is_otm,issue_types[],min_volume_oi_ratio
- Params:
- Recent Ticker Flow:
/api/stock/{ticker}/flow-recent - Dark Pool (Ticker):
/api/darkpool/{ticker} - Dark Pool (Market Wide):
/api/darkpool/recent - Market Tide:
/api/market/market-tide - Net Premium Ticks:
/api/stock/{ticker}/net-prem-ticks
Options, Greeks & IV
- Option Contracts List:
/api/stock/{ticker}/option-contracts - Greeks for Each Strike & Expiry:
/api/stock/{ticker}/greeks - Static Gamma Exposure (GEX) by Strike:
/api/stock/{ticker}/greek-exposure/strike - Spot Gamma Exposure (GEX) by Strike:
/api/stock/{ticker}/spot-exposures/strike - Interpolated IV and Percentiles:
/api/stock/{ticker}/interpolated-iv - Options Volume/PC Ratio:
/api/stock/{ticker}/options-volume
Fundamentals & Technicals
- Financials:
/api/stock/{ticker}/financials(also/income-statements,/balance-sheets,/cash-flows,/earningswithreport_type) - Technical indicator:
/api/stock/{ticker}/technical-indicator/{function}(paramsinterval,time_period,series_type)
Other Data
- Insider Trading:
/api/insider/transactions - Politician Trades:
/api/congress/recent-trades - News:
/api/news/headlines
Examples
Example 1: Detect Smart Money Sweeps
User prompt: "Show me the latest unusual option trades for TSLA."
# unusual_whales_flow.py — Fetch unusual options flow alerts for a ticker
import os
import httpx
url = "https://api.unusualwhales.com/api/option-trades/flow-alerts"
headers = {
"Authorization": f"Bearer {os.environ['UNUSUAL_WHALES_API_TOKEN']}",
"UW-CLIENT-API-ID": "100001",
}
params = {
"ticker_symbol": "TSLA",
"min_premium": 50_000, # Minimum $50K premium
"size_greater_o
Установить unusual-whales-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл unusual-whales-api?
Query the Unusual Whales API for unusual options flow, dark pool prints, market tide sentiment, gamma exposure, congressional trading, and stock greeks. Use when someone asks about "unusual options activity", "whale trades", "dark pool prints", "market sentiment", "gamma exposure", "GEX", "congressional trading", "insider trading", or needs real-time and historical market data for trading analysis and AI agent integration.
Как установить скилл unusual-whales-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл unusual-whales-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic