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

# Get series events

> Get a lightweight list of events belonging to a series

## Authentication

Public — no authentication required.

## Path parameters

<ParamField path="seriesSlug" type="string" required>
  Slug of the event series (e.g. `crypto-btc-1h`).
</ParamField>

## Example request

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://relay.bayse.markets/v1/pm/events/series/crypto-btc-1h/lean-events"
  ```

  ```javascript Node.js theme={null}
  const seriesSlug = 'crypto-btc-1h';
  const response = await fetch(
    `https://relay.bayse.markets/v1/pm/events/series/${seriesSlug}/lean-events`
  );
  const events = await response.json();
  ```

  ```python Python theme={null}
  import requests

  series_slug = 'crypto-btc-1h'
  resp = requests.get(
      f'https://relay.bayse.markets/v1/pm/events/series/{series_slug}/lean-events'
  )
  events = resp.json()
  ```

  ```go Go theme={null}
  req, _ := http.NewRequest(
      "GET",
      "https://relay.bayse.markets/v1/pm/events/series/crypto-btc-1h/lean-events",
      nil,
  )
  resp, _ := http.DefaultClient.Do(req)
  ```
</CodeGroup>

## Response

Returns an array of lightweight event summaries (max 20 events).

<ResponseField name="[]" type="array">
  <Expandable title="event summary fields">
    <ResponseField name="id" type="string">UUID of the event.</ResponseField>
    <ResponseField name="title" type="string">Event title.</ResponseField>
    <ResponseField name="openingDate" type="string">ISO 8601 — when the event opens for trading.</ResponseField>
    <ResponseField name="closingDate" type="string">ISO 8601 — when trading closes.</ResponseField>
    <ResponseField name="resolutionDate" type="string">ISO 8601 — when the outcome is determined.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={null}
  [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "title": "Bitcoin Hourly — Feb 24 11am GMT",
      "openingDate": "2025-02-24T11:00:00Z",
      "closingDate": "2025-02-24T12:00:00Z",
      "resolutionDate": "2025-02-24T12:01:00Z"
    },
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "title": "Bitcoin Hourly — Feb 24 12pm GMT",
      "openingDate": "2025-02-24T12:00:00Z",
      "closingDate": "2025-02-24T13:00:00Z",
      "resolutionDate": "2025-02-24T13:01:00Z"
    }
  ]
  ```

  ```json 404 Not Found theme={null}
  {
    "error": "not_found",
    "message": "Series not found",
    "statusCode": 404
  }
  ```
</ResponseExample>
