Feed
About 289 wordsLess than 1 minute
2026-09-18
Overview
GET /v1/feed provides a WebSocket real-time feed service. Once connected, you will automatically receive streaming data from the Robinhood Chain feed -- no additional subscription steps are needed.
Connection
WebSocket wss://robinhood-ohio.flashblock.trade/v1/feedHeaders
| Header | Required | Description |
|---|---|---|
X-User-ID | Yes | Your API Key |
Examples
JavaScript:
const ws = new WebSocket('wss://robinhood-ohio.flashblock.trade/v1/feed', {
headers: {
'X-User-ID': '<your-api-key>'
}
});
ws.onopen = () => {
console.log('Feed connected');
};
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
console.log('Feed:', data);
};
ws.onclose = (event) => {
console.log('Disconnected:', event.code, event.reason);
// Implement automatic reconnection logic
};wscat (CLI):
wscat -c "wss://robinhood-ohio.flashblock.trade/v1/feed" \
-H "X-User-ID: <your-api-key>"Python:
import asyncio
import websockets
import json
async def feed_client():
uri = "wss://robinhood-ohio.flashblock.trade/v1/feed"
headers = {"X-User-ID": "<your-api-key>"}
async with websockets.connect(uri, extra_headers=headers) as ws:
async for message in ws:
data = json.loads(message)
print(f"Feed: {data}")
asyncio.run(feed_client())Connection Limits
Feed connection limits by plan:
| Plan | Max Concurrent Connections |
|---|---|
| Free | Not available |
| Advanced | 1 |
| Premium | 1 |
- Free users will receive a
403 feed_not_entitlederror when connecting - Exceeding the connection limit returns
429 feed_limit_exceeded - Close an existing connection before opening a new one
See Pricing and Plans for full plan details.
Keep-Alive
The Gateway automatically sends WebSocket Ping frames to maintain the connection. Your client must respond with Pong frames (most WebSocket libraries handle this automatically), or the connection will be closed after a timeout.
Recommended Client Behavior
- Auto-reconnect -- Implement reconnection logic with exponential backoff (initial 1s, max 30s)
- Message processing -- Consume messages promptly to avoid message loss from buffer overflow
- Heartbeat -- Ensure your WebSocket library automatically replies to Ping frames with Pong