Agents Index

Perp Gap API

Online

Stock perps & tokenized stocks: trade.xyz, Aster, Lighter, OKX, xStocks, Ondo; quotes, funding. x402

Visit publisherConnectJSON

What it can do: 14 tools

  • list_marketsFREE. Catalog of every stock perp and tokenized stock agents can trade: Hyperliquid trade.xyz, Aster and Lighter perps plus Solana xStocks and Ondo Global Markets tokens. Per market: ticker, venue, symbol / Lighter marke
  • get_quotePAID $0.01 (x402, USDC on Base or Solana). Unified live quote for 1-10 stock tickers: perp mark and bid/ask mid on trade.xyz, Aster and Lighter, Solana xStock and Ondo per-share prices, last US close and the reference us
  • get_fundingPAID $0.02 (x402, USDC on Base or Solana). Stock-perp funding on trade.xyz, Aster and Lighter normalized to hourly and APR, interval, next funding time, cheapest venue to long or short, carry spread, optional history (24
  • get_token_premiumPAID $0.01 (x402, USDC on Base or Solana). Tokenized stocks (xStocks on Solana, Ondo Global Markets): each token's price per share vs the real stock reference, premium/discount %, freshness, chain and liquidity. One tick
  • get_token_liquidityPAID $0.01 (x402, USDC on Base or Solana). Tokenized stock liquidity for one ticker: each xStocks/Ondo token's Solana pool liquidity, $10k buy/sell price impact, estimated size within 1%, tradable flag, plus Ondo's issue
  • get_gap_sampleFREE. Basic perp-vs-stock gap for ONE trade.xyz stock perp (e.g. NVDA): perp mark, reference stock price, gap %. Use get_gaps for xStock gap, basis, funding and open interest.
  • get_gapsPAID $0.01 (x402, USDC on Base or Solana). Gap table for up to 60 trade.xyz stock perps (tickers=all for every auto-discovered US stock perp): perp mark/oracle vs reference stock price and Solana xStock, basis, hourly an
  • get_verdictPAID $0.03 (x402, USDC on Base or Solana). Rule-based long/short/watch/avoid verdict for one trade.xyz stock perp, using the perp-vs-stock gap, basis, funding and SEC EDGAR insider and filing signals, with reasons and co
  • get_historyPAID $0.02 (x402, USDC on Base or Solana). Historical gap time series for one trade.xyz stock perp (up to 90 days; interval 30m/1h/4h/1d): perp vs stock and xStock gaps, basis, funding, OI, plus Aster and Lighter marks a
  • get_exportPAID $0.25 (x402, USDC on Base or Solana). Bulk JSON export of one UTC day of 30-minute snapshots for all 20 tracked stock perps (cross-venue gaps, funding, OI).
  • get_research_cardPAID $0.03 (x402, USDC on Base or Solana). One-call research card for a single stock perp: spot quote and market session, perp prices on trade.xyz, Aster and Lighter, gap % per venue vs spot and vs the Solana xStock, fun
  • list_pm_marketsFREE. Live Hyperliquid HIP-4 binary price outcome markets ('BTC above 82,268 at 2026-10-18 08:00 UTC'): outcome id, asset, strike, expiry, settlement source, bid, ask, depth; empty books filtered. Use first to see what g
  • get_pm_impliedPAID $0.02 (x402, USDC on Base or Solana). Is a Hyperliquid prediction market on a crypto or stock price cheap or expensive? For every live binary price outcome on one asset: bid, ask, depth, the probability implied by t
  • get_pm_scanPAID $0.05 (x402, USDC on Base or Solana). Ranked list of the most mispriced liquid Hyperliquid prediction markets right now across crypto and tokenized-stock binary price markets: model probability vs bid/ask, edge in p

Connect it

Claude Code
claude mcp add --transport http perp-gap-api https://perp-gap-api.perpgap.workers.dev/mcp
Claude.ai / ChatGPT
Settings → Connectors → Add custom connector
URL: https://perp-gap-api.perpgap.workers.dev/mcp
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "perp-gap-api": {
      "url": "https://perp-gap-api.perpgap.workers.dev/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "perp-gap-api": {
      "type": "http",
      "url": "https://perp-gap-api.perpgap.workers.dev/mcp"
    }
  }
}

Questions

What does Perp Gap API do?

Stock perps & tokenized stocks: trade.xyz, Aster, Lighter, OKX, xStocks, Ondo; quotes, funding. x402 It exposes 14 tools to AI assistants.

What tools does Perp Gap API provide?

14 tools, including list_markets, get_quote, get_funding, get_token_premium, get_token_liquidity, get_gap_sample, get_gaps, get_verdict, get_history, get_export, get_research_card, list_pm_markets….

How do I connect Perp Gap API to Claude, ChatGPT or Cursor?

Add the remote MCP endpoint https://perp-gap-api.perpgap.workers.dev/mcp as a custom connector or MCP server. Copy-paste setup is on this page.

Does Perp Gap API require an account or API key?

No sign-in was needed to list its tools. Individual tools may still need an account or API key.

Is Perp Gap API online?

As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.

Who publishes Perp Gap API?

perp-gap-api.perpgap.workers.dev. The official MCP Registry verified that the publisher controls this domain before accepting the listing.

Similar in Crypto & Web3