Skip to main content

Base URL

API endpoints follow the pattern:

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

No authentication required.

Error responses

Proxy errors return JSON:
Upstream errors are passed through with the upstream status code and body.

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