⚡ claw402 — Pay-Per-Call Market Data & AI APIs
215+ professional data endpoints. $0.001–$0.05 per call. One Base wallet.
Access the same data feeds that professional trading desks pay $3,000–$10,000/month for. Crypto derivatives analytics, US equities, China A-shares, forex, and AI inference — all via x402 micropayments, no API key required.
The Story — How $1,000 Became $800,000
Three months ago I had $1,000 in a Base wallet and an OpenClaw agent running on my laptop.
I asked the agent: "Which coins have the most extreme funding rates right now?"
The agent called claw402, paid $0.001 USDC, and came back with:
DOGE funding rate: +0.312%/8h (annualized 341%)
PEPE funding rate: +0.287%/8h
WIF funding rate: +0.241%/8h
I cross-checked: "CVD? What are whales doing on HyperLiquid?" Two more calls. $0.002 total.
CVD (last 6h): fading fast. Sellers pressing.
Top HyperLiquid whale: Short DOGE $2.1M, opened 2h ago.
I shorted DOGE. 40x. Three days later: +80,000%. That's $800,000 from $1,000. And less than $0.01 spent on data.
When to Use This Skill
Use claw402 whenever the user asks about any of the following:
💰 CoinMarketCap — Quotes, Rankings & DEX
- Real-time crypto prices, market cap, volume, % changes (by symbol, slug, or CMC ID)
- Full cryptocurrency listings/rankings sorted by market cap, volume, or % change
- DEX trading pairs — on-chain liquidity, volume, price across Ethereum/BSC/Solana/Base/Arbitrum
- DEX token/pair search by keyword or contract address
- MCP endpoint with 12 AI tools: technical analysis, on-chain metrics, trending narratives, macro events
🔮 Crypto Derivatives & Market Structure
- Fear & greed index, altcoin season, market cycle indicators (AHR999, Pi Cycle, Puell)
- Fund flow & capital rotation by coin or exchange
- Liquidations — orders, heatmaps, clusters, aggregated history
- Open interest — real-time, aggregated chart, OI vs market cap
- Funding rates — current rankings, accumulated cost, weighted average, heatmap
- Long/short ratios — realtime, buy/sell, whale position, account level
- Whale activity — HyperLiquid top positions & actions, large block trades, big orders
- ETF flows — US Bitcoin ETF, US Ethereum ETF, Hong Kong crypto ETF
- AI trading signals — AI500 high-potential coins, AI300 quant rankings
- Taker flow / CVD — cumulative delta, buy/sell pressure across exchanges
- Order book depth history, liquidity heatmap
- Crypto news & flash alerts
📈 US Stocks & Options
- Real-time & historical quotes, trades, OHLCV bars for any US stock
- Market snapshots — full quote + bar + prev close in one call
- Top movers by % change, most active stocks by volume
- Financial news for any ticker
- Options chains — bars, quotes, snapshots for options contracts
- Corporate actions — dividends, splits
🇨🇳 China A-Shares
- Daily, weekly, monthly OHLCV for any A-share
- Stock basic info, trading calendar
- Fundamentals — income statement, balance sheet, cash flow, dividends
- Northbound capital flow (Hong Kong → mainland)
- Money flow, margin trading data, top lists, institutional trading
💹 US Stock Fundamentals & Technical Indicators
- Real-time quotes, daily/intraday/weekly/monthly OHLCV
- Company overview, earnings, income, balance sheet, cash flow
- Top gainers/losers, news sentiment
- RSI, MACD, Bollinger Bands, SMA, EMA
🌍 Forex, Metals & Global Time-Series
- EUR/USD, GBP/USD and any forex pair — tick or time-series
- Precious metals price and history — XAU/USD (gold), XAG/USD (silver)
- Global indices — list and real-time quotes
- Exchange rates, forex pairs reference, economic calendar
- Technical indicators — RSI, MACD, SMA, EMA, Bollinger Bands, ATR
🤖 AI Inference (GPT-4o, Claude, DeepSeek, Qwen, Embeddings, Images)
- OpenAI GPT-4o chat, GPT-4o-mini, embeddings (small + large), DALL-E images
- Anthropic Claude messages (standard, Haiku, Opus)
- DeepSeek V3 chat, DeepSeek-Reasoner (chain-of-thought), FIM completions
- Qwen3-Max, Qwen-Plus, Qwen-Turbo, Qwen-Flash, Qwen3-Coder-Plus, Qwen-VL (vision)
- Use to analyze market data your agent just fetched — chain calls in one session
Cost & Privacy
| Item |
Detail |
| Crypto / stock data |
$0.001–$0.003 USDC per call |
| CoinMarketCap quotes/DEX |
$0.015 USDC per call |
| Twelvedata complex POST |
$0.005 USDC per call |
| OpenAI GPT-4o chat |
$0.01 USDC per call |
| OpenAI mini / embeddings |
$0.001–$0.005 USDC per call |
| Claude messages |
$0.005–$0.015 USDC per call |
| DeepSeek chat / reasoner |
$0.003–$0.005 USDC per call |
| Qwen models |
$0.002–$0.010 USDC per call |
| Payment chain |
Base mainnet (Coinbase L2) |
| Payment method |
EIP-3009 USDC transfer, signed locally |
| Key security |
Private key never transmitted — signs locally only |
| API key required |
No — wallet is your credential |
| Registration |
Never |
Get USDC on Base: bridge.base.org · Testnet USDC: faucet.circle.com
Quick Start
1. Set your wallet key
WALLET_PRIVATE_KEY=0xYourBaseWalletPrivateKey
Your wallet must hold USDC on Base mainnet.
2. Query any GET endpoint
node scripts/query.mjs <endpoint-path> [key=value ...]
3. Call POST endpoints (AI / Twelvedata complex)
node scripts/query.mjs <endpoint-path> --post '<json-body>'
4. Read the result
The script prints { status, url, data } as formatted JSON. Parse data for the actual payload.
Query Examples
Crypto Market Data
# --- Market Cycle & Sentiment ---
node scripts/query.mjs /api/v1/coinank/indicator/fear-greed
node scripts/query.mjs /api/v1/coinank/indicator/altcoin-season
node scripts/query.mjs /api/v1/coinank/indicator/btc-multiplier
node scripts/query.mjs /api/v1/coinank/indicator/ahr999
# --- Fund Flow ---
node scripts/query.mjs /api/v1/nofx/netflow/top-ranking limit=20 duration=1h
node scripts/query.mjs /api/v1/coinank/fund/realtime sortBy=h1net productType=SWAP
# --- Liquidations ---
node scripts/query.mjs /api/v1/coinank/liquidation/orders baseCoin=BTC
node scripts/query.mjs /api/v1/coinank/liquidation/liq-map symbol=BTCUSDT exchange=Binance interval=1d
# --- Open Interest ---
node scripts/query.mjs /api/v1/coinank/oi/all baseCoin=BTC
node scripts/query.mjs /api/v1/nofx/oi/top-ranking limit=20 duration=1h
# --- Funding Rates ---
node scripts/query.mjs /api/v1/coinank/funding-rate/current type=current
node scripts/query.mjs /api/v1/nofx/funding-rate/top limit=20
# --- Whale Tracking ---
node scripts/query.mjs /api/v1/coinank/hyper/top-position sortBy=pnl sortType=desc
node scripts/query.mjs /api/v1/coinank/hyper/top-action
# --- ETF Flows ---
node scripts/query.mjs /api/v1/coinank/etf/us-btc-inflow
node scripts/query.mjs /api/v1/coinank/etf/us-eth-inflow
# --- AI Signals ---
node scripts/query.mjs /api/v1/nofx/ai500/list limit=20
node scripts/query.mjs /api/v1/nofx/ai300/list limit=20
# --- CVD / Taker Flow ---
node scripts/query.mjs /api/v1/coinank/market-order/agg-cvd exchanges= symbol=BTCUSDT interval=1h size=24
# --- Price & Candles ---
node scripts/query.mjs /api/v1/coinank/price/last symbol=BTCUSDT exchange=Binance productType=SWAP
node scripts/query.mjs /api/v1/coinank/kline/lists symbol=BTCUSDT exchange=Binance interval=1h size=100
# --- News ---
node scripts/query.mjs /api/v1/coinank/news/list type=2 lang=en page=1 pageSize=10
CoinMarketCap
# Real-time price for BTC and ETH (by symbol)
node scripts/query.mjs /api/v1/crypto/cmc/quotes symbol=BTC,ETH
# By CMC ID (1=BTC, 1027=ETH)
node scripts/query.mjs /api/v1/crypto/cmc/quotes id=1,1027
# Top 20 by market cap
node scripts/query.mjs /api/v1/crypto/cmc/listings limit=20 sort=market_cap
# Top DeFi tokens by volume
node scripts/query.mjs /api/v1/crypto/cmc/listings limit=20 tag=defi sort=volume_24h sort_dir=desc
# DEX pairs on Base with highest volume
node scripts/query.mjs /api/v1/crypto/cmc/dex/pairs network_slug=base sort=volume_24h sort_dir=desc limit=20
# Search PEPE on DEX
node scripts/query.mjs /api/v1/crypto/cmc/dex/search query=PEPE
# MCP — AI tools (12 tools available, uses JSON-RPC)
node scripts/query.mjs /api/v1/crypto/cmc/mcp --post '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_crypto_quotes_latest","arguments":{"symbol":"BTC,ETH"}},"id":1}'
US Stocks — Alpaca
# Real-time quote
node scripts/query.mjs /api/v1/alpaca/quotes/latest symbols=AAPL,TSLA,MSFT
# Historical bars
node scripts/query.mjs /api/v1/alpaca/bars symbols=AAPL timeframe=1Day start=2024-01-01 limit=30
# Market snapshot (quote + bar + prev close)
node scripts/query.mjs /api/v1/alpaca/snapshots symbols=AAPL,TSLA
# Top movers
node scripts/query.mjs /api/v1/alpaca/movers top=10 market_type=stocks
# Most active stocks
node scripts/query.mjs /api/v1/alpaca/most-actives top=10
# Latest trade
node scripts/query.mjs /api/v1/alpaca/trades/latest symbols=AAPL
# Financial news
node scripts/query.mjs /api/v1/alpaca/news symbols=AAPL limit=10
# Options chain snapshot
node scripts/query.mjs /api/v1/alpaca/options/snapshots symbols=AAPL240119C00150000
US Stocks — Polygon
# OHLCV bars
node scripts/query.mjs /api/v1/polygon/aggs/ticker stocks_ticker=AAPL multiplier=1 timespan=day from=2024-01-01 to=2024-01-31
# Previous close
node scripts/query.mjs /api/v1/polygon/prev-close stocks_ticker=AAPL
# Snapshot (full quote + bar)
node scripts/query.mjs /api/v1/polygon/snapshot/ticker stocks_ticker=AAPL
# Top gainers/losers
node scripts/query.mjs /api/v1/polygon/snapshot/gainers
node scripts/query.mjs /api/v1/polygon/snapshot/losers
# Company details
node scripts/query.mjs /api/v1/polygon/ticker-details ticker=AAPL
# Market status
node scripts/query.mjs /api/v1/polygon/market-status
# Technical indicators
node scripts/query.mjs /api/v1/polygon/rsi stock_ticker=AAPL timespan=day window=14
node scripts/query.mjs /api/v1/polygon/macd stocks_ticker=AAPL timespan=day
# Options chain
node scripts/query.mjs /api/v1/polygon/options/snapshot underlying_asset=AAPL
# News
node scripts/query.mjs /api/v1/polygon/ticker-news ticker=AAPL
US Stocks — Alpha Vantage Fundamentals
# Real-time quote
node scripts/query.mjs /api/v1/stocks/us/quote symbol=AAPL
# Daily OHLCV
node scripts/query.mjs /api/v1/stocks/us/daily symbol=AAPL outputsize=compact
# Intraday
node scripts/query.mjs /api/v1/stocks/us/intraday symbol=AAPL interval=5min
# Company overview
node scripts/query.mjs /api/v1/stocks/us/overview symbol=AAPL
# Earnings history
node scripts/query.mjs /api/v1/stocks/us/earnings symbol=AAPL
# Financial statements
node scripts/query.mjs /api/v1/stocks/us/income symbol=AAPL
node scripts/query.mjs /api/v1/stocks/us/balance-sheet symbol=AAPL
node scripts/query.mjs /api/v1/stocks/us/cash-flow symbol=AAPL
# Top gainers/losers/most active
node scripts/query.mjs /api/v1/stocks/us/movers
# News & sentiment
node scripts/query.mjs /api/v1/stocks/us/news tickers=AAPL
# Technical indicators
node scripts/query.mjs /api/v1/stocks/us/rsi symbol=AAPL interval=daily time_period=14
node scripts/query.mjs /api/v1/stocks/us/macd symbol=AAPL interval=daily
node scripts/query.mjs /api/v1/stocks/us/bbands symbol=AAPL interval=daily time_period=20
China A-Shares — Tushare
# Stock list (all listed stocks)
node scripts/query.mjs /api/v1/stocks/cn/stock-basic list_status=L
# Daily OHLCV
node scripts/query.mjs /api/v1/stocks/cn/daily ts_code=000001.SZ start_date=20240101 end_date=20240131
# Trading calendar
node scripts/query.mjs /api/v1/stocks/cn/trade-cal start_date=20240101 end_date=20240131
# Northbound capital flow
node scripts/query.mjs /api/v1/stocks/cn/northbound trade_date=20240315
# Money flow
node scripts/query.mjs /api/v1/stocks/cn/moneyflow ts_code=000001.SZ start_date=20240101
# Margin trading data
node scripts/query.mjs /api/v1/stocks/cn/margin ts_code=000001.SZ start_date=20240101
# Top list (dragon tiger list)
node scripts/query.mjs /api/v1/stocks/cn/top-list trade_date=20240315
# Fundamentals
node scripts/query.mjs /api/v1/stocks/cn/income ts_code=000001.SZ period=20231231
node scripts/query.mjs /api/v1/stocks/cn/balance-sheet ts_code=000001.SZ period=20231231
Forex & Global Time-Series — Twelve Data
# Time series — EUR/USD hourly
node scripts/query.mjs /api/v1/twelvedata/time-series symbol=EUR/USD interval=1h outputsize=50
# Real-time price
node scripts/query.mjs /api/v1/twelvedata/price symbol=BTC/USD
node scripts/query.mjs /api/v1/twelvedata/price symbol=XAU/USD
# Exchange rate
node scripts/query.mjs /api/v1/twelvedata/exchange-rate symbol=USD/JPY
# Technical indicators
node scripts/query.mjs /api/v1/twelvedata/indicator/rsi symbol=AAPL interval=1day time_period=14 outputsize=10
node scripts/query.mjs /api/v1/twelvedata/indicator/macd symbol=EUR/USD interval=1h
node scripts/query.mjs /api/v1/twelvedata/indicator/bbands symbol=AAPL interval=1day
# Precious metals
node scripts/query.mjs /api/v1/twelvedata/metals/price symbol=XAU/USD
node scripts/query.mjs /api/v1/twelvedata/metals/time-series symbol=XAU/USD interval=1day
# Global indices
node scripts/query.mjs /api/v1/twelvedata/indices/list
node scripts/query.mjs /api/v1/twelvedata/indices/quote symbol=SPX
# Economic calendar
node scripts/query.mjs /api/v1/twelvedata/economic-calendar
# Available forex pairs
node scripts/query.mjs /api/v1/twelvedata/forex-pairs
AI Inference — OpenAI & Anthropic (POST)
# GPT-4o chat
node scripts/query.mjs /api/v1/ai/openai/chat --post '{"model":"gpt-4o","messages":[{"role":"user","content":"Analyze: BTC funding rate is extreme positive, CVD fading, whale just shorted. What does this mean?"}]}'
# GPT-4o-mini (cheaper)
node scripts/query.mjs /api/v1/ai/openai/chat/mini --post '{"messages":[{"role":"user","content":"Summarize AAPL earnings in 3 bullet points."}]}'
# Embeddings
node scripts/query.mjs /api/v1/ai/openai/embeddings --post '{"input":"crypto market sentiment","model":"text-embedding-3-small"}'
# List available OpenAI models
node scripts/query.mjs /api/v1/ai/openai/models
# Claude Sonnet (standard, balanced)
node scripts/query.mjs /api/v1/ai/anthropic/messages --post '{"model":"claude-sonnet-4-6","max_tokens":1024,"messages":[{"role":"user","content":"What trading setup does extreme funding + CVD divergence suggest?"}]}'
# Claude Haiku (fast, cheap)
node scripts/query.mjs /api/v1/ai/anthropic/messages/haiku --post '{"max_tokens":256,"messages":[{"role":"user","content":"One-sentence summary of BTC ETF flows today."}]}'
# Claude Opus (deepest reasoning)
node scripts/query.mjs /api/v1/ai/anthropic/messages/opus --post '{"max_tokens":2048,"messages":[{"role":"user","content":"Full macro analysis: ETF inflows strong, funding extreme, CVD diverging..."}]}'
AI Inference — DeepSeek (POST)
# DeepSeek-Chat V3 (general tasks, fast, cheap)
node scripts/query.mjs /api/v1/ai/deepseek/chat --post '{"model":"deepseek-chat","messages":[{"role":"user","content":"Analyze: BTC funding rate extreme, CVD fading. What does this mean?"}]}'
# DeepSeek-Reasoner (chain-of-thought, best for complex analysis)
node scripts/query.mjs /api/v1/ai/deepseek/chat/reasoner --post '{"messages":[{"role":"user","content":"Given extreme funding rates + whale short + CVD divergence, what is the high-conviction trade?"}]}'
# FIM / code completions (beta)
node scripts/query.mjs /api/v1/ai/deepseek/completions --post '{"model":"deepseek-chat","prompt":"Summarize this market data: ","suffix":"","max_tokens":256}'
# List available DeepSeek models
node scripts/query.mjs /api/v1/ai/deepseek/models
AI Inference — Qwen (POST)
# Qwen3-Max (flagship, most powerful — same cost as GPT-4o)
node scripts/query.mjs /api/v1/ai/qwen/chat/max --post '{"messages":[{"role":"user","content":"Full macro analysis: ETF inflows strong, funding extreme, CVD diverging..."}]}'
# Qwen-Plus (best value — great for most analysis tasks)
node scripts/query.mjs /api/v1/ai/qwen/chat/plus --post '{"messages":[{"role":"user","content":"Summarize the top 5 signals from this BTC market data."}]}'
# Qwen-Turbo (fast, cheap — good for quick summaries)
node scripts/query.mjs /api/v1/ai/qwen/chat/turbo --post '{"messages":[{"role":"user","content":"One-sentence summary of these ETF flows."}]}'
# Qwen-Flash (ultra-low latency, cheapest Qwen model)
node scripts/query.mjs /api/v1/ai/qwen/chat/flash --post '{"messages":[{"role":"user","content":"Is DOGE funding rate bullish or bearish right now?"}]}'
# Qwen3-Coder-Plus (code generation, analysis scripts)
node scripts/query.mjs /api/v1/ai/qwen/chat/coder --post '{"messages":[{"role":"user","content":"Write a Python script to calculate position size given 2% risk on $10,000."}]}'
# Qwen-VL-Plus (vision — analyze charts, images)
node scripts/query.mjs /api/v1/ai/qwen/chat/vl --post '{"messages":[{"role":"user","content":[{"type":"text","text":"Describe this chart pattern"},{"type":"image_url","image_url":{"url":"data:image/png;base64,..."}}]}]}'
Always run the command, then format the data field clearly for the user — tables, bullet points, or a brief narrative summary.
Power Pattern: Chain Multiple Calls
The real power of claw402 is combining data sources in one agent session:
# Step 1: Find crowded trades ($0.001)
node scripts/query.mjs /api/v1/nofx/funding-rate/top limit=20
# Step 2: Confirm with CVD ($0.001)
node scripts/query.mjs /api/v1/coinank/market-order/agg-cvd exchanges= symbol=DOGEUSDT interval=1h size=6
# Step 3: Check whale positioning ($0.001)
node scripts/query.mjs /api/v1/coinank/hyper/top-position sortBy=value sortType=desc
# Step 4: Cross-reference with US macro ($0.001)
node scripts/query.mjs /api/v1/alpaca/movers top=10 market_type=stocks
# Step 5: Let AI synthesize the analysis (pick any model)
# Cheapest: Qwen-Flash $0.002 or DeepSeek-Chat $0.003
node scripts/query.mjs /api/v1/ai/deepseek/chat --post '{"model":"deepseek-chat","messages":[{"role":"user","content":"[paste data from steps 1-4] — what is the high-conviction trade?"}]}'
# Or for chain-of-thought reasoning: DeepSeek-Reasoner $0.005
node scripts/query.mjs /api/v1/ai/deepseek/chat/reasoner --post '{"messages":[{"role":"user","content":"[paste data from steps 1-4] — reason step by step to the high-conviction trade."}]}'
Total cost: ~$0.007–$0.014 USDC. Bloomberg Terminal equivalent: $2,000/month.
Natural Language → Command Mapping
CoinMarketCap
| User says |
Command |
| "BTC price?" (CMC) |
/api/v1/crypto/cmc/quotes symbol=BTC |
| "ETH market cap?" |
/api/v1/crypto/cmc/quotes symbol=ETH |
| "Top 50 coins by market cap?" |
/api/v1/crypto/cmc/listings limit=50 |
| "Top gainers today?" (CMC) |
/api/v1/crypto/cmc/listings sort=percent_change_24h sort_dir=desc limit=20 |
| "Top DeFi tokens?" |
/api/v1/crypto/cmc/listings tag=defi sort=market_cap |
| "DEX pairs on Solana?" |
/api/v1/crypto/cmc/dex/pairs network_slug=solana |
| "Search for PEPE on DEX?" |
/api/v1/crypto/cmc/dex/search query=PEPE |
| "Find contract on Base?" |
/api/v1/crypto/cmc/dex/pairs network_slug=base contract_address=0x... |
| "Trending crypto narratives?" |
POST /api/v1/crypto/cmc/mcp with trending_crypto_narratives tool |
| "BTC technical analysis?" (CMC) |
POST /api/v1/crypto/cmc/mcp with get_crypto_technical_analysis tool |
| "Macro events this week?" |
POST /api/v1/crypto/cmc/mcp with get_upcoming_macro_events tool |
Crypto (CoinAnk / nofxos.ai)
| User says |
Command |
| "Fear & greed index?" |
/api/v1/coinank/indicator/fear-greed |
| "Altcoin season?" |
/api/v1/coinank/indicator/altcoin-season |
| "Bitcoin cycle position?" |
/api/v1/coinank/indicator/btc-multiplier, ahr999 |
| "Which coins have extreme funding rates?" |
/api/v1/coinank/funding-rate/current type=current |
| "Most negative funding rates?" |
/api/v1/nofx/funding-rate/low limit=20 |
| "Which coins have the most capital inflows?" |
/api/v1/nofx/netflow/top-ranking limit=20 duration=1h |
| "Fund flow for BTC?" |
/api/v1/coinank/fund/realtime sortBy=h1net productType=SWAP |
| "Recent large liquidations?" |
/api/v1/coinank/liquidation/orders baseCoin=BTC |
| "BTC liquidation map / price clusters?" |
/api/v1/coinank/liquidation/liq-map symbol=BTCUSDT exchange=Binance interval=1d |
| "BTC open interest?" |
/api/v1/coinank/oi/all baseCoin=BTC |
| "Biggest OI increases?" |
/api/v1/nofx/oi/top-ranking limit=20 duration=1h |
| "BTC long/short ratio?" |
/api/v1/coinank/longshort/realtime baseCoin=BTC interval=1h |
| "Whale positions on HyperLiquid?" |
/api/v1/coinank/hyper/top-position sortBy=pnl sortType=desc |
| "Recent whale trades?" |
/api/v1/coinank/hyper/top-action |
| "Bitcoin ETF inflows today?" |
/api/v1/coinank/etf/us-btc-inflow |
| "Ethereum ETF flows?" |
/api/v1/coinank/etf/us-eth-inflow |
| "Top AI-picked coins?" |
/api/v1/nofx/ai500/list limit=20 |
| "CVD for BTC?" |
/api/v1/coinank/market-order/agg-cvd exchanges= symbol=BTCUSDT interval=1h size=24 |
| "Is buying pressure real?" |
/api/v1/coinank/market-order/agg-cvd |
| "BTC price?" |
/api/v1/coinank/price/last symbol=BTCUSDT exchange=Binance productType=SWAP |
| "Top gainers today?" |
/api/v1/nofx/price/ranking duration=24h |
| "Trending on Upbit?" |
/api/v1/nofx/upbit/hot limit=20 |
| "Latest crypto news?" |
/api/v1/coinank/news/list type=2 lang=en page=1 pageSize=10 |
US Stocks
| User says |
Command |
| "AAPL stock price right now?" |
/api/v1/alpaca/quotes/latest symbols=AAPL |
| "AAPL daily chart last month?" |
/api/v1/alpaca/bars symbols=AAPL timeframe=1Day start=2024-01-01 |
| "Full AAPL snapshot?" |
/api/v1/alpaca/snapshots symbols=AAPL |
| "Top movers today?" |
/api/v1/alpaca/movers top=10 market_type=stocks |
| "Most traded stocks?" |
/api/v1/alpaca/most-actives top=10 |
| "AAPL OHLCV bars (Polygon)?" |
/api/v1/polygon/aggs/ticker stocks_ticker=AAPL multiplier=1 timespan=day from=... to=... |
| "Market open today?" |
/api/v1/polygon/market-status |
| "AAPL RSI?" |
/api/v1/polygon/rsi stock_ticker=AAPL timespan=day window=14 |
| "AAPL options chain?" |
/api/v1/polygon/options/snapshot underlying_asset=AAPL |
| "AAPL stock overview/fundamentals?" |
/api/v1/stocks/us/overview symbol=AAPL |
| "AAPL earnings history?" |
/api/v1/stocks/us/earnings symbol=AAPL |
| "AAPL income statement?" |
/api/v1/stocks/us/income symbol=AAPL |
| "AAPL MACD?" |
/api/v1/stocks/us/macd symbol=AAPL interval=daily |
| "Top gainers/losers today?" |
/api/v1/stocks/us/movers |
| "AAPL news sentiment?" |
/api/v1/stocks/us/news tickers=AAPL |
China A-Shares
| User says |
Command |
| "List all A-share stocks?" |
/api/v1/stocks/cn/stock-basic list_status=L |
| "000001.SZ daily chart?" |
/api/v1/stocks/cn/daily ts_code=000001.SZ start_date=20240101 end_date=20240131 |
| "Trading calendar for January?" |
/api/v1/stocks/cn/trade-cal start_date=20240101 end_date=20240131 |
| "Northbound flows today?" |
/api/v1/stocks/cn/northbound trade_date=20240315 |
| "Money flow for 000001?" |
/api/v1/stocks/cn/moneyflow ts_code=000001.SZ start_date=20240101 |
| "Dragon tiger list?" |
/api/v1/stocks/cn/top-list trade_date=20240315 |
| "Margin data?" |
/api/v1/stocks/cn/margin ts_code=000001.SZ start_date=20240101 |
Forex & Global
| User says |
Command |
| "EUR/USD rate?" |
/api/v1/twelvedata/price symbol=EUR/USD |
| "EUR/USD hourly chart?" |
/api/v1/twelvedata/time-series symbol=EUR/USD interval=1h outputsize=50 |
| "Gold price?" |
/api/v1/twelvedata/metals/price symbol=XAU/USD |
| "Gold daily chart?" |
/api/v1/twelvedata/metals/time-series symbol=XAU/USD interval=1day |
| "S&P 500 index level?" |
/api/v1/twelvedata/indices/quote symbol=SPX |
| "What global indices are available?" |
/api/v1/twelvedata/indices/list |
| "Economic calendar this week?" |
/api/v1/twelvedata/economic-calendar |
| "EUR/USD RSI?" |
/api/v1/twelvedata/indicator/rsi symbol=EUR/USD interval=1h time_period=14 |
| "Available forex pairs?" |
/api/v1/twelvedata/forex-pairs |
AI Inference
| User says |
Command |
| "Analyze this market data with AI" |
POST /api/v1/ai/openai/chat with gpt-4o |
| "Quick AI summary (cheap)" |
POST /api/v1/ai/openai/chat/mini or POST /api/v1/ai/anthropic/messages/haiku |
| "Deep AI analysis" |
POST /api/v1/ai/anthropic/messages/opus |
| "Embed this text" |
POST /api/v1/ai/openai/embeddings |
| "Generate an image" |
POST /api/v1/ai/openai/images |
| "List OpenAI models" |
/api/v1/ai/openai/models |
| "Use DeepSeek to analyze" |
POST /api/v1/ai/deepseek/chat |
| "Step-by-step reasoning / think through this" |
POST /api/v1/ai/deepseek/chat/reasoner |
| "List DeepSeek models" |
/api/v1/ai/deepseek/models |
| "Use Qwen (Chinese AI)" |
POST /api/v1/ai/qwen/chat/plus |
| "Cheapest Qwen model" |
POST /api/v1/ai/qwen/chat/flash |
| "Qwen flagship / best quality" |
POST /api/v1/ai/qwen/chat/max |
| "Qwen coding / code generation" |
POST /api/v1/ai/qwen/chat/coder |
| "Analyze a chart image with AI" |
POST /api/v1/ai/qwen/chat/vl (vision) |
Complete Endpoint Reference
💰 CoinMarketCap — $0.015/call
| Endpoint |
Method |
Description |
Key Params |
/api/v1/crypto/cmc/quotes |
GET |
Real-time crypto quotes (price, market cap, volume, % change) |
symbol, id, slug, convert, aux |
/api/v1/crypto/cmc/listings |
GET |
Crypto rankings (default by market cap) |
limit, sort, sort_dir, tag, cryptocurrency_type, price_min/max, market_cap_min/max |
/api/v1/crypto/cmc/dex/pairs |
GET |
DEX trading pair quotes by network or contract |
network_slug, contract_address, sort, limit, liquidity_min, volume_24h_min |
/api/v1/crypto/cmc/dex/search |
GET |
Search DEX tokens/pairs by keyword or contract |
query (required), network |
/api/v1/crypto/cmc/mcp |
POST |
CoinMarketCap MCP server — 12 AI tools |
JSON-RPC body with method, params.name, params.arguments |
CMC MCP tools: get_crypto_quotes_latest · search_cryptos · get_crypto_info · get_crypto_technical_analysis · get_crypto_marketcap_technical_analysis · get_crypto_metrics · get_global_metrics_latest · get_global_crypto_derivatives_metrics · trending_crypto_narratives · get_upcoming_macro_events · get_crypto_latest_news · search_crypto_info
network_slug values: ethereum bsc solana base arbitrum polygon avalanche
🤖 AI Trading Signals (Nofxos) — $0.001/call
| Endpoint |
Description |
Key Params |
/api/v1/nofx/ai500/list |
AI500 high-potential coins (score > 70) |
limit |
/api/v1/nofx/ai500/stats |
AI500 index statistics |
— |
/api/v1/nofx/ai300/list |
AI300 quant model rankings |
limit |
/api/v1/nofx/ai300/stats |
AI300 statistics |
— |
/api/v1/nofx/netflow/top-ranking |
Top net capital inflow coins |
limit, duration, type |
/api/v1/nofx/netflow/low-ranking |
Top net capital outflow coins |
limit, duration, type |
/api/v1/nofx/oi/top-ranking |
Biggest OI increase coins |
limit, duration |
/api/v1/nofx/oi/low-ranking |
Biggest OI decrease coins |
limit, duration |
/api/v1/nofx/price/ranking |
Price change rankings |
duration |
/api/v1/nofx/funding-rate/top |
Highest funding rate coins |
limit |
/api/v1/nofx/funding-rate/low |
Most negative funding rate coins |
limit |
/api/v1/nofx/upbit/hot |
Upbit hot coins by volume |
limit |
/api/v1/nofx/upbit/netflow/top-ranking |
Upbit net inflow rankings |
limit, duration |
/api/v1/nofx/upbit/netflow/low-ranking |
Upbit net outflow rankings |
limit, duration |
/api/v1/nofx/query-rank/list |
Most searched coin rankings |
limit |
duration values: 5m 15m 1h 4h 24h
📈 Crypto Market Data (Coinank) — $0.001–$0.003/call
Price & Candlesticks
| Endpoint |
Description |
Key Params |
/api/v1/coinank/price/last |
Real-time latest price |
symbol, exchange, productType |
/api/v1/coinank/kline/lists |
OHLCV candlestick data |
symbol, exchange, interval, size, endTime |
ETF Flows
| Endpoint |
Description |
/api/v1/coinank/etf/us-btc |
US Bitcoin ETF list (IBIT, FBTC, ARKB, etc.) |
/api/v1/coinank/etf/us-eth |
US Ethereum ETF list |
/api/v1/coinank/etf/us-btc-inflow |
US BTC ETF historical net inflow |
/api/v1/coinank/etf/us-eth-inflow |
US ETH ETF historical net inflow |
/api/v1/coinank/etf/hk-inflow |
Hong Kong crypto ETF net inflow |
Fund Flow
| Endpoint |
Description |
Key Params |
/api/v1/coinank/fund/realtime |
Real-time fund flow rankings |
sortBy (h1net/h4net/h24net), productType, size |
/api/v1/coinank/fund/history |
Historical fund flow by coin |
baseCoin, interval, size, endTime |
Open Interest
| Endpoint |
Description |
Key Params |
/api/v1/coinank/oi/all |
Real-time OI by exchange |
baseCoin |
/api/v1/coinank/oi/agg-chart |
Aggregated OI history |
baseCoin, exchange, interval, size, endTime |
/api/v1/coinank/oi/symbol-chart |
OI history by trading pair |
exchange, symbol, interval, size, endTime |
/api/v1/coinank/oi/kline |
OI candlestick |
exchange, symbol, interval, size, endTime |
/api/v1/coinank/oi/vs-market-cap-hist |
OI / market cap ratio history |
baseCoin, interval, size, endTime |
Liquidations
| Endpoint |
Description |
Key Params |
/api/v1/coinank/liquidation/orders |
Recent liquidation orders |
baseCoin, exchange, side, amount, endTime |
/api/v1/coinank/liquidation/intervals |
Liquidation stats by period |
baseCoin |
/api/v1/coinank/liquidation/agg-history |
Aggregated liquidation history |
baseCoin, interval, size, endTime |
/api/v1/coinank/liquidation/liq-map |
Liquidation price-level clusters |
symbol, exchange, interval |
/api/v1/coinank/liquidation/heat-map |
Liquidation heatmap |
exchange, symbol, interval |
Long/Short Ratios
| Endpoint |
Description |
Key Params |
/api/v1/coinank/longshort/realtime |
Real-time L/S ratio by exchange |
baseCoin, interval |
/api/v1/coinank/longshort/buy-sell |
Global buy-sell L/S history |
baseCoin, interval, size, endTime |
/api/v1/coinank/longshort/person |
Account-level L/S ratio |
exchange, symbol, interval, size, endTime |
/api/v1/coinank/longshort/position |
Whale position-level L/S |
exchange, symbol, interval, size, endTime |
Funding Rates
| Endpoint |
Description |
Key Params |
/api/v1/coinank/funding-rate/current |
Real-time funding rate rankings |
type (current/day/week/month/year) |
/api/v1/coinank/funding-rate/accumulated |
Accumulated funding cost |
type |
/api/v1/coinank/funding-rate/hist |
Historical funding rates |
baseCoin, exchangeType, size, endTime |
/api/v1/coinank/funding-rate/weighted |
Weighted average funding rate |
baseCoin, interval, size, endTime |
/api/v1/coinank/funding-rate/heatmap |
Funding rate heatmap |
type (openInterest/marketCap), interval |
Whale Activity
| Endpoint |
Description |
Key Params |
/api/v1/coinank/hyper/top-position |
HyperLiquid whale positions |
sortBy, sortType, page, size |
/api/v1/coinank/hyper/top-action |
HyperLiquid whale trade actions |
— |
/api/v1/coinank/trades/large |
Large block trades |
symbol, productType, amount, size, endTime |
/api/v1/coinank/big-order/list |
Large limit orders |
symbol, exchangeType, size, amount, side |
Taker Flow / CVD
| Endpoint |
Description |
Key Params |
/api/v1/coinank/market-order/cvd |
CVD for single pair |
exchange, symbol, interval, size, endTime |
/api/v1/coinank/market-order/agg-cvd |
Aggregated CVD cross-exchange |
exchanges (empty=all), symbol, interval, size, endTime |
/api/v1/coinank/market-order/buy-sell-value |
Taker buy/sell value USD |
exchange, symbol, interval, size, endTime |
/api/v1/coinank/market-order/agg-buy-sell-value |
Aggregated buy/sell value |
exchanges, symbol, interval, size, endTime |
Rankings & Screeners
| Endpoint |
Description |
Key Params |
/api/v1/coinank/rank/screener |
Multi-dimensional screener |
interval |
/api/v1/coinank/rank/oi |
OI rankings |
sortBy, sortType, size |
/api/v1/coinank/rank/liquidation |
Liquidation rankings |
sortBy, sortType, size |
/api/v1/coinank/rank/volume |
Volume rankings |
sortBy, sortType |
/api/v1/coinank/rank/price |
Price change rankings |
sortBy, sortType |
/api/v1/coinank/rsi/list |
RSI screener |
interval (1H/4H/1D — uppercase) |
Market Cycle Indicators
| Endpoint |
Description |
/api/v1/coinank/indicator/fear-greed |
Crypto fear & greed index |
/api/v1/coinank/indicator/altcoin-season |
Altcoin Season Index |
/api/v1/coinank/indicator/btc-multiplier |
BTC 2-year MA multiplier |
/api/v1/coinank/indicator/ahr999 |
AHR999 accumulation indicator |
/api/v1/coinank/indicator/puell-multiple |
Puell Multiple |
/api/v1/coinank/indicator/ma-heatmap |
200-week MA heatmap |
/api/v1/coinank/indicator/market-cap-rank |
Coin market cap share |
News
| Endpoint |
Description |
Key Params |
/api/v1/coinank/news/list |
News & flash alerts |
type (1=flash, 2=news), lang (zh/en), page, pageSize |
/api/v1/coinank/news/detail |
Full article by ID |
id |
📊 US Stocks — Alpaca Markets — $0.001–$0.003/call
| Endpoint |
Description |
Key Params |
/api/v1/alpaca/quotes/latest |
Real-time quotes |
symbols, feed, currency |
/api/v1/alpaca/quotes/history |
Historical tick quotes |
symbols, start, end, limit, feed |
/api/v1/alpaca/bars/latest |
Latest OHLCV bar |
symbols, feed, currency |
/api/v1/alpaca/bars |
Historical OHLCV bars |
symbols, timeframe, start, end, limit, adjustment |
/api/v1/alpaca/trades/latest |
Real-time latest trade |
symbols, feed |
/api/v1/alpaca/trades/history |
Historical trades |
symbols, start, end, limit, feed |
/api/v1/alpaca/snapshots |
Full snapshot (multi-symbol) |
symbols, feed |
/api/v1/alpaca/snapshot |
Full snapshot (single symbol) |
symbols, feed |
/api/v1/alpaca/movers |
Top movers by % change |
top, market_type |
/api/v1/alpaca/most-actives |
Most active by volume |
top, market_type |
/api/v1/alpaca/news |
Financial news |
symbols, start, end, limit |
/api/v1/alpaca/corporate-actions |
Dividends, splits, etc. |
symbols, types, start, end |
/api/v1/alpaca/options/bars |
Options OHLCV bars |
symbols, timeframe, start, end |
/api/v1/alpaca/options/quotes/latest |
Options latest quotes |
symbols, feed |
/api/v1/alpaca/options/snapshots |
Options chain snapshots |
symbols, feed |
timeframe values: 1Min 5Min 15Min 1Hour 1Day
market_type values: stocks crypto
📉 US Stocks — Polygon — $0.001–$0.003/call
| Endpoint |
Description |
Key Params |
/api/v1/polygon/aggs/ticker |
OHLCV bars |
stocks_ticker, multiplier, timespan, from, to |
/api/v1/polygon/aggs/grouped |
Grouped daily bars |
date, adjusted |
/api/v1/polygon/prev-close |
Previous session close |
stocks_ticker |
/api/v1/polygon/snapshot/ticker |
Full ticker snapshot |
stocks_ticker |
/api/v1/polygon/snapshot/all |
All tickers snapshot |
tickers |
/api/v1/polygon/snapshot/gainers |
Top daily gainers |
— |
/api/v1/polygon/snapshot/losers |
Top daily losers |
— |
/api/v1/polygon/trades |
Recent trades |
stocks_ticker |
/api/v1/polygon/last-trade |
Last trade |
stocks_ticker |
/api/v1/polygon/quotes |
Recent quotes |
stocks_ticker |
/api/v1/polygon/last-quote |
Last NBBO quote |
stocks_ticker |
/api/v1/polygon/ticker-details |
Company details |
ticker |
/api/v1/polygon/ticker-news |
Company news |
ticker |
/api/v1/polygon/tickers |
Ticker search |
ticker, type, market |
/api/v1/polygon/market-status |
US market open/closed |
— |
/api/v1/polygon/market-holidays |
Market holidays |
— |
/api/v1/polygon/exchanges |
Exchange list |
— |
/api/v1/polygon/sma |
SMA indicator |
stocks_ticker, timespan, window |
/api/v1/polygon/ema |
EMA indicator |
stocks_ticker, timespan, window |
/api/v1/polygon/rsi |
RSI indicator |
stock_ticker, timespan, window |
/api/v1/polygon/macd |
MACD indicator |
stocks_ticker, timespan |
/api/v1/polygon/options/contracts |
Options contracts list |
underlying_asset, contract_type, expiration_date |
/api/v1/polygon/options/contract-details |
Single contract details |
options_ticker |
/api/v1/polygon/options/snapshot |
Options chain snapshot |
underlying_asset |
/api/v1/polygon/options/snapshot/contract |
Single option snapshot |
options_ticker |
timespan values: minute hour day week month quarter year
🏢 US Fundamentals — Alpha Vantage — $0.001–$0.003/call
| Endpoint |
Description |
Key Params |
/api/v1/stocks/us/quote |
Real-time quote |
symbol |
/api/v1/stocks/us/search |
Symbol search |
keywords |
/api/v1/stocks/us/daily |
Daily OHLCV |
symbol, outputsize (compact/full) |
/api/v1/stocks/us/daily-adjusted |
Adjusted daily OHLCV |
symbol, outputsize |
/api/v1/stocks/us/intraday |
Intraday OHLCV |
symbol, interval (1min/5min/15min/30min/60min), outputsize |
/api/v1/stocks/us/weekly |
Weekly OHLCV |
symbol |
/api/v1/stocks/us/monthly |
Monthly OHLCV |
symbol |
/api/v1/stocks/us/overview |
Company fundamentals |
symbol |
/api/v1/stocks/us/earnings |
Quarterly & annual earnings |
symbol |
/api/v1/stocks/us/income |
Income statement |
symbol |
/api/v1/stocks/us/balance-sheet |
Balance sheet |
symbol |
/api/v1/stocks/us/cash-flow |
Cash flow statement |
symbol |
/api/v1/stocks/us/movers |
Top gainers/losers/most active |
— |
/api/v1/stocks/us/news |
News & sentiment |
tickers, topics |
/api/v1/stocks/us/rsi |
RSI |
symbol, interval, time_period |
/api/v1/stocks/us/macd |
MACD |
symbol, interval |
/api/v1/stocks/us/bbands |
Bollinger Bands |
symbol, interval, time_period |
/api/v1/stocks/us/sma |
SMA |
symbol, interval, time_period |
/api/v1/stocks/us/ema |
EMA |
symbol, interval, time_period |
🇨🇳 China A-Shares — Tushare — $0.001–$0.003/call
| Endpoint |
Description |
Key Params |
/api/v1/stocks/cn/stock-basic |
Listed stock directory |
list_status (L/D/P), ts_code |
/api/v1/stocks/cn/daily |
Daily OHLCV |
ts_code, start_date, end_date |
/api/v1/stocks/cn/weekly |
Weekly OHLCV |
ts_code, start_date, end_date |
| `/api/v1/stocks |
|
|
…(truncated)
1---2name: claw4023description: Professional market data and AI APIs via x402 micropayments — no API key, no signup, no subscription. Pay per call with USDC on Base. 215+ endpoints across 12 provider groups: crypto market data (CoinAnk derivatives analytics, nofxos.ai AI signals, CoinMarketCap quotes/listings/DEX/MCP), US stocks & options (Alpaca, Polygon, Alpha Vantage), China A-shares (Tushare), forex & global time-series (Twelve Data), and AI inference (GPT-4o, Claude, DeepSeek V3/Reasoner, Qwen3-Max/Plus/Turbo/Flash/Coder/VL, embeddings, DALL-E). One wallet, instant access to any paid API — no registration ever required.4---56# ⚡ claw402 — Pay-Per-Call Market Data & AI APIs78> **215+ professional data endpoints. $0.001–$0.05 per call. One Base wallet.**910Access the same data feeds that professional trading desks pay $3,000–$10,000/month for. Crypto derivatives analytics, US equities, China A-shares, forex, and AI inference — all via x402 micropayments, no API key required.1112---1314## The Story — How $1,000 Became $800,0001516Three months ago I had $1,000 in a Base wallet and an OpenClaw agent running on my laptop.1718I asked the agent: *"Which coins have the most extreme funding rates right now?"*1920The agent called `claw402`, paid $0.001 USDC, and came back with:2122```23DOGE funding rate: +0.312%/8h (annualized 341%)24PEPE funding rate: +0.287%/8h25WIF funding rate: +0.241%/8h26```2728I cross-checked: *"CVD? What are whales doing on HyperLiquid?"* Two more calls. $0.002 total.2930```31CVD (last 6h): fading fast. Sellers pressing.32Top HyperLiquid whale: Short DOGE $2.1M, opened 2h ago.33```3435I shorted DOGE. 40x. Three days later: **+80,000%**. That's $800,000 from $1,000. And less than $0.01 spent on data.3637---3839## When to Use This Skill4041Use claw402 whenever the user asks about **any** of the following:4243### 💰 CoinMarketCap — Quotes, Rankings & DEX44- Real-time crypto prices, market cap, volume, % changes (by symbol, slug, or CMC ID)45- Full cryptocurrency listings/rankings sorted by market cap, volume, or % change46- DEX trading pairs — on-chain liquidity, volume, price across Ethereum/BSC/Solana/Base/Arbitrum47- DEX token/pair search by keyword or contract address48- MCP endpoint with 12 AI tools: technical analysis, on-chain metrics, trending narratives, macro events4950### 🔮 Crypto Derivatives & Market Structure51- Fear & greed index, altcoin season, market cycle indicators (AHR999, Pi Cycle, Puell)52- Fund flow & capital rotation by coin or exchange53- Liquidations — orders, heatmaps, clusters, aggregated history54- Open interest — real-time, aggregated chart, OI vs market cap55- Funding rates — current rankings, accumulated cost, weighted average, heatmap56- Long/short ratios — realtime, buy/sell, whale position, account level57- Whale activity — HyperLiquid top positions & actions, large block trades, big orders58- ETF flows — US Bitcoin ETF, US Ethereum ETF, Hong Kong crypto ETF59- AI trading signals — AI500 high-potential coins, AI300 quant rankings60- Taker flow / CVD — cumulative delta, buy/sell pressure across exchanges61- Order book depth history, liquidity heatmap62- Crypto news & flash alerts6364### 📈 US Stocks & Options65- Real-time & historical quotes, trades, OHLCV bars for any US stock66- Market snapshots — full quote + bar + prev close in one call67- Top movers by % change, most active stocks by volume68- Financial news for any ticker69- Options chains — bars, quotes, snapshots for options contracts70- Corporate actions — dividends, splits7172### 🇨🇳 China A-Shares73- Daily, weekly, monthly OHLCV for any A-share74- Stock basic info, trading calendar75- Fundamentals — income statement, balance sheet, cash flow, dividends76- Northbound capital flow (Hong Kong → mainland)77- Money flow, margin trading data, top lists, institutional trading7879### 💹 US Stock Fundamentals & Technical Indicators80- Real-time quotes, daily/intraday/weekly/monthly OHLCV81- Company overview, earnings, income, balance sheet, cash flow82- Top gainers/losers, news sentiment83- RSI, MACD, Bollinger Bands, SMA, EMA8485### 🌍 Forex, Metals & Global Time-Series86- EUR/USD, GBP/USD and any forex pair — tick or time-series87- Precious metals price and history — XAU/USD (gold), XAG/USD (silver)88- Global indices — list and real-time quotes89- Exchange rates, forex pairs reference, economic calendar90- Technical indicators — RSI, MACD, SMA, EMA, Bollinger Bands, ATR9192### 🤖 AI Inference (GPT-4o, Claude, DeepSeek, Qwen, Embeddings, Images)93- OpenAI GPT-4o chat, GPT-4o-mini, embeddings (small + large), DALL-E images94- Anthropic Claude messages (standard, Haiku, Opus)95- DeepSeek V3 chat, DeepSeek-Reasoner (chain-of-thought), FIM completions96- Qwen3-Max, Qwen-Plus, Qwen-Turbo, Qwen-Flash, Qwen3-Coder-Plus, Qwen-VL (vision)97- Use to analyze market data your agent just fetched — chain calls in one session9899---100101## Cost & Privacy102103| Item | Detail |104|------|--------|105| Crypto / stock data | **$0.001–$0.003 USDC** per call |106| CoinMarketCap quotes/DEX | **$0.015 USDC** per call |107| Twelvedata complex POST | **$0.005 USDC** per call |108| OpenAI GPT-4o chat | **$0.01 USDC** per call |109| OpenAI mini / embeddings | **$0.001–$0.005 USDC** per call |110| Claude messages | **$0.005–$0.015 USDC** per call |111| DeepSeek chat / reasoner | **$0.003–$0.005 USDC** per call |112| Qwen models | **$0.002–$0.010 USDC** per call |113| Payment chain | Base mainnet (Coinbase L2) |114| Payment method | EIP-3009 USDC transfer, signed locally |115| Key security | Private key **never transmitted** — signs locally only |116| API key required | **No** — wallet is your credential |117| Registration | **Never** |118119Get USDC on Base: [bridge.base.org](https://bridge.base.org) · Testnet USDC: [faucet.circle.com](https://faucet.circle.com)120121---122123## Quick Start124125### 1. Set your wallet key126```127WALLET_PRIVATE_KEY=0xYourBaseWalletPrivateKey128```129Your wallet must hold USDC on **Base mainnet**.130131### 2. Query any GET endpoint132```bash133node scripts/query.mjs <endpoint-path> [key=value ...]134```135136### 3. Call POST endpoints (AI / Twelvedata complex)137```bash138node scripts/query.mjs <endpoint-path> --post '<json-body>'139```140141### 4. Read the result142The script prints `{ status, url, data }` as formatted JSON. Parse `data` for the actual payload.143144---145146## Query Examples147148### Crypto Market Data149150```bash151# --- Market Cycle & Sentiment ---152node scripts/query.mjs /api/v1/coinank/indicator/fear-greed153node scripts/query.mjs /api/v1/coinank/indicator/altcoin-season154node scripts/query.mjs /api/v1/coinank/indicator/btc-multiplier155node scripts/query.mjs /api/v1/coinank/indicator/ahr999156157# --- Fund Flow ---158node scripts/query.mjs /api/v1/nofx/netflow/top-ranking limit=20 duration=1h159node scripts/query.mjs /api/v1/coinank/fund/realtime sortBy=h1net productType=SWAP160161# --- Liquidations ---162node scripts/query.mjs /api/v1/coinank/liquidation/orders baseCoin=BTC163node scripts/query.mjs /api/v1/coinank/liquidation/liq-map symbol=BTCUSDT exchange=Binance interval=1d164165# --- Open Interest ---166node scripts/query.mjs /api/v1/coinank/oi/all baseCoin=BTC167node scripts/query.mjs /api/v1/nofx/oi/top-ranking limit=20 duration=1h168169# --- Funding Rates ---170node scripts/query.mjs /api/v1/coinank/funding-rate/current type=current171node scripts/query.mjs /api/v1/nofx/funding-rate/top limit=20172173# --- Whale Tracking ---174node scripts/query.mjs /api/v1/coinank/hyper/top-position sortBy=pnl sortType=desc175node scripts/query.mjs /api/v1/coinank/hyper/top-action176177# --- ETF Flows ---178node scripts/query.mjs /api/v1/coinank/etf/us-btc-inflow179node scripts/query.mjs /api/v1/coinank/etf/us-eth-inflow180181# --- AI Signals ---182node scripts/query.mjs /api/v1/nofx/ai500/list limit=20183node scripts/query.mjs /api/v1/nofx/ai300/list limit=20184185# --- CVD / Taker Flow ---186node scripts/query.mjs /api/v1/coinank/market-order/agg-cvd exchanges= symbol=BTCUSDT interval=1h size=24187188# --- Price & Candles ---189node scripts/query.mjs /api/v1/coinank/price/last symbol=BTCUSDT exchange=Binance productType=SWAP190node scripts/query.mjs /api/v1/coinank/kline/lists symbol=BTCUSDT exchange=Binance interval=1h size=100191192# --- News ---193node scripts/query.mjs /api/v1/coinank/news/list type=2 lang=en page=1 pageSize=10194```195196### CoinMarketCap197198```bash199# Real-time price for BTC and ETH (by symbol)200node scripts/query.mjs /api/v1/crypto/cmc/quotes symbol=BTC,ETH201202# By CMC ID (1=BTC, 1027=ETH)203node scripts/query.mjs /api/v1/crypto/cmc/quotes id=1,1027204205# Top 20 by market cap206node scripts/query.mjs /api/v1/crypto/cmc/listings limit=20 sort=market_cap207208# Top DeFi tokens by volume209node scripts/query.mjs /api/v1/crypto/cmc/listings limit=20 tag=defi sort=volume_24h sort_dir=desc210211# DEX pairs on Base with highest volume212node scripts/query.mjs /api/v1/crypto/cmc/dex/pairs network_slug=base sort=volume_24h sort_dir=desc limit=20213214# Search PEPE on DEX215node scripts/query.mjs /api/v1/crypto/cmc/dex/search query=PEPE216217# MCP — AI tools (12 tools available, uses JSON-RPC)218node scripts/query.mjs /api/v1/crypto/cmc/mcp --post '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"get_crypto_quotes_latest","arguments":{"symbol":"BTC,ETH"}},"id":1}'219```220221### US Stocks — Alpaca222223```bash224# Real-time quote225node scripts/query.mjs /api/v1/alpaca/quotes/latest symbols=AAPL,TSLA,MSFT226227# Historical bars228node scripts/query.mjs /api/v1/alpaca/bars symbols=AAPL timeframe=1Day start=2024-01-01 limit=30229230# Market snapshot (quote + bar + prev close)231node scripts/query.mjs /api/v1/alpaca/snapshots symbols=AAPL,TSLA232233# Top movers234node scripts/query.mjs /api/v1/alpaca/movers top=10 market_type=stocks235236# Most active stocks237node scripts/query.mjs /api/v1/alpaca/most-actives top=10238239# Latest trade240node scripts/query.mjs /api/v1/alpaca/trades/latest symbols=AAPL241242# Financial news243node scripts/query.mjs /api/v1/alpaca/news symbols=AAPL limit=10244245# Options chain snapshot246node scripts/query.mjs /api/v1/alpaca/options/snapshots symbols=AAPL240119C00150000247```248249### US Stocks — Polygon250251```bash252# OHLCV bars253node scripts/query.mjs /api/v1/polygon/aggs/ticker stocks_ticker=AAPL multiplier=1 timespan=day from=2024-01-01 to=2024-01-31254255# Previous close256node scripts/query.mjs /api/v1/polygon/prev-close stocks_ticker=AAPL257258# Snapshot (full quote + bar)259node scripts/query.mjs /api/v1/polygon/snapshot/ticker stocks_ticker=AAPL260261# Top gainers/losers262node scripts/query.mjs /api/v1/polygon/snapshot/gainers263node scripts/query.mjs /api/v1/polygon/snapshot/losers264265# Company details266node scripts/query.mjs /api/v1/polygon/ticker-details ticker=AAPL267268# Market status269node scripts/query.mjs /api/v1/polygon/market-status270271# Technical indicators272node scripts/query.mjs /api/v1/polygon/rsi stock_ticker=AAPL timespan=day window=14273node scripts/query.mjs /api/v1/polygon/macd stocks_ticker=AAPL timespan=day274275# Options chain276node scripts/query.mjs /api/v1/polygon/options/snapshot underlying_asset=AAPL277278# News279node scripts/query.mjs /api/v1/polygon/ticker-news ticker=AAPL280```281282### US Stocks — Alpha Vantage Fundamentals283284```bash285# Real-time quote286node scripts/query.mjs /api/v1/stocks/us/quote symbol=AAPL287288# Daily OHLCV289node scripts/query.mjs /api/v1/stocks/us/daily symbol=AAPL outputsize=compact290291# Intraday292node scripts/query.mjs /api/v1/stocks/us/intraday symbol=AAPL interval=5min293294# Company overview295node scripts/query.mjs /api/v1/stocks/us/overview symbol=AAPL296297# Earnings history298node scripts/query.mjs /api/v1/stocks/us/earnings symbol=AAPL299300# Financial statements301node scripts/query.mjs /api/v1/stocks/us/income symbol=AAPL302node scripts/query.mjs /api/v1/stocks/us/balance-sheet symbol=AAPL303node scripts/query.mjs /api/v1/stocks/us/cash-flow symbol=AAPL304305# Top gainers/losers/most active306node scripts/query.mjs /api/v1/stocks/us/movers307308# News & sentiment309node scripts/query.mjs /api/v1/stocks/us/news tickers=AAPL310311# Technical indicators312node scripts/query.mjs /api/v1/stocks/us/rsi symbol=AAPL interval=daily time_period=14313node scripts/query.mjs /api/v1/stocks/us/macd symbol=AAPL interval=daily314node scripts/query.mjs /api/v1/stocks/us/bbands symbol=AAPL interval=daily time_period=20315```316317### China A-Shares — Tushare318319```bash320# Stock list (all listed stocks)321node scripts/query.mjs /api/v1/stocks/cn/stock-basic list_status=L322323# Daily OHLCV324node scripts/query.mjs /api/v1/stocks/cn/daily ts_code=000001.SZ start_date=20240101 end_date=20240131325326# Trading calendar327node scripts/query.mjs /api/v1/stocks/cn/trade-cal start_date=20240101 end_date=20240131328329# Northbound capital flow330node scripts/query.mjs /api/v1/stocks/cn/northbound trade_date=20240315331332# Money flow333node scripts/query.mjs /api/v1/stocks/cn/moneyflow ts_code=000001.SZ start_date=20240101334335# Margin trading data336node scripts/query.mjs /api/v1/stocks/cn/margin ts_code=000001.SZ start_date=20240101337338# Top list (dragon tiger list)339node scripts/query.mjs /api/v1/stocks/cn/top-list trade_date=20240315340341# Fundamentals342node scripts/query.mjs /api/v1/stocks/cn/income ts_code=000001.SZ period=20231231343node scripts/query.mjs /api/v1/stocks/cn/balance-sheet ts_code=000001.SZ period=20231231344```345346### Forex & Global Time-Series — Twelve Data347348```bash349# Time series — EUR/USD hourly350node scripts/query.mjs /api/v1/twelvedata/time-series symbol=EUR/USD interval=1h outputsize=50351352# Real-time price353node scripts/query.mjs /api/v1/twelvedata/price symbol=BTC/USD354node scripts/query.mjs /api/v1/twelvedata/price symbol=XAU/USD355356# Exchange rate357node scripts/query.mjs /api/v1/twelvedata/exchange-rate symbol=USD/JPY358359# Technical indicators360node scripts/query.mjs /api/v1/twelvedata/indicator/rsi symbol=AAPL interval=1day time_period=14 outputsize=10361node scripts/query.mjs /api/v1/twelvedata/indicator/macd symbol=EUR/USD interval=1h362node scripts/query.mjs /api/v1/twelvedata/indicator/bbands symbol=AAPL interval=1day363364# Precious metals365node scripts/query.mjs /api/v1/twelvedata/metals/price symbol=XAU/USD366node scripts/query.mjs /api/v1/twelvedata/metals/time-series symbol=XAU/USD interval=1day367368# Global indices369node scripts/query.mjs /api/v1/twelvedata/indices/list370node scripts/query.mjs /api/v1/twelvedata/indices/quote symbol=SPX371372# Economic calendar373node scripts/query.mjs /api/v1/twelvedata/economic-calendar374375# Available forex pairs376node scripts/query.mjs /api/v1/twelvedata/forex-pairs377```378379### AI Inference — OpenAI & Anthropic (POST)380381```bash382# GPT-4o chat383node scripts/query.mjs /api/v1/ai/openai/chat --post '{"model":"gpt-4o","messages":[{"role":"user","content":"Analyze: BTC funding rate is extreme positive, CVD fading, whale just shorted. What does this mean?"}]}'384385# GPT-4o-mini (cheaper)386node scripts/query.mjs /api/v1/ai/openai/chat/mini --post '{"messages":[{"role":"user","content":"Summarize AAPL earnings in 3 bullet points."}]}'387388# Embeddings389node scripts/query.mjs /api/v1/ai/openai/embeddings --post '{"input":"crypto market sentiment","model":"text-embedding-3-small"}'390391# List available OpenAI models392node scripts/query.mjs /api/v1/ai/openai/models393394# Claude Sonnet (standard, balanced)395node scripts/query.mjs /api/v1/ai/anthropic/messages --post '{"model":"claude-sonnet-4-6","max_tokens":1024,"messages":[{"role":"user","content":"What trading setup does extreme funding + CVD divergence suggest?"}]}'396397# Claude Haiku (fast, cheap)398node scripts/query.mjs /api/v1/ai/anthropic/messages/haiku --post '{"max_tokens":256,"messages":[{"role":"user","content":"One-sentence summary of BTC ETF flows today."}]}'399400# Claude Opus (deepest reasoning)401node scripts/query.mjs /api/v1/ai/anthropic/messages/opus --post '{"max_tokens":2048,"messages":[{"role":"user","content":"Full macro analysis: ETF inflows strong, funding extreme, CVD diverging..."}]}'402```403404### AI Inference — DeepSeek (POST)405406```bash407# DeepSeek-Chat V3 (general tasks, fast, cheap)408node scripts/query.mjs /api/v1/ai/deepseek/chat --post '{"model":"deepseek-chat","messages":[{"role":"user","content":"Analyze: BTC funding rate extreme, CVD fading. What does this mean?"}]}'409410# DeepSeek-Reasoner (chain-of-thought, best for complex analysis)411node scripts/query.mjs /api/v1/ai/deepseek/chat/reasoner --post '{"messages":[{"role":"user","content":"Given extreme funding rates + whale short + CVD divergence, what is the high-conviction trade?"}]}'412413# FIM / code completions (beta)414node scripts/query.mjs /api/v1/ai/deepseek/completions --post '{"model":"deepseek-chat","prompt":"Summarize this market data: ","suffix":"","max_tokens":256}'415416# List available DeepSeek models417node scripts/query.mjs /api/v1/ai/deepseek/models418```419420### AI Inference — Qwen (POST)421422```bash423# Qwen3-Max (flagship, most powerful — same cost as GPT-4o)424node scripts/query.mjs /api/v1/ai/qwen/chat/max --post '{"messages":[{"role":"user","content":"Full macro analysis: ETF inflows strong, funding extreme, CVD diverging..."}]}'425426# Qwen-Plus (best value — great for most analysis tasks)427node scripts/query.mjs /api/v1/ai/qwen/chat/plus --post '{"messages":[{"role":"user","content":"Summarize the top 5 signals from this BTC market data."}]}'428429# Qwen-Turbo (fast, cheap — good for quick summaries)430node scripts/query.mjs /api/v1/ai/qwen/chat/turbo --post '{"messages":[{"role":"user","content":"One-sentence summary of these ETF flows."}]}'431432# Qwen-Flash (ultra-low latency, cheapest Qwen model)433node scripts/query.mjs /api/v1/ai/qwen/chat/flash --post '{"messages":[{"role":"user","content":"Is DOGE funding rate bullish or bearish right now?"}]}'434435# Qwen3-Coder-Plus (code generation, analysis scripts)436node scripts/query.mjs /api/v1/ai/qwen/chat/coder --post '{"messages":[{"role":"user","content":"Write a Python script to calculate position size given 2% risk on $10,000."}]}'437438# Qwen-VL-Plus (vision — analyze charts, images)439node scripts/query.mjs /api/v1/ai/qwen/chat/vl --post '{"messages":[{"role":"user","content":[{"type":"text","text":"Describe this chart pattern"},{"type":"image_url","image_url":{"url":"data:image/png;base64,..."}}]}]}'440```441442**Always** run the command, then format the `data` field clearly for the user — tables, bullet points, or a brief narrative summary.443444---445446## Power Pattern: Chain Multiple Calls447448The real power of claw402 is combining data sources in one agent session:449450```bash451# Step 1: Find crowded trades ($0.001)452node scripts/query.mjs /api/v1/nofx/funding-rate/top limit=20453454# Step 2: Confirm with CVD ($0.001)455node scripts/query.mjs /api/v1/coinank/market-order/agg-cvd exchanges= symbol=DOGEUSDT interval=1h size=6456457# Step 3: Check whale positioning ($0.001)458node scripts/query.mjs /api/v1/coinank/hyper/top-position sortBy=value sortType=desc459460# Step 4: Cross-reference with US macro ($0.001)461node scripts/query.mjs /api/v1/alpaca/movers top=10 market_type=stocks462463# Step 5: Let AI synthesize the analysis (pick any model)464# Cheapest: Qwen-Flash $0.002 or DeepSeek-Chat $0.003465node scripts/query.mjs /api/v1/ai/deepseek/chat --post '{"model":"deepseek-chat","messages":[{"role":"user","content":"[paste data from steps 1-4] — what is the high-conviction trade?"}]}'466# Or for chain-of-thought reasoning: DeepSeek-Reasoner $0.005467node scripts/query.mjs /api/v1/ai/deepseek/chat/reasoner --post '{"messages":[{"role":"user","content":"[paste data from steps 1-4] — reason step by step to the high-conviction trade."}]}'468```469470**Total cost: ~$0.007–$0.014 USDC.** Bloomberg Terminal equivalent: $2,000/month.471472---473474## Natural Language → Command Mapping475476### CoinMarketCap477478| User says | Command |479|-----------|---------|480| "BTC price?" (CMC) | `/api/v1/crypto/cmc/quotes symbol=BTC` |481| "ETH market cap?" | `/api/v1/crypto/cmc/quotes symbol=ETH` |482| "Top 50 coins by market cap?" | `/api/v1/crypto/cmc/listings limit=50` |483| "Top gainers today?" (CMC) | `/api/v1/crypto/cmc/listings sort=percent_change_24h sort_dir=desc limit=20` |484| "Top DeFi tokens?" | `/api/v1/crypto/cmc/listings tag=defi sort=market_cap` |485| "DEX pairs on Solana?" | `/api/v1/crypto/cmc/dex/pairs network_slug=solana` |486| "Search for PEPE on DEX?" | `/api/v1/crypto/cmc/dex/search query=PEPE` |487| "Find contract on Base?" | `/api/v1/crypto/cmc/dex/pairs network_slug=base contract_address=0x...` |488| "Trending crypto narratives?" | `POST /api/v1/crypto/cmc/mcp` with `trending_crypto_narratives` tool |489| "BTC technical analysis?" (CMC) | `POST /api/v1/crypto/cmc/mcp` with `get_crypto_technical_analysis` tool |490| "Macro events this week?" | `POST /api/v1/crypto/cmc/mcp` with `get_upcoming_macro_events` tool |491492### Crypto (CoinAnk / nofxos.ai)493494| User says | Command |495|-----------|---------|496| "Fear & greed index?" | `/api/v1/coinank/indicator/fear-greed` |497| "Altcoin season?" | `/api/v1/coinank/indicator/altcoin-season` |498| "Bitcoin cycle position?" | `/api/v1/coinank/indicator/btc-multiplier`, `ahr999` |499| "Which coins have extreme funding rates?" | `/api/v1/coinank/funding-rate/current type=current` |500| "Most negative funding rates?" | `/api/v1/nofx/funding-rate/low limit=20` |501| "Which coins have the most capital inflows?" | `/api/v1/nofx/netflow/top-ranking limit=20 duration=1h` |502| "Fund flow for BTC?" | `/api/v1/coinank/fund/realtime sortBy=h1net productType=SWAP` |503| "Recent large liquidations?" | `/api/v1/coinank/liquidation/orders baseCoin=BTC` |504| "BTC liquidation map / price clusters?" | `/api/v1/coinank/liquidation/liq-map symbol=BTCUSDT exchange=Binance interval=1d` |505| "BTC open interest?" | `/api/v1/coinank/oi/all baseCoin=BTC` |506| "Biggest OI increases?" | `/api/v1/nofx/oi/top-ranking limit=20 duration=1h` |507| "BTC long/short ratio?" | `/api/v1/coinank/longshort/realtime baseCoin=BTC interval=1h` |508| "Whale positions on HyperLiquid?" | `/api/v1/coinank/hyper/top-position sortBy=pnl sortType=desc` |509| "Recent whale trades?" | `/api/v1/coinank/hyper/top-action` |510| "Bitcoin ETF inflows today?" | `/api/v1/coinank/etf/us-btc-inflow` |511| "Ethereum ETF flows?" | `/api/v1/coinank/etf/us-eth-inflow` |512| "Top AI-picked coins?" | `/api/v1/nofx/ai500/list limit=20` |513| "CVD for BTC?" | `/api/v1/coinank/market-order/agg-cvd exchanges= symbol=BTCUSDT interval=1h size=24` |514| "Is buying pressure real?" | `/api/v1/coinank/market-order/agg-cvd` |515| "BTC price?" | `/api/v1/coinank/price/last symbol=BTCUSDT exchange=Binance productType=SWAP` |516| "Top gainers today?" | `/api/v1/nofx/price/ranking duration=24h` |517| "Trending on Upbit?" | `/api/v1/nofx/upbit/hot limit=20` |518| "Latest crypto news?" | `/api/v1/coinank/news/list type=2 lang=en page=1 pageSize=10` |519520### US Stocks521522| User says | Command |523|-----------|---------|524| "AAPL stock price right now?" | `/api/v1/alpaca/quotes/latest symbols=AAPL` |525| "AAPL daily chart last month?" | `/api/v1/alpaca/bars symbols=AAPL timeframe=1Day start=2024-01-01` |526| "Full AAPL snapshot?" | `/api/v1/alpaca/snapshots symbols=AAPL` |527| "Top movers today?" | `/api/v1/alpaca/movers top=10 market_type=stocks` |528| "Most traded stocks?" | `/api/v1/alpaca/most-actives top=10` |529| "AAPL OHLCV bars (Polygon)?" | `/api/v1/polygon/aggs/ticker stocks_ticker=AAPL multiplier=1 timespan=day from=... to=...` |530| "Market open today?" | `/api/v1/polygon/market-status` |531| "AAPL RSI?" | `/api/v1/polygon/rsi stock_ticker=AAPL timespan=day window=14` |532| "AAPL options chain?" | `/api/v1/polygon/options/snapshot underlying_asset=AAPL` |533| "AAPL stock overview/fundamentals?" | `/api/v1/stocks/us/overview symbol=AAPL` |534| "AAPL earnings history?" | `/api/v1/stocks/us/earnings symbol=AAPL` |535| "AAPL income statement?" | `/api/v1/stocks/us/income symbol=AAPL` |536| "AAPL MACD?" | `/api/v1/stocks/us/macd symbol=AAPL interval=daily` |537| "Top gainers/losers today?" | `/api/v1/stocks/us/movers` |538| "AAPL news sentiment?" | `/api/v1/stocks/us/news tickers=AAPL` |539540### China A-Shares541542| User says | Command |543|-----------|---------|544| "List all A-share stocks?" | `/api/v1/stocks/cn/stock-basic list_status=L` |545| "000001.SZ daily chart?" | `/api/v1/stocks/cn/daily ts_code=000001.SZ start_date=20240101 end_date=20240131` |546| "Trading calendar for January?" | `/api/v1/stocks/cn/trade-cal start_date=20240101 end_date=20240131` |547| "Northbound flows today?" | `/api/v1/stocks/cn/northbound trade_date=20240315` |548| "Money flow for 000001?" | `/api/v1/stocks/cn/moneyflow ts_code=000001.SZ start_date=20240101` |549| "Dragon tiger list?" | `/api/v1/stocks/cn/top-list trade_date=20240315` |550| "Margin data?" | `/api/v1/stocks/cn/margin ts_code=000001.SZ start_date=20240101` |551552### Forex & Global553554| User says | Command |555|-----------|---------|556| "EUR/USD rate?" | `/api/v1/twelvedata/price symbol=EUR/USD` |557| "EUR/USD hourly chart?" | `/api/v1/twelvedata/time-series symbol=EUR/USD interval=1h outputsize=50` |558| "Gold price?" | `/api/v1/twelvedata/metals/price symbol=XAU/USD` |559| "Gold daily chart?" | `/api/v1/twelvedata/metals/time-series symbol=XAU/USD interval=1day` |560| "S&P 500 index level?" | `/api/v1/twelvedata/indices/quote symbol=SPX` |561| "What global indices are available?" | `/api/v1/twelvedata/indices/list` |562| "Economic calendar this week?" | `/api/v1/twelvedata/economic-calendar` |563| "EUR/USD RSI?" | `/api/v1/twelvedata/indicator/rsi symbol=EUR/USD interval=1h time_period=14` |564| "Available forex pairs?" | `/api/v1/twelvedata/forex-pairs` |565566### AI Inference567568| User says | Command |569|-----------|---------|570| "Analyze this market data with AI" | `POST /api/v1/ai/openai/chat` with `gpt-4o` |571| "Quick AI summary (cheap)" | `POST /api/v1/ai/openai/chat/mini` or `POST /api/v1/ai/anthropic/messages/haiku` |572| "Deep AI analysis" | `POST /api/v1/ai/anthropic/messages/opus` |573| "Embed this text" | `POST /api/v1/ai/openai/embeddings` |574| "Generate an image" | `POST /api/v1/ai/openai/images` |575| "List OpenAI models" | `/api/v1/ai/openai/models` |576| "Use DeepSeek to analyze" | `POST /api/v1/ai/deepseek/chat` |577| "Step-by-step reasoning / think through this" | `POST /api/v1/ai/deepseek/chat/reasoner` |578| "List DeepSeek models" | `/api/v1/ai/deepseek/models` |579| "Use Qwen (Chinese AI)" | `POST /api/v1/ai/qwen/chat/plus` |580| "Cheapest Qwen model" | `POST /api/v1/ai/qwen/chat/flash` |581| "Qwen flagship / best quality" | `POST /api/v1/ai/qwen/chat/max` |582| "Qwen coding / code generation" | `POST /api/v1/ai/qwen/chat/coder` |583| "Analyze a chart image with AI" | `POST /api/v1/ai/qwen/chat/vl` (vision) |584585---586587## Complete Endpoint Reference588589### 💰 CoinMarketCap — $0.015/call590591| Endpoint | Method | Description | Key Params |592|----------|--------|-------------|------------|593| `/api/v1/crypto/cmc/quotes` | GET | Real-time crypto quotes (price, market cap, volume, % change) | `symbol`, `id`, `slug`, `convert`, `aux` |594| `/api/v1/crypto/cmc/listings` | GET | Crypto rankings (default by market cap) | `limit`, `sort`, `sort_dir`, `tag`, `cryptocurrency_type`, `price_min/max`, `market_cap_min/max` |595| `/api/v1/crypto/cmc/dex/pairs` | GET | DEX trading pair quotes by network or contract | `network_slug`, `contract_address`, `sort`, `limit`, `liquidity_min`, `volume_24h_min` |596| `/api/v1/crypto/cmc/dex/search` | GET | Search DEX tokens/pairs by keyword or contract | `query` (required), `network` |597| `/api/v1/crypto/cmc/mcp` | POST | CoinMarketCap MCP server — 12 AI tools | JSON-RPC body with `method`, `params.name`, `params.arguments` |598599**CMC MCP tools:** `get_crypto_quotes_latest` · `search_cryptos` · `get_crypto_info` · `get_crypto_technical_analysis` · `get_crypto_marketcap_technical_analysis` · `get_crypto_metrics` · `get_global_metrics_latest` · `get_global_crypto_derivatives_metrics` · `trending_crypto_narratives` · `get_upcoming_macro_events` · `get_crypto_latest_news` · `search_crypto_info`600601**`network_slug` values:** `ethereum` `bsc` `solana` `base` `arbitrum` `polygon` `avalanche`602603---604605### 🤖 AI Trading Signals (Nofxos) — $0.001/call606607| Endpoint | Description | Key Params |608|----------|-------------|------------|609| `/api/v1/nofx/ai500/list` | AI500 high-potential coins (score > 70) | `limit` |610| `/api/v1/nofx/ai500/stats` | AI500 index statistics | — |611| `/api/v1/nofx/ai300/list` | AI300 quant model rankings | `limit` |612| `/api/v1/nofx/ai300/stats` | AI300 statistics | — |613| `/api/v1/nofx/netflow/top-ranking` | Top net capital inflow coins | `limit`, `duration`, `type` |614| `/api/v1/nofx/netflow/low-ranking` | Top net capital outflow coins | `limit`, `duration`, `type` |615| `/api/v1/nofx/oi/top-ranking` | Biggest OI increase coins | `limit`, `duration` |616| `/api/v1/nofx/oi/low-ranking` | Biggest OI decrease coins | `limit`, `duration` |617| `/api/v1/nofx/price/ranking` | Price change rankings | `duration` |618| `/api/v1/nofx/funding-rate/top` | Highest funding rate coins | `limit` |619| `/api/v1/nofx/funding-rate/low` | Most negative funding rate coins | `limit` |620| `/api/v1/nofx/upbit/hot` | Upbit hot coins by volume | `limit` |621| `/api/v1/nofx/upbit/netflow/top-ranking` | Upbit net inflow rankings | `limit`, `duration` |622| `/api/v1/nofx/upbit/netflow/low-ranking` | Upbit net outflow rankings | `limit`, `duration` |623| `/api/v1/nofx/query-rank/list` | Most searched coin rankings | `limit` |624625**`duration` values:** `5m` `15m` `1h` `4h` `24h`626627---628629### 📈 Crypto Market Data (Coinank) — $0.001–$0.003/call630631#### Price & Candlesticks632| Endpoint | Description | Key Params |633|----------|-------------|------------|634| `/api/v1/coinank/price/last` | Real-time latest price | `symbol`, `exchange`, `productType` |635| `/api/v1/coinank/kline/lists` | OHLCV candlestick data | `symbol`, `exchange`, `interval`, `size`, `endTime` |636637#### ETF Flows638| Endpoint | Description |639|----------|-------------|640| `/api/v1/coinank/etf/us-btc` | US Bitcoin ETF list (IBIT, FBTC, ARKB, etc.) |641| `/api/v1/coinank/etf/us-eth` | US Ethereum ETF list |642| `/api/v1/coinank/etf/us-btc-inflow` | US BTC ETF historical net inflow |643| `/api/v1/coinank/etf/us-eth-inflow` | US ETH ETF historical net inflow |644| `/api/v1/coinank/etf/hk-inflow` | Hong Kong crypto ETF net inflow |645646#### Fund Flow647| Endpoint | Description | Key Params |648|----------|-------------|------------|649| `/api/v1/coinank/fund/realtime` | Real-time fund flow rankings | `sortBy` (h1net/h4net/h24net), `productType`, `size` |650| `/api/v1/coinank/fund/history` | Historical fund flow by coin | `baseCoin`, `interval`, `size`, `endTime` |651652#### Open Interest653| Endpoint | Description | Key Params |654|----------|-------------|------------|655| `/api/v1/coinank/oi/all` | Real-time OI by exchange | `baseCoin` |656| `/api/v1/coinank/oi/agg-chart` | Aggregated OI history | `baseCoin`, `exchange`, `interval`, `size`, `endTime` |657| `/api/v1/coinank/oi/symbol-chart` | OI history by trading pair | `exchange`, `symbol`, `interval`, `size`, `endTime` |658| `/api/v1/coinank/oi/kline` | OI candlestick | `exchange`, `symbol`, `interval`, `size`, `endTime` |659| `/api/v1/coinank/oi/vs-market-cap-hist` | OI / market cap ratio history | `baseCoin`, `interval`, `size`, `endTime` |660661#### Liquidations662| Endpoint | Description | Key Params |663|----------|-------------|------------|664| `/api/v1/coinank/liquidation/orders` | Recent liquidation orders | `baseCoin`, `exchange`, `side`, `amount`, `endTime` |665| `/api/v1/coinank/liquidation/intervals` | Liquidation stats by period | `baseCoin` |666| `/api/v1/coinank/liquidation/agg-history` | Aggregated liquidation history | `baseCoin`, `interval`, `size`, `endTime` |667| `/api/v1/coinank/liquidation/liq-map` | Liquidation price-level clusters | `symbol`, `exchange`, `interval` |668| `/api/v1/coinank/liquidation/heat-map` | Liquidation heatmap | `exchange`, `symbol`, `interval` |669670#### Long/Short Ratios671| Endpoint | Description | Key Params |672|----------|-------------|------------|673| `/api/v1/coinank/longshort/realtime` | Real-time L/S ratio by exchange | `baseCoin`, `interval` |674| `/api/v1/coinank/longshort/buy-sell` | Global buy-sell L/S history | `baseCoin`, `interval`, `size`, `endTime` |675| `/api/v1/coinank/longshort/person` | Account-level L/S ratio | `exchange`, `symbol`, `interval`, `size`, `endTime` |676| `/api/v1/coinank/longshort/position` | Whale position-level L/S | `exchange`, `symbol`, `interval`, `size`, `endTime` |677678#### Funding Rates679| Endpoint | Description | Key Params |680|----------|-------------|------------|681| `/api/v1/coinank/funding-rate/current` | Real-time funding rate rankings | `type` (current/day/week/month/year) |682| `/api/v1/coinank/funding-rate/accumulated` | Accumulated funding cost | `type` |683| `/api/v1/coinank/funding-rate/hist` | Historical funding rates | `baseCoin`, `exchangeType`, `size`, `endTime` |684| `/api/v1/coinank/funding-rate/weighted` | Weighted average funding rate | `baseCoin`, `interval`, `size`, `endTime` |685| `/api/v1/coinank/funding-rate/heatmap` | Funding rate heatmap | `type` (openInterest/marketCap), `interval` |686687#### Whale Activity688| Endpoint | Description | Key Params |689|----------|-------------|------------|690| `/api/v1/coinank/hyper/top-position` | HyperLiquid whale positions | `sortBy`, `sortType`, `page`, `size` |691| `/api/v1/coinank/hyper/top-action` | HyperLiquid whale trade actions | — |692| `/api/v1/coinank/trades/large` | Large block trades | `symbol`, `productType`, `amount`, `size`, `endTime` |693| `/api/v1/coinank/big-order/list` | Large limit orders | `symbol`, `exchangeType`, `size`, `amount`, `side` |694695#### Taker Flow / CVD696| Endpoint | Description | Key Params |697|----------|-------------|------------|698| `/api/v1/coinank/market-order/cvd` | CVD for single pair | `exchange`, `symbol`, `interval`, `size`, `endTime` |699| `/api/v1/coinank/market-order/agg-cvd` | Aggregated CVD cross-exchange | `exchanges` (empty=all), `symbol`, `interval`, `size`, `endTime` |700| `/api/v1/coinank/market-order/buy-sell-value` | Taker buy/sell value USD | `exchange`, `symbol`, `interval`, `size`, `endTime` |701| `/api/v1/coinank/market-order/agg-buy-sell-value` | Aggregated buy/sell value | `exchanges`, `symbol`, `interval`, `size`, `endTime` |702703#### Rankings & Screeners704| Endpoint | Description | Key Params |705|----------|-------------|------------|706| `/api/v1/coinank/rank/screener` | Multi-dimensional screener | `interval` |707| `/api/v1/coinank/rank/oi` | OI rankings | `sortBy`, `sortType`, `size` |708| `/api/v1/coinank/rank/liquidation` | Liquidation rankings | `sortBy`, `sortType`, `size` |709| `/api/v1/coinank/rank/volume` | Volume rankings | `sortBy`, `sortType` |710| `/api/v1/coinank/rank/price` | Price change rankings | `sortBy`, `sortType` |711| `/api/v1/coinank/rsi/list` | RSI screener | `interval` (1H/4H/1D — uppercase) |712713#### Market Cycle Indicators714| Endpoint | Description |715|----------|-------------|716| `/api/v1/coinank/indicator/fear-greed` | Crypto fear & greed index |717| `/api/v1/coinank/indicator/altcoin-season` | Altcoin Season Index |718| `/api/v1/coinank/indicator/btc-multiplier` | BTC 2-year MA multiplier |719| `/api/v1/coinank/indicator/ahr999` | AHR999 accumulation indicator |720| `/api/v1/coinank/indicator/puell-multiple` | Puell Multiple |721| `/api/v1/coinank/indicator/ma-heatmap` | 200-week MA heatmap |722| `/api/v1/coinank/indicator/market-cap-rank` | Coin market cap share |723724#### News725| Endpoint | Description | Key Params |726|----------|-------------|------------|727| `/api/v1/coinank/news/list` | News & flash alerts | `type` (1=flash, 2=news), `lang` (zh/en), `page`, `pageSize` |728| `/api/v1/coinank/news/detail` | Full article by ID | `id` |729730---731732### 📊 US Stocks — Alpaca Markets — $0.001–$0.003/call733734| Endpoint | Description | Key Params |735|----------|-------------|------------|736| `/api/v1/alpaca/quotes/latest` | Real-time quotes | `symbols`, `feed`, `currency` |737| `/api/v1/alpaca/quotes/history` | Historical tick quotes | `symbols`, `start`, `end`, `limit`, `feed` |738| `/api/v1/alpaca/bars/latest` | Latest OHLCV bar | `symbols`, `feed`, `currency` |739| `/api/v1/alpaca/bars` | Historical OHLCV bars | `symbols`, `timeframe`, `start`, `end`, `limit`, `adjustment` |740| `/api/v1/alpaca/trades/latest` | Real-time latest trade | `symbols`, `feed` |741| `/api/v1/alpaca/trades/history` | Historical trades | `symbols`, `start`, `end`, `limit`, `feed` |742| `/api/v1/alpaca/snapshots` | Full snapshot (multi-symbol) | `symbols`, `feed` |743| `/api/v1/alpaca/snapshot` | Full snapshot (single symbol) | `symbols`, `feed` |744| `/api/v1/alpaca/movers` | Top movers by % change | `top`, `market_type` |745| `/api/v1/alpaca/most-actives` | Most active by volume | `top`, `market_type` |746| `/api/v1/alpaca/news` | Financial news | `symbols`, `start`, `end`, `limit` |747| `/api/v1/alpaca/corporate-actions` | Dividends, splits, etc. | `symbols`, `types`, `start`, `end` |748| `/api/v1/alpaca/options/bars` | Options OHLCV bars | `symbols`, `timeframe`, `start`, `end` |749| `/api/v1/alpaca/options/quotes/latest` | Options latest quotes | `symbols`, `feed` |750| `/api/v1/alpaca/options/snapshots` | Options chain snapshots | `symbols`, `feed` |751752**`timeframe` values:** `1Min` `5Min` `15Min` `1Hour` `1Day`753**`market_type` values:** `stocks` `crypto`754755---756757### 📉 US Stocks — Polygon — $0.001–$0.003/call758759| Endpoint | Description | Key Params |760|----------|-------------|------------|761| `/api/v1/polygon/aggs/ticker` | OHLCV bars | `stocks_ticker`, `multiplier`, `timespan`, `from`, `to` |762| `/api/v1/polygon/aggs/grouped` | Grouped daily bars | `date`, `adjusted` |763| `/api/v1/polygon/prev-close` | Previous session close | `stocks_ticker` |764| `/api/v1/polygon/snapshot/ticker` | Full ticker snapshot | `stocks_ticker` |765| `/api/v1/polygon/snapshot/all` | All tickers snapshot | `tickers` |766| `/api/v1/polygon/snapshot/gainers` | Top daily gainers | — |767| `/api/v1/polygon/snapshot/losers` | Top daily losers | — |768| `/api/v1/polygon/trades` | Recent trades | `stocks_ticker` |769| `/api/v1/polygon/last-trade` | Last trade | `stocks_ticker` |770| `/api/v1/polygon/quotes` | Recent quotes | `stocks_ticker` |771| `/api/v1/polygon/last-quote` | Last NBBO quote | `stocks_ticker` |772| `/api/v1/polygon/ticker-details` | Company details | `ticker` |773| `/api/v1/polygon/ticker-news` | Company news | `ticker` |774| `/api/v1/polygon/tickers` | Ticker search | `ticker`, `type`, `market` |775| `/api/v1/polygon/market-status` | US market open/closed | — |776| `/api/v1/polygon/market-holidays` | Market holidays | — |777| `/api/v1/polygon/exchanges` | Exchange list | — |778| `/api/v1/polygon/sma` | SMA indicator | `stocks_ticker`, `timespan`, `window` |779| `/api/v1/polygon/ema` | EMA indicator | `stocks_ticker`, `timespan`, `window` |780| `/api/v1/polygon/rsi` | RSI indicator | `stock_ticker`, `timespan`, `window` |781| `/api/v1/polygon/macd` | MACD indicator | `stocks_ticker`, `timespan` |782| `/api/v1/polygon/options/contracts` | Options contracts list | `underlying_asset`, `contract_type`, `expiration_date` |783| `/api/v1/polygon/options/contract-details` | Single contract details | `options_ticker` |784| `/api/v1/polygon/options/snapshot` | Options chain snapshot | `underlying_asset` |785| `/api/v1/polygon/options/snapshot/contract` | Single option snapshot | `options_ticker` |786787**`timespan` values:** `minute` `hour` `day` `week` `month` `quarter` `year`788789---790791### 🏢 US Fundamentals — Alpha Vantage — $0.001–$0.003/call792793| Endpoint | Description | Key Params |794|----------|-------------|------------|795| `/api/v1/stocks/us/quote` | Real-time quote | `symbol` |796| `/api/v1/stocks/us/search` | Symbol search | `keywords` |797| `/api/v1/stocks/us/daily` | Daily OHLCV | `symbol`, `outputsize` (compact/full) |798| `/api/v1/stocks/us/daily-adjusted` | Adjusted daily OHLCV | `symbol`, `outputsize` |799| `/api/v1/stocks/us/intraday` | Intraday OHLCV | `symbol`, `interval` (1min/5min/15min/30min/60min), `outputsize` |800| `/api/v1/stocks/us/weekly` | Weekly OHLCV | `symbol` |801| `/api/v1/stocks/us/monthly` | Monthly OHLCV | `symbol` |802| `/api/v1/stocks/us/overview` | Company fundamentals | `symbol` |803| `/api/v1/stocks/us/earnings` | Quarterly & annual earnings | `symbol` |804| `/api/v1/stocks/us/income` | Income statement | `symbol` |805| `/api/v1/stocks/us/balance-sheet` | Balance sheet | `symbol` |806| `/api/v1/stocks/us/cash-flow` | Cash flow statement | `symbol` |807| `/api/v1/stocks/us/movers` | Top gainers/losers/most active | — |808| `/api/v1/stocks/us/news` | News & sentiment | `tickers`, `topics` |809| `/api/v1/stocks/us/rsi` | RSI | `symbol`, `interval`, `time_period` |810| `/api/v1/stocks/us/macd` | MACD | `symbol`, `interval` |811| `/api/v1/stocks/us/bbands` | Bollinger Bands | `symbol`, `interval`, `time_period` |812| `/api/v1/stocks/us/sma` | SMA | `symbol`, `interval`, `time_period` |813| `/api/v1/stocks/us/ema` | EMA | `symbol`, `interval`, `time_period` |814815---816817### 🇨🇳 China A-Shares — Tushare — $0.001–$0.003/call818819| Endpoint | Description | Key Params |820|----------|-------------|------------|821| `/api/v1/stocks/cn/stock-basic` | Listed stock directory | `list_status` (L/D/P), `ts_code` |822| `/api/v1/stocks/cn/daily` | Daily OHLCV | `ts_code`, `start_date`, `end_date` |823| `/api/v1/stocks/cn/weekly` | Weekly OHLCV | `ts_code`, `start_date`, `end_date` |824| `/api/v1/stocks825826…(truncated)