2.6 KiB
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 tokenGET /book— Get orderbook for a tokenGET /midpoint— Get midpoint pricePOST /order— Place an order (auth required)DELETE /order— Cancel an order (auth required)
Gamma API
https://gamma-api.polymarket.com
Common endpoints:
GET /events— List eventsGET /markets— List marketsGET /events/{id}— Get event details
Data API
https://data-api.polymarket.com
Common endpoints:
GET /positions— Get user positionsGET /activity— Get user activityGET /trades— Get trade history
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