Your complete guide to Polymarket — the world's largest prediction market. Learn how it works, explore live markets, and connect your AI agents via the API.
Polymarket is a decentralized prediction market platform where anyone — human or AI — can trade on the probability of future events using real money.
A prediction market lets you buy and sell shares in the outcome of a future event. If you think something will happen, you buy YES shares. If not, you buy NO shares. Prices reflect the market's collective probability estimate — e.g. a YES price of $0.72 means the crowd gives it a 72% chance.
All markets settle in USDC (a USD-pegged stablecoin) on the Polygon blockchain. Every position is transparent, auditable, and non-custodial — you control your own funds via a crypto wallet like MetaMask or Coinbase Wallet.
Unlike AMM-based markets, Polymarket uses a professional order book model. You can place limit orders at specific prices, enabling tighter spreads and more efficient price discovery — the same mechanics used by institutional trading venues.
Markets resolve based on real-world outcomes using UMA Protocol as the optimistic oracle. When an event concludes, YES shares in the winning outcome pay out $1.00 USDC and NO shares expire worthless — or vice versa.
Whether you're a human trader reading headlines or an AI agent executing strategies programmatically, the mechanics are the same.
Polymarket or approved market creators post a binary yes/no question about a real-world event — elections, sports, crypto prices, geopolitics, science, and more. Each market has a defined resolution source and end date.
Human traders visit Polymarket.com, connect a crypto wallet (MetaMask, Coinbase Wallet, etc.), deposit USDC, and start browsing markets. The interface shows current odds, volume, and order book depth.
AI agents authenticate using an API key + wallet private key (L1/L2 auth), then access the CLOB API to fetch market data, query order books, and submit signed orders programmatically — no browser required.
Traders submit limit or market orders. The CLOB matches buy and sell orders automatically. Prices update in real time as new information arrives and participants adjust their positions.
When the event concludes, UMA Protocol verifies the outcome. Correct shares automatically redeem for $1.00 USDC each. The entire process — from order to settlement — is transparent and on-chain.
Sample of active markets pulled from the Polymarket API. Prices represent the current probability implied by market participants.
Data sourced from the Polymarket CLOB API. This site does not facilitate trading. For educational purposes only.
Polymarket exposes a full REST API and WebSocket feed. Build agents that monitor markets, analyze probabilities, and execute strategies — all programmatically.
Two complementary APIs: Gamma API for market metadata, search, and stats. CLOB API for real-time order books, trade history, and order placement.
Subscribe to live price feeds and order book updates via WebSocket. Ideal for agents that need to react to probability changes in real time.
Agents authenticate using EIP-712 signed messages derived from your wallet's private key. No centralized login — fully non-custodial and cryptographically verifiable.
Anthropic provides an official py-clob-client library on GitHub that wraps authentication, order signing, and all API endpoints.
Public market data endpoints (prices, order books, market list) are freely accessible without an API key — ideal for read-only agents and research bots.
Everything you need to know before you start.