Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.graylayer.tech/llms.txt

Use this file to discover all available pages before exploring further.

Join the Graylayer Discord

Request an API key in #api-key-request under the Community tab.
The proxy supports WebSocket connections to all major platforms. Connect to the proxy WebSocket endpoint and it forwards messages to and from the upstream platform.

Connection pattern

wss://gateway.graylayer.tech/ws/{platform}/{channel}?api_key=YOUR_KEY
Because browsers cannot set custom headers on WebSocket connections, authentication uses the api_key query parameter instead of the X-API-Key header.

Available connections

PlatformPathUpstream
Kalshi/ws/kalshiwss://api.elections.kalshi.com/trade-api/ws/v2
Coinbase/ws/coinbasewss://ws-feed.exchange.coinbase.com
Gemini/ws/geminiwss://wsapi.fast.gemini.com

Platform-specific details

Kalshi

Full Kalshi WebSocket with RSA-PSS auth handled by the proxy.

Coinbase

Ticker, level2, and heartbeat channels for crypto pairs.

Gemini

Market data and prediction market streams.