Prediction Markets API
RESTful API for Polymarket and Kalshi data. Markets, events, trades, orderbooks, and wallet analytics—all from a single endpoint at api.gliss.sh.
Built for prediction market data
Comprehensive coverage of Polymarket and Kalshi with consistent schemas, rich filtering, and pagination on every endpoint.
Multi-Venue Coverage
Query Kalshi and Polymarket from a single API. Markets, events, trades, and orderbooks across venues with consistent schemas.
Rich Market Data
Volume metrics (1h, 24h, weekly, total), open interest, trade counts, buy/sell ratios, and status tracking for every market.
Historical Order Data
Access historical order flow with prices, sizes, timestamps, and wallet addresses. Filter by market, token, time range, or user.
Wallet Analytics
Track realized PnL for any Polymarket wallet over time. Daily, weekly, monthly, or yearly granularity with full trade history.
TypeScript SDK
Fully-typed SDK with IntelliSense support. Auto-generated from OpenAPI spec. Install with npm install @gliss-sh/sdk-typescript.
OpenAPI & LLM-Ready
Full OpenAPI 3.0 spec with interactive docs at docs.gliss.sh. LLM-friendly markdown spec available at /llms.txt.
API Endpoints
All endpoints return JSON with pagination. Base URL: api.gliss.sh
Polymarket
/v0/polymarket/events List events with volume, categories, and status
/v0/polymarket/markets Query markets by slug, tags, or condition ID
/v0/polymarket/orders Historical order data with wallet filtering
/v0/polymarket/orderbook-history Point-in-time orderbook snapshots
/v0/polymarket/market-price Current and historical market prices
/v0/polymarket/activity Recent trading activity for a market
/v0/polymarket/wallet/pnl/{address} Realized PnL over time for a wallet
Kalshi
/v0/kalshi/events Events with nested markets and volume data
/v0/kalshi/markets Markets with status, rules, and strike info
/v0/kalshi/trades Trade history with price, size, and taker side
Data available per market
TypeScript SDK
Auto-generated from our OpenAPI spec with full type safety. Every response is typed, every parameter validated.
Full IntelliSense support
Autocomplete for every parameter and response field
Zod validation built-in
Runtime validation with detailed error messages
Tree-shakeable
Import only what you need, keep bundles small
What you can build
From trading bots to research platforms, Gliss powers prediction market applications.
Algorithmic Trading
Build systematic strategies with historical orderbook data, real-time prices, and trade-level granularity.
Research & Backtesting
Access years of prediction market data for academic research, model training, and strategy validation.
Wallet Tracking
Monitor whale wallets, track trader performance, and analyze wallet PnL across markets.
Market Aggregation
Build dashboards and tools that aggregate data across prediction market venues in real-time.
Start building today
Get API access and explore our interactive documentation at docs.gliss.sh.