requests installed. Run python -m pip install requests if needed. The snippets share the variables defined in step 1.
1. Read flagged large trades
Request Large trades withsuspicious_only=true. This keeps trades whose recorded suspicion score is at least 60.
suspicion_track identifies the scorer:
2. Read the scorer’s evidence
Suspicious trades sorts stored flags by suspicion score and includes the recordedscores and evidence. Use Suspicious trade to read one flag by its rf_ ID.
3. Check the wallet and market
A flagged trade includes the wallet’s identity, but not its grade. Read Trader forgrade, stats.markets_traded, and sync_status.
Read Market flow to compare the trade with net large-trade flow over the last 24 hours. The sharp_money.direction field is YES or NO, and net_flow_usd is the signed flow in the selected window.
200 with sync_status: "unknown". It can have no grade; keep that absence visible. The deprecated market intel route and smart_money field remain aliases, but use market flow and sharp_money for new code.
Compare both side and outcome on the trade with the flow direction. Buying YES and selling NO can affect net flow in the same direction.
4. Check other graded holders
Market holders returns the S-, A-, and B-grade wallets with open shares in the market. It uses a complete provider holder scan and fails with503 if that scan cannot produce a complete roster.
outcome=yes or outcome=no for one side. min_grade=A keeps S and A; its default, B, also includes B. Follow the cursor if the roster spans more than one page.
Each row includes side, grade, shares, and current_value_usd. A wallet holding both outcomes appears once, on its net side.
is_new_wallet appears only when the wallet earns a badge. It counts from the first trade recorded by 0xinsider, not the first on-chain transaction, and is true for a recorded first trade less than 30 days ago.
5. Receive new flags by webhook
Subscribe tosuspicious_trade_flagged. It fires when a trade first crosses the flag threshold. The older insider_radar_flag_raised spelling remains supported for existing subscribers.
The event includes trade_id, wallet, trader_id, condition_id, suspicion_score, track, side, size, and price. Here, side is the traded outcome (yes or no), and size is shares. Those meanings differ from BUY/SELL and size_usd on the large-trade object.
Follow Webhooks to register a destination and verify delivery signatures.
Limits
- The suspicion score is a heuristic, not proof of inside knowledge.
- The flag does not include a wallet grade. Request the trader separately.
- The API does not store watch-level flags or place orders.
- A recorded first-trade date does not establish the wallet’s on-chain age.
review_scoreis a separate score with a different purpose; see Scores.