Perp Gap API

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

사용해야 할까요

품질 및 안전성

A
설명 품질
94%
스키마 완전성
94%
이름 품질
100%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (1)

  • LOWTool 'get_history' description lacks action verbget_history에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~2,615토큰 (도구 정의)
~964 B일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 2.04%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "perp-gap": {
      "url": "https://perp-gap-api.perpgap.workers.dev/mcp"
    }
  }
}

원격 엔드포인트

https://perp-gap-api.perpgap.workers.dev/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (14)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢list_markets(ticker, venue, instrument, tradable)

FREE. Catalog of every stock perp and tokenized stock agents can trade: Hyperliquid trade.xyz, Aster, Lighter and OKX perps plus Solana xStocks and Ondo Global Markets tokens. Per market: ticker, venue, symbol / Lighter market_id / Solana mint / Ondo contract, type, live and tradable_now. Use first to see where a ticker trades before get_quote or get_funding.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "Comma-separated tickers, e.g. NVDA or NVDA,TSLA. Recommended: without it you get 2,000+ rows."
    },
    "venue": {
      "type": "string",
      "description": "Comma-separated: hyperliquid-xyz, aster, lighter, xstocks-solana, ondo-gm"
    },
    "instrument": {
      "type": "string",
      "enum": [
        "perp",
        "token"
      ],
      "description": "perp or token"
    },
    "tradable": {
      "type": "boolean",
      "description": "Only markets accepting orders now"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_quote(ticker, tickers)

PAID $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, Lighter and OKX, Solana xStock and Ondo per-share prices, last US close and the reference used (pre/regular/after-hours/overnight/closed), gap % vs reference, perp spread, best bid/ask, cross-venue arb bps, freshness.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    },
    "tickers": {
      "type": "string",
      "description": "Up to 10 comma-separated tickers instead of ticker"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_funding(ticker, tickers, history, min_spread_apr)

PAID $0.02 (x402, USDC on Base or Solana). Stock-perp funding on trade.xyz, Aster, Lighter and OKX normalized to hourly and APR, interval, next funding time, cheapest venue to long or short, carry spread, optional history (24h/7d/30d). tickers='all' returns the board for every stock perp.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    },
    "tickers": {
      "type": "string",
      "enum": [
        "all"
      ],
      "description": "'all' for the full board"
    },
    "history": {
      "type": "string",
      "enum": [
        "24h",
        "7d",
        "30d"
      ],
      "description": "History window (single ticker)"
    },
    "min_spread_apr": {
      "type": "number",
      "description": "Board: minimum APR spread between venues"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_token_premium(ticker, tickers)

PAID $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 ticker, up to 10, or tickers='all'.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    },
    "tickers": {
      "type": "string",
      "description": "Up to 10 comma-separated tickers, or 'all'"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_token_liquidity(ticker)

PAID $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 issuer mint/redeem market.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    }
  },
  "required": [
    "ticker"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_gap_sample(ticker)

FREE. 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.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    }
  },
  "required": [
    "ticker"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡get_gaps(tickers, venues)

PAID $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 and annualized funding, open interest. Set venues='all' for a cross-venue comparison: trade.xyz vs Aster vs Lighter mark prices, gap % between venues, and each venue's funding (hourly and annualized).

입력 스키마

{
  "type": "object",
  "properties": {
    "tickers": {
      "type": "string",
      "description": "Comma-separated tickers or 'all', max 60 per call, e.g. NVDA or NVDA,TSLA. Defaults to 20 large names."
    },
    "venues": {
      "type": "string",
      "enum": [
        "all"
      ],
      "description": "'all' adds the trade.xyz vs Aster vs Lighter comparison"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_verdict(ticker)

PAID $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 confidence. Includes a news block (up to 5 items in 48h: SEC 8-K filings, Fed/BLS macro releases, press-wire items as our own one-line summary + link) and a heuristic news_context label (likely news-driven / news present, move small / possibly macro-driven / no matching news). Data, not financial advice.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    }
  },
  "required": [
    "ticker"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_history(ticker, from, to, interval)

PAID $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, Lighter and OKX marks and cross-venue gaps.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    },
    "from": {
      "type": "string",
      "description": "ISO start (UTC), default 7 days ago"
    },
    "to": {
      "type": "string",
      "description": "ISO end (UTC), default now"
    },
    "interval": {
      "type": "string",
      "enum": [
        "30m",
        "1h",
        "4h",
        "1d"
      ],
      "description": "Default 1h"
    }
  },
  "required": [
    "ticker"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_export(date)

PAID $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).

입력 스키마

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "UTC day YYYY-MM-DD, default yesterday"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_research_card(ticker)

PAID $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, Lighter and OKX, gap % per venue vs spot and vs the Solana xStock, funding and basis, recent 72h gap history, and the rule-based verdict. Also xStocks/Ondo token premiums, the extended-hours/overnight trade, the last 4 weekend gaps vs Monday's open and a plain-text summary block. Includes a news block (up to 5 items in 48h: SEC 8-K filings, Fed/BLS macro releases, press-wire items as our own one-line summary + link) and a heuristic news_context label (likely news-driven / news present, move small / possibly macro-driven / no matching news). Data, not financial advice.

입력 스키마

{
  "type": "object",
  "properties": {
    "ticker": {
      "type": "string",
      "description": "One ticker, e.g. NVDA"
    }
  },
  "required": [
    "ticker"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_pm_markets(asset, kind)

FREE. 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 get_pm_implied and get_pm_scan cover. Data, not advice.

입력 스키마

{
  "type": "object",
  "properties": {
    "asset": {
      "type": "string",
      "description": "Optional underlying, e.g. BTC, ETH, HYPE, SP500, XYZ100, META"
    },
    "kind": {
      "type": "string",
      "enum": [
        "crypto",
        "stocks",
        "all"
      ],
      "description": "Default all"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_pm_implied(asset, outcome, min_depth_usd)

PAID $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 the live perp price and 7d realized vol, edge in pp vs bid and ask, liquidity flag and signal. Bad input or no live market is a free error. Data, not advice.

입력 스키마

{
  "type": "object",
  "properties": {
    "asset": {
      "type": "string",
      "description": "Underlying perp, e.g. BTC, ETH, HYPE, SP500, META (default BTC)"
    },
    "outcome": {
      "type": "integer",
      "description": "Optional Hyperliquid outcome id"
    },
    "min_depth_usd": {
      "type": "number",
      "description": "Hide markets with less USDC within 5 pp of the touch on either side; default 0"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_pm_scan(min_edge_pp, max_spread_pp, min_depth_usd, limit, kind)

PAID $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 pp, spread, depth and book age; empty and illiquid books filtered. Data, not advice.

입력 스키마

{
  "type": "object",
  "properties": {
    "min_edge_pp": {
      "type": "number",
      "description": "Default 2"
    },
    "max_spread_pp": {
      "type": "number",
      "description": "Default 10"
    },
    "min_depth_usd": {
      "type": "number",
      "description": "Both sides; default 50"
    },
    "limit": {
      "type": "integer",
      "description": "1-50, default 20"
    },
    "kind": {
      "type": "string",
      "enum": [
        "crypto",
        "stocks",
        "all"
      ],
      "description": "Default all"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 14개
검증됨버전이 기록되지 않음도구 14개
검증됨버전이 기록되지 않음도구 9개