Feed
About 380 wordsAbout 1 min
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
Benchmark
Snapshot time: 2026-09-22T06:43:43Z, total number of test blocks: 291
| Sequencer Feed | Win rate | P50 | P90 | P95 | P99 |
|---|---|---|---|---|---|
| Robinhood Gateway Feed | 92.44% | 0 ms | 0 ms | 8.041 ms | 34.037 ms |
| Robinhood Chain Sequencer Feed | 7.56% | 2.809 ms | 23.688 ms | 37.332 ms | 62.767 ms |
Gateway achieved a success rate of 92.44%, with a P50 latency of 0ms and a P99 latency of just 34ms, indicating extremely low core forwarding delay for Hub fan-out broadcasting. The test achieved 100% block matching, with zero block loss and no disconnections.