Follow a trader
MCP tool: set_follow
One endpoint with an action rather than three verbs on one path. Following is what makes a trader's trades reach you, and is a prerequisite for autopilot.
Following is idempotent, so a retry is safe.
Requires a key with the write scope.
Body parameters
actionstringrequired"follow", "unfollow", "alerts_on" or "alerts_off".
Response
alerts_on and alerts_off return { "alertsEnabled": boolean } instead, and 404 with code NOT_FOUND when you do not follow that trader.
curl -X POST https://api.rivo.markets/v1/traders/polymarket/0x9f2c8e1b7a4d6035c8e1b7a4d60359f2c8e1b7a4/follow \
-H "Authorization: Bearer rivo_live_..." \
-H "Content-Type: application/json" \
-d '{
"action": "follow"
}'import requests
r = requests.post(
"https://api.rivo.markets/v1/traders/polymarket/0x9f2c8e1b7a4d6035c8e1b7a4d60359f2c8e1b7a4/follow",
headers={"Authorization": "Bearer rivo_live_..."},
json={
"action": "follow",
},
)
print(r.json()["data"])const res = await fetch("https://api.rivo.markets/v1/traders/polymarket/0x9f2c8e1b7a4d6035c8e1b7a4d60359f2c8e1b7a4/follow", {
method: "POST",
headers: {
Authorization: "Bearer rivo_live_...",
"Content-Type": "application/json",
},
body: JSON.stringify({
action: "follow",
}),
});
const { data } = await res.json();response
{
"success": true,
"data": { "following": true }
}