> ## 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.

# Market data

> Price history, order books, trades, and ticker data

## Price history

Historical prices for market outcomes:

```bash theme={null}
GET /v1/pm/events/{eventId}/price-history?interval=1h
```

## Order book

Current bids and asks (CLOB markets only):

```bash theme={null}
GET /v1/pm/books?marketId={marketId}
```

## Recent trades

Executed trades (CLOB markets only):

```bash theme={null}
GET /v1/pm/trades?marketId={marketId}
```

## Ticker

Real-time market statistics (CLOB markets only):

```bash theme={null}
GET /v1/pm/markets/{marketId}/ticker
```

For real-time streaming data, see the [WebSocket](/websocket/introduction) documentation.
