Skip to main content
Glama

Perp Gap API

get_history

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 and Lighter marks and cross-venue gaps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO end (UTC), default now
fromNoISO start (UTC), default 7 days ago
tickerYesOne ticker, e.g. TSLA
intervalNoDefault 1h

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources