> ## 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 maker rebates

> Get the authenticated user's in-progress maker rebate 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/maker-rebates/active" \
    -H "X-Public-Key: pk_live_abcdef123456"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    'https://relay.bayse.markets/v1/pm/maker-rebates/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/maker-rebates/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/maker-rebates/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 rebate accumulations (one per active epoch the user has maker volume in).

  <Expandable title="active rebate fields">
    <ResponseField name="epochId" type="string">UUID of the rebate epoch.</ResponseField>
    <ResponseField name="eventId" type="string">UUID of the event.</ResponseField>
    <ResponseField name="marketId" type="string">UUID of the market.</ResponseField>
    <ResponseField name="makerVolume" type="number">Your maker volume so far in this epoch.</ResponseField>
    <ResponseField name="tradeCount" type="integer">Number of trades where your resting orders were filled so far.</ResponseField>
    <ResponseField name="rebateAmount" type="number">Estimated USD rebate based on current maker volume share and rebate 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",
        "makerVolume": 2150.00,
        "tradeCount": 18,
        "rebateAmount": 5.40,
        "epochStart": "2026-04-15T00:00:00Z",
        "epochEnd": "2026-04-16T00:00:00Z"
      }
    ]
  }
  ```
</ResponseExample>
