Skip to main content
All market data is available through public REST endpoints. No API key, no authentication, no wallet required.
curl "https://gamma-api.polymarket.com/events?limit=5"

Data Model

Polymarket structures data using two organizational models. The most fundamental element is always markets—events simply provide additional organization.
1

Event

A top-level object representing a question (e.g., “Who will win the 2024 Presidential Election?”). Contains one or more markets.
2

Market

A specific tradable binary outcome within an event. Maps to a pair of CLOB token IDs, a market address, a question ID, and a condition ID.

Single-Market Events vs Multi-Market Events

TypeExample
Single-market event”Will Bitcoin reach $100k?” → 1 market (Yes/No)
Multi-market event”Where will Barron Trump attend College?” → Markets for Georgetown, NYU, UPenn, Harvard, Other

Outcomes and Prices

Each market has outcomes and outcomePrices arrays that map 1:1. Prices represent implied probabilities:
{
  "outcomes": "[\"Yes\", \"No\"]",
  "outcomePrices": "[\"0.20\", \"0.80\"]"
}
// Index 0: "Yes" → 0.20 (20% probability)
// Index 1: "No" → 0.80 (80% probability)
Markets can be traded via the CLOB if enableOrderBook is true.

Available Data

Endpoints are split across three APIs. See the API Reference for full endpoint documentation with parameters and response schemas.

Gamma API - Events Markets and Discovery

EndpointDescription
GET /eventsList events with filtering and pagination
GET /events/{id}Get a single event by ID
GET /marketsList markets with filtering and pagination
GET /markets/{id}Get a single market by ID
GET /public-searchSearch across events, markets, and profiles
GET /tagsRanked tags/categories
GET /seriesSeries (grouped events)
GET /sportsSports metadata
GET /teamsTeams

CLOB API - Prices and Orderbooks

EndpointDescription
GET /pricePrice for a single token
GET /pricesPrices for multiple tokens
GET /bookOrder book for a token
POST /booksOrder books for multiple tokens
GET /prices-historyHistorical price data for a token
GET /midpointMidpoint price for a token
GET /spreadSpread for a token

Data API - Positions Trades and Analytics

EndpointDescription
GET /positions?user={address}Current positions for a user
GET /closed-positions?user={address}Closed positions for a user
GET /activity?user={address}Onchain activity for a user
GET /value?user={address}Total position value
GET /oiOpen interest for a market
GET /holdersTop holders of a market
GET /tradesTrade history

Next Steps