SwapHunt x402 API

active

Pay-per-call crypto market data. No API key — agents pay in USDC via the x402 protocol. Docs, prices and examples: https://swaphunt.dev/api

DataBaseSolanax402 v2exactswaphunt.dev ↗︎

Settled via Coinbase.

Transactions · 30d
271
Volume · 30d
$0.731
Unique buyers · 30d
23
Uptime · 30d
87.0%
Latency p50
407ms
Reported calls · 30d
271

Endpoints (44 live)

  • GET /v1/market/halving — Use when the user asks when the next Bitcoin or Litecoin halving is. Returns current and halving block, blocks and days remaining, estimated date, progress % and block reward before and after. Estimated from block time, not an exact timestamp. Ex: symbol=LTC (0.001 USDC on Base)
  • GET /v1/vol/realized — Use when the user asks how volatile a coin has been. Returns daily and annualized realized volatility % over 7d, 14d or 30d of daily candles on Hyperliquid perpetuals, a low/normal/high/extreme level and today's UTC range vs open. Not implied vol. Ex: symbol=BTC&period=30d (0.002 USDC on Base)
  • GET /v1/context/session — Use when the user asks which trading session is active or how volatile this time of day usually is. Returns the session (Asian, London, New York, Off-hours), overlap, minutes left, the next session and its typical volatility multiplier, from the UTC clock. Ex: no parameters (0.005 USDC on Base)
  • GET /v1/context/weekend-liquidity — Use when the user asks whether crypto liquidity is thin right now, e.g. on a weekend or in off-hours. Returns is_weekend, is_low_liquidity, the session, a 0-100 liquidity score and a verdict, from the UTC clock (no market data). Ex: no parameters (0.005 USDC on Base)
  • GET /v1/market/fear-greed — Use when the user asks how fearful or greedy the crypto market is today. Returns the Crypto Fear & Greed Index (0-100), its label (Extreme Fear to Extreme Greed) and the attribution to show with it; daily. For trend use /v1/market/fear-greed/compare. Ex: no parameters (0.001 USDC on Base)
  • GET /v1/tools/price — Use when the user asks the current price of one coin. Returns the mark price (or order-book mid with price_type=mid) on Hyperliquid perpetuals in USDC, 24h change % and 24h notional volume; high/low are null. For several coins use /v1/tools/price/multi. Ex: symbol=ETH (0.001 USDC on Base)
  • GET /v1/market/fear-greed/compare — Compares market fear and greed sentiment across assets or time periods. (0.002 USDC on Solana)
  • GET /v1/regime/current — Use when the user asks whether the crypto market (BTC) is bullish, bearish or neutral. Returns the regime from the BTC price on Hyperliquid perpetuals vs its 20-period EMA on 12h candles, with EMA, distance and slope; updates 00:00 and 12:00 UTC. BTC only. Ex: no parameters (0.01 USDC on Base)
  • GET /v1/vol/compression-alert — Bollinger-Band squeeze detector: is volatility compressing toward a likely expansion? Returns extreme/strong/moderate/none plus bandwidth. Use to anticipate breakouts before they fire. Detects the setup, not the direction. (0.003 USDC on Base)
  • GET /v1/tools/price/supported — Every asset /v1/tools/price and /v1/tools/price/multi can quote: all active Hyperliquid perpetuals (USDC-margined), by Hyperliquid name (e.g. kPEPE = 1,000 PEPE). Call this once to discover valid `asset` symbols before pricing. Returns an object with the asset list, count, quote currency (USDC) and source, plus `covered`: the coins the analysis endpoints accept (top 50 Hyperliquid perpetuals by 30-day volume, recomputed daily) and the `coverage_rule` (0.001 USDC on Base)
  • GET /v1/derivatives/funding-rates/history — Settled funding rates for one Binance USDT perpetual, up to 365 days, with average, range, share of positive periods and the percentile of the latest rate. Annualized at the symbol's own interval (1h, 4h or 8h). Use to judge whether today's funding is unusual for that coin. (0.004 USDC on Base)
  • GET /v1/pm/fees — Exact trading fee for one order on Kalshi, Polymarket US or polymarket.com, from the official fee schedules: fee in USD and as % of trade value, the break-even exit price for a round trip after both fees, and the rates version (as_of date, Kalshi fee schedule version). Kalshi rounds fee + position cost up to a whole centicent; polymarket.com needs a category. Fees only, no market data (0.005 USDC on Solana)
  • GET /v1/sanity/is-this-support — Is a price level valid support? Counts touches within 0.5% over 90 daily candles of Hyperliquid perpetuals (USDC-margined), with recency and bounce quality, so an agent can judge whether the level is likely to hold. Use before leaning on a support for entries or stops. Requires the level in USDC. Coverage: top 50 Hyperliquid perpetuals by 30-day volume; see /v1/tools/price/supported (other coins get 422 not_covered, no charge) (0.003 USDC on Base)
  • GET /v1/sanity/is-this-a-breakout — Is a breakout from a given level real or a fakeout? Checks volume vs the 20-candle average and how many 1h closes held beyond the level, on Hyperliquid perpetuals (USDC-margined), and returns is_confirmed, a fakeout probability and a verdict. Use to validate a breakout before chasing it. Requires the level in USDC. Coverage: top 50 Hyperliquid perpetuals by 30-day volume; see /v1/tools/price/supported (other coins get 422 not_covered, no charge) (0.003 USDC on Base)
  • GET /v1/vol/silence — Market-silence score 0-1 — a composite of low volume, low volatility and small price change. High silence often precedes expansion. Use to spot the calm-before-the-move. Pairs with /vol/compression-alert. (0.002 USDC on Solana)
  • GET /v1/market/fear-greed/history — Historical Fear & Greed time series (up to 365 days), each day with value + classification. Use to backtest sentiment, chart mood cycles or correlate fear/greed with price. The raw series, not a summary. (0.005 USDC on Solana)
  • GET /v1/market/correlation — Pearson correlation (-1 to +1) of a coin's returns vs BTC on Hyperliquid perpetuals (USDC-margined): 7d on 1h candles or 30d on 4h candles, with a strength label and data point count. Use to judge diversification and whether an alt moves on its own or just tracks BTC. A correlation coefficient, not a beta. Coverage: top 50 Hyperliquid perpetuals by 30-day volume; see /v1/tools/price/supported (other coins get 422 not_covered, no charge) (0.003 USDC on Solana)
  • GET /v1/fomo/pump-age — Active pump detector on the last 24 hours of 15m candles of Hyperliquid perpetuals (USDC-margined): is the coin pumping now, since when, how far, and how that compares with the average pump length in the window. Use to judge whether a move is fresh or exhausted before joining it. Coverage: top 50 Hyperliquid perpetuals by 30-day volume; see /v1/tools/price/supported (other coins get 422 not_covered, no charge) (0.003 USDC on Solana)
  • GET /v1/fomo/green-candles-streak — Counts consecutive green candles on 1h, 4h or 1d candles of Hyperliquid perpetuals (USDC-margined) and how often the next candle was green after streaks that long in the last 100 candles. Use to gauge exhaustion risk before buying a long green run. Coverage: top 50 Hyperliquid perpetuals by 30-day volume; see /v1/tools/price/supported (other coins get 422 not_covered, no charge) (0.003 USDC on Base)
  • GET /v1/market/alt-season — Alt-season read: CoinMarketCap's Altcoin Season Index (0-100, top-100 alts vs BTC over 90 days) plus SwapHunt's short-term check of how many of the top-10 alts beat BTC over the lookback window, their average return vs BTC, leaders and laggards, and an is_alt_season verdict. Use to time BTC↔alt rotation. Complements /dominance (capital location) with relative-performance signal. (0.003 USDC on Solana)

+24 more endpoints.

First seen · last seen · last active