Base URL
| Segment | Values |
|---|---|
platform | polymarket, polymarket-clob, kalshi, gemini, coinbase, forecastex |
resource | Platform-specific path forwarded to the upstream API |
Getting a key
Join the Graylayer Discord
Request an API key in #api-key-request under the Community tab.
Authentication
All endpoints except/health require:
Health check
Error responses
| Status | Meaning |
|---|---|
401 | Missing or invalid X-API-Key |
429 | Rate limit exceeded |
502 | Upstream API error or unreachable |
503 | Upstream returned an error |
Endpoint reference
Browse the sidebar for detailed documentation of each platform’s endpoints, or use the pages below for a quick reference.Polymarket Gamma
Markets, events, tags, series, search
Polymarket CLOB
Order book, prices, spreads, profiles
Kalshi
Markets, events, order books, portfolio
Gemini
Prediction markets, market data
Forecastex
IBKR event contracts
Coinbase
Products, tickers, order books, candles