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.

Upstream: wss://wsapi.fast.gemini.com

Connect

wscat -c "wss://gateway.graylayer.tech/ws/gemini?api_key=your_key"
After connecting, subscribe to symbols following the Gemini WebSocket API:
{
  "type": "subscribe",
  "subscriptions": [
    {"name": "l2", "symbols": ["BTCUSD", "ETHUSD"]}
  ]
}

Prediction market streams

Subscribe to prediction market symbols to receive real-time updates:
{
  "type": "subscribe",
  "subscriptions": [
    {"name": "l2", "symbols": ["TRUMPWIN"]}
  ]
}
Refer to the Gemini WebSocket docs for the full list of subscription types and event formats.