{"service":"Apex Market Data","description":"Crypto market data API. Paid per request in USDC on Base via x402.","pay_to":"0x477c34c96148d283A7FDA0252C020D005ba81451","network":"eip155:8453","endpoints":[{"method":"GET","path":"/api/price/{product}","price_usdc":0.001,"description":"Spot price, bid/ask, 24h stats for a Coinbase product (e.g. BTC-USD)"},{"method":"GET","path":"/api/book/{product}","price_usdc":0.002,"description":"Top-25 L2 order book snapshot with spread/mid for a Coinbase product"},{"method":"GET","path":"/api/candles/{product}","price_usdc":0.005,"description":"Hourly candles with computed RSI-14, SMA-20/50, ATR-14 for a Coinbase product"},{"method":"GET","path":"/api/funding","price_usdc":0.002,"description":"Deribit BTC/ETH perpetual funding rates and index/mark prices"},{"method":"GET","path":"/api/markets","price_usdc":0.001,"description":"All Coinbase Exchange products with live prices"},{"method":"GET","path":"/api/trades/{product}","price_usdc":0.001,"description":"Latest ~100 public trades for a Coinbase product (e.g. BTC-USD)"},{"method":"GET","path":"/api/dvol","price_usdc":0.002,"description":"Deribit DVOL implied-volatility index for BTC, last ~30 daily points"},{"method":"GET","path":"/api/feargreed","price_usdc":0.001,"description":"Crypto Fear & Greed index (0-100) with classification and history"},{"method":"GET","path":"/api/fees","price_usdc":0.001,"description":"Bitcoin mempool fee estimates (fastest/half-hour/hour/economy, sat/vB) plus mempool stats"},{"method":"GET","path":"/api/tvl/:protocol","price_usdc":0.002,"description":"DeFi protocol TVL and chain breakdown from DefiLlama (e.g. uniswap)"},{"method":"GET","path":"/api/yields","price_usdc":0.005,"description":"Top DeFi stablecoin yield pools by TVL (DefiLlama yields): pool, chain, project, APY"},{"method":"GET","path":"/api/gas/:chain","price_usdc":0.001,"description":"Current gas price (gwei) for an EVM chain: base or ethereum"},{"method":"GET","path":"/api/fx/:base","price_usdc":0.001,"description":"Fiat FX rates vs a base currency (e.g. USD), ~160 currencies"},{"method":"GET","path":"/api/weather/:city","price_usdc":0.001,"description":"Current weather for a city name (Open-Meteo geocoding + forecast)"},{"method":"GET","path":"/api/cryptonews","price_usdc":0.001,"description":"Latest crypto news headlines (Cointelegraph RSS): title, source, categories, url"},{"method":"GET","path":"/api/pass","price_usdc":0.1,"description":"30-day subscription pass: one payment returns a bearer token that unlocks every Apex endpoint (no per-call payment) via the X-Apex-Pass header"}],"docs":"Send a request; on HTTP 402 pay the returned payment requirements and retry with the PAYMENT-SIGNATURE header.","subscription":"GET /api/pass ($0.10) returns a 30-day X-Apex-Pass token unlocking every endpoint with no per-call payment."}