0xinsider
Prediction market intelligence for AI agents - 30 read-only tools over Polymarket and Kalshi data: S-F trader grades, real-time large-trade feed, smart money flow, suspicious-activity flags, and analytics reports. Remote at https://api.0xinsider.com/api/v1/mcp or npx -y @0xinsider/mcp.
Documentation
0xinsider API Documentation
Documentation for the 0xinsider API — prediction market intelligence for AI agents, trading bots, and research tools.
What is 0xinsider?
0xinsider provides trader grades, whale trade signals, smart money flow analysis, and insider detection across Polymarket and Kalshi.
The API gives you programmatic access to the same intelligence powering the 0xinsider terminal.
API endpoints
- Trader — grades (S through F), P&L, win rate, strategy detection
- Leaderboard — top traders ranked by score with cursor pagination
- Whale Trades — large trades with signal scoring, filterable by grade and category
- Explore Markets — browse whale-active titled markets by category, platform, status, and sort order
- Market Intel — smart money flow direction, buy/sell volumes, top positions
- Search Markets — find markets by keyword with category and status filters
- Insider Radar — suspicious trading patterns and pre-resolution accumulation
MCP Server
Connect AI agents to 0xinsider via the Model Context Protocol:
npx -y @0xinsider/mcp init
Supports Claude Code, Cursor, Codex, Gemini CLI, and other stdio-compatible MCP clients.
See the MCP docs and the npm package for setup details.
Local development
Install Mintlify CLI:
npm i -g mint
Preview locally:
mint dev
Open http://localhost:3000.
Check that every OpenAPI operation has a Mintlify endpoint page and navigation entry:
python3 scripts/check-openapi-parity.py
The docs OpenAPI spec (api-reference/openapi.json) is a synced copy of the
app's canonical spec (web/public/api/v1/openapi.json in the 0xinsider repo),
which is the single source of truth. After re-syncing it, confirm the two specs
are structurally identical (run from a sibling checkout, or adjust the path):
cp ../0xinsider/web/public/api/v1/openapi.json api-reference/openapi.json
python3 scripts/generate-objects-reference.py
python3 scripts/check-spec-sync.py --app-spec ../0xinsider/web/public/api/v1/openapi.json
python3 scripts/check-openapi-parity.py