> ## 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 active liquidity rewards

> Get the authenticated user's in-progress reward accumulation across active epochs

## Authentication

Requires API key authentication with read scope.

## Example request

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://relay.bayse.markets/v1/pm/liquidity-rewards/active" \
    -H "X-Public-Key: pk_live_abcdef123456"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://relay.bayse.markets/v1/pm/liquidity-rewards/active',
    { headers: { 'X-Public-Key': 'pk_live_abcdef123456' } }
  );
  const data = await response.json();
  ```

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

  resp = requests.get(
      'https://relay.bayse.markets/v1/pm/liquidity-rewards/active',
      headers={'X-Public-Key': 'pk_live_abcdef123456'},
  )
  data = resp.json()
  ```

  ```go Go theme={null}
  req, _ := http.NewRequest("GET", "https://relay.bayse.markets/v1/pm/liquidity-rewards/active", nil)
  req.Header.Set("X-Public-Key", "pk_live_abcdef123456")
  resp, _ := http.DefaultClient.Do(req)
  ```
</CodeGroup>

## Response

<ResponseField name="data" type="array">
  List of active reward accumulations (one per active epoch the user participates in).

  <Expandable title="active reward fields">
    <ResponseField name="epochId" type="string">UUID of the reward epoch.</ResponseField>
    <ResponseField name="eventId" type="string">UUID of the event.</ResponseField>
    <ResponseField name="marketId" type="string">UUID of the market.</ResponseField>
    <ResponseField name="accumulatedShares" type="number">Liquidity shares accumulated so far in this epoch.</ResponseField>
    <ResponseField name="sampleCount" type="integer">Number of sampling intervals the user has qualified for so far.</ResponseField>
    <ResponseField name="estimatedPayout" type="number">Estimated USD payout based on current accumulated shares and reward pool.</ResponseField>
    <ResponseField name="epochStart" type="string">ISO 8601 timestamp when the epoch started.</ResponseField>
    <ResponseField name="epochEnd" type="string">ISO 8601 timestamp when the epoch ends.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "data": [
      {
        "epochId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "eventId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "marketId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
        "accumulatedShares": 842.10,
        "sampleCount": 5,
        "estimatedPayout": 3.50,
        "epochStart": "2026-03-22T00:00:00Z",
        "epochEnd": "2026-03-23T00:00:00Z"
      }
    ]
  }
  ```
</ResponseExample>
