Free REST · Pro and above for streaming · Compare plans and subscribe
Cache KOL rankings while streaming trades
Keep the Solana KOL feed current and reuse a seven-day leaderboard across viewers with different refresh needs.
Integration choice
Cache the ranking by period, sort and filters. Give the live feed its own subscription and cursor. Share identical leaderboard reads across simultaneous viewers and set the expiry from your product’s freshness target.
Implementation steps
- Load the feed for recent trades and request the seven-day leaderboard separately. The ranking describes a window of activity and cannot be reconstructed from the latest page of trades.
- Use the kol:trades channel for new trades with an eligible plan. Cache the leaderboard separately with an expiry that matches how often your interface needs to update.
- Before embedding a public feed, check the display rights in your plan and the terms. A successful request confirms technical access only.
Code examples
Recent trades
curl -s "https://madeonsol.com/api/v1/kol/feed?limit=5" \
-H "Authorization: Bearer $MADEONSOL_API_KEY"Seven-day ranking
curl -H "Authorization: Bearer $MADEONSOL_API_KEY" "https://madeonsol.com/api/v1/kol/leaderboard?period=7d&limit=10"Verify your integration
Open two matching leaderboard views and count upstream reads during one cache lifetime. They should share the result. Switching the ranking window should fetch the matching ranking, while incoming trades continue updating the feed.
