Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.bayse.markets/llms.txt

Use this file to discover all available pages before exploring further.

Price history

Historical prices for market outcomes:
GET /v1/pm/events/{eventId}/price-history?interval=1h

Order book

Current bids and asks (CLOB markets only):
GET /v1/pm/books?marketId={marketId}

Recent trades

Executed trades (CLOB markets only):
GET /v1/pm/trades?marketId={marketId}

Ticker

Real-time market statistics (CLOB markets only):
GET /v1/pm/markets/{marketId}/ticker
For real-time streaming data, see the WebSocket documentation.