Home / Blog / Guides

Guides

A Real-Time Copy-Trading Data Feed for Robinhood Chain

Wire a copy-trading data feed for Robinhood Chain: rank traders by PnL, judge their real entry and exit, resolve their chain-4663 wallet, then react to every buy and sell the moment it happens over the WebSocket.

Pixel-art blockchain rail carrying linked blocks and early trading signals through a digital city.

Copy trading is a data problem before it is a trading problem. You need four things: who is worth copying, what they actually did, which wallet is theirs, and a live signal the moment they move. On Robinhood Chain, the busiest chain on fomo.family, the FOMO API gives you all four from one key. Here is the feed.

1. Who to copy

Rank traders by PnL. The leaderboard uses fomo.family's PnL figures, with each row resolved to real wallets you can check on-chain.

curl "https://api.fomoapi.io/v2/leaderboard/7d?limit=25" \
  -H "authorization: Bearer YOUR_API_KEY"

Each row carries the handle, PnL for the window, volume, and both wallets. To see who is actually driving Robinhood Chain right now rather than overall, pull the chain-scoped activity stream and count the active names:

curl "https://api.fomoapi.io/v2/alerts?chain=robinhood&limit=200" \
  -H "authorization: Bearer YOUR_API_KEY"

2. What they actually did

Before you copy anyone, read their real trades. Each one is labeled with its chain, so you can judge their Robinhood Chain record specifically.

curl "https://api.fomoapi.io/v2/users/<handle>/positions?limit=50" \
  -H "authorization: Bearer YOUR_API_KEY"
{ "chain": "robinhood", "chainId": 4663, "side": "buy",
  "token": { "symbol": "BOW", "address": "0x..." }, "sizeUsd": 5000 }

3. Which wallet is theirs

Robinhood Chain is EVM, so the trader's Robinhood wallet is their EVM address. Resolve it, plus PnL and holdings, in one call:

curl "https://api.fomoapi.io/v2/users/<handle>" \
  -H "authorization: Bearer YOUR_API_KEY"
# wallets.evm is the Robinhood Chain wallet

4. Act the moment they move

This is the part that makes it copy trading and not a daily report. Open one WebSocket scoped to the trader you are copying and you receive only their activity, live:

const ws = new WebSocket(
  "wss://api.fomoapi.io/ws/alerts?trader=<handle>&chain=robinhood"
);
ws.on("message", (raw) => {
  const a = JSON.parse(raw);
  if (a.type !== "alert") return;
  // a.alertType is "buy" | "sell" | "thesis"
  // a.token, a.tokenAddress, a.usdValue, a.chain === "robinhood"
  // -> place or close your mirrored position here
});

Drop &chain=robinhood to mirror them across every chain; keep it to copy only their Robinhood Chain moves. Open one connection per trader, or connect to the full ?chain=robinhood stream and route by a.trader in your handler.

The whole loop, one key

Leaderboard to find them, trades to judge them, GET /v2/users/{handle} for the wallet, and the WebSocket to act. Nothing to stitch together, and every record on Robinhood Chain arrives labeled chain: "robinhood". Live balances (GET /v2/users/{handle}/balances) fill in the current positions to mirror where a trader has been captured on-device.

The free tier includes the WebSocket and 10,000 requests per month. For 24/7 streaming and higher volume, see /pricing.

FOMO API is an independent, unofficial data layer for fomo.family. It is not affiliated with, endorsed by, or sponsored by FOMO or Robinhood.

Ship on fomo.family trader data

Both-chain wallets, PnL and holdings, plus two live streams: the app feed on every plan, the on-chain stream on Growth. One API.

Get an API key

FAQ

What is the minimum feed for a Robinhood Chain copy-trading bot?
Four calls: GET /v2/leaderboard/{window} to pick traders, GET /v2/users/{handle}/positions to judge them, GET /v2/users/{handle} for the Robinhood wallet, and wss://api.fomoapi.io/ws/alerts?trader=<handle>&chain=robinhood to act live.
How do I copy only a trader's Robinhood Chain moves?
Add &chain=robinhood to the per-trader WebSocket (chain 4663). Remove it to mirror the trader across every chain.
How do I judge a trader before copying?
GET /v2/users/{handle}/positions returns their real trades, each labeled with its chain and carrying size and realized PnL, so you can assess their Robinhood Chain record specifically. Every row carries the wallet behind it.
Can I follow many traders on one connection?
Yes. Connect to wss://api.fomoapi.io/ws/alerts?chain=robinhood and route each message by its trader field, or open one connection per trader with its own ?trader=.
Is this affiliated with Robinhood or FOMO?
No. FOMO API is an independent, unofficial data layer for fomo.family and is not affiliated with FOMO or Robinhood.