Files
PolymarketDocumentation/docs/quickstart/reference/endpoints.md
T
2026-02-14 12:59:26 +01:00

2.6 KiB

Documentation Index

Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt Use this file to discover all available pages before exploring further.

Endpoints

All Polymarket API URLs and base endpoints

All base URLs for Polymarket APIs. See individual API documentation for available routes and parameters.


REST APIs

API Base URL Description
CLOB API https://clob.polymarket.com Order management, prices, orderbooks
Gamma API https://gamma-api.polymarket.com Market discovery, metadata, events
Data API https://data-api.polymarket.com User positions, activity, history

WebSocket Endpoints

Service URL Description
CLOB WebSocket wss://ws-subscriptions-clob.polymarket.com/ws/ Orderbook updates, order status
RTDS wss://ws-live-data.polymarket.com Low-latency crypto prices, comments

Quick Reference

CLOB API

https://clob.polymarket.com

Common endpoints:

  • GET /price — Get current price for a token
  • GET /book — Get orderbook for a token
  • GET /midpoint — Get midpoint price
  • POST /order — Place an order (auth required)
  • DELETE /order — Cancel an order (auth required)

Full CLOB documentation →

Gamma API

https://gamma-api.polymarket.com

Common endpoints:

  • GET /events — List events
  • GET /markets — List markets
  • GET /events/{id} — Get event details

Full Gamma documentation →

Data API

https://data-api.polymarket.com

Common endpoints:

  • GET /positions — Get user positions
  • GET /activity — Get user activity
  • GET /trades — Get trade history

Full Data API documentation →

CLOB WebSocket

wss://ws-subscriptions-clob.polymarket.com/ws/

Channels:

  • market — Orderbook and price updates (public)
  • user — Order status updates (authenticated)

Full WebSocket documentation →

RTDS (Real-Time Data Stream)

wss://ws-live-data.polymarket.com

Channels:

  • Crypto price feeds
  • Comment streams

Full RTDS documentation →