Skip to content

Polymarket API Overview

Understanding the Polymarket ecosystem APIs that polygolem wraps.

Gamma API (gamma-api.polymarket.com)

Read-only. No authentication.

Market metadata, events, search, tags, series, sports, comments, profiles.

CategoryEndpoints
MarketsList, by ID, by slug, by token
EventsList, by ID, by slug, keyset pagination
SearchCross-entity (markets, events, profiles, tags)
TagsList, by ID, by slug, related
SeriesList, by ID
SportsTeams, sports metadata, market types
CommentsList, by ID, by user
ProfilesPublic profile by wallet

CLOB API (clob.polymarket.com)

Public endpoints (L0): no auth. Authenticated endpoints (L1/L2): require wallet + API key.

Order book, pricing, market data, orders, trades, rewards.

CategoryAuthEndpoints
Market DataL0Order book, price, midpoint, spread, tick size, fee rate, neg risk, last trade
MarketsL0List, by condition ID, simplified, sampling
OrdersL2Place, cancel, query, heartbeat
TradesL2Get trades, builder trades
RewardsL2Config, earnings, percentages, rebates
ScoringL2Order scoring status

Data API (data-api.polymarket.com)

Read-only analytics. No auth for most endpoints.

Positions, volume, leaderboards, open interest, top holders.

Bridge API (bridge.polymarket.com)

Read-only. No auth.

Supported assets, deposit addresses, quotes, transaction status.

Relayer API (relayer-v2.polymarket.com)

Authenticated. Requires a V2 Relayer API Key or legacy builder-relayer HMAC credentials.

Gas-sponsored transaction submission for deposit-wallet lifecycle operations. This is separate from CLOB L2 auth.

CategoryEndpoints
TransactionsSubmit (WALLET-CREATE, WALLET batch), poll, list
NonceGet current WALLET nonce for EOA
DeploymentCheck if wallet deployed
API KeysRelayer key management where upstream account auth allows it

The relayer sponsors deposit-wallet deploy and WALLET batch transactions such as approvals. CLOB order placement is an authenticated API request, not a user gas transaction. Users still pay gas for direct EOA actions such as the initial pUSD transfer into the deposit wallet.

WebSocket (ws-subscriptions-clob.polymarket.com)

Market channel: no auth. User channel: L2 auth.

Real-time stream for order books, prices, trades, order events.