Skip to main content
Pro Feature. Requires a Pro or Ultra subscription. Get started at api.mathematicalcompany.com

Wallet Analytics

Horizon provides read-only access to Polymarket’s public Data API for wallet-level analytics. Fetch any wallet’s trade history, open positions, portfolio value, and public profile - no authentication or private keys required.
All wallet analytics use Polymarket’s public Data API. You only need a wallet address (0x…) to look up any trader. This is useful for flow analysis, whale tracking, copy trading research, and competitive intelligence.

Overview

Trade History

hz.get_wallet_trades() and hz.get_market_trades() for per-wallet and per-market trade feeds.

Open Positions

hz.get_wallet_positions() with PnL, entry price, current price, and multiple sort options.

Top Holders

hz.get_top_holders() to see the largest positions in any market.

Flow Analysis

hz.analyze_market_flow() aggregates buy/sell volume, net flow, and top buyers/sellers.

Trade History

hz.get_market_trades

Fetch recent trades for a specific market.
Returns newest trades first.

hz.get_wallet_trades

Fetch all trades for a specific wallet.

Positions

hz.get_wallet_positions

Fetch open positions for a wallet with full PnL data.
Sort options:

hz.get_wallet_value

Get total USD value of all open positions.
Returns 0.0 on error or if the wallet has no positions.

Top Holders

hz.get_top_holders

Get the largest position holders in a market.
Results are sorted by position size (descending).

Wallet Profile

hz.get_wallet_profile

Fetch public profile for a Polymarket wallet.
Returns None if no profile exists for the address.

Flow Analysis

hz.analyze_market_flow

Aggregate trade flow analytics for a market - buy/sell volume, net flow, unique wallets, and top buyers/sellers.

Data Types

Trade

WalletPosition (PolymarketPosition)

WalletPosition is imported as hz.PolymarketPosition to distinguish it from the engine’s internal Position type.

Holder

WalletProfile

MarketFlow


Examples

Whale Tracking

Smart Money Flow

Portfolio Snapshot

Wallet analytics use Polymarket’s public Data API and are currently only available for Polymarket markets. Kalshi does not provide public wallet-level data. Rate limiting may apply for high-frequency requests.