> ## Documentation Index
> Fetch the complete documentation index at: https://docs.msu.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream Character Raffle History

> Stream raffle participation history for a specific character as chunked response (up to 30 days after the draw).

## Path parameters

<ParamField path="characterAssetKey" type="string" required>
  The character asset key
</ParamField>

## Query parameters

<ParamField query="walletAddress" type="string">
  Wallet address
</ParamField>

<ParamField query="raffledAtInterval.from" type="string">
  Start of the raffle time range to query (ISO8601 format)
</ParamField>

<ParamField query="raffledAtInterval.to" type="string">
  End of the raffle time range to query (ISO8601 format)
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="walletAddress" type="string">
      Wallet address
    </ResponseField>

    <ResponseField name="characterAssetKey" type="string">
      Character asset key
    </ResponseField>

    <ResponseField name="histories" type="array">
      List of raffle histories
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      Data update time (ISO8601)
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://openapi.msu.io/v1rc1/msn/characters/{characterAssetKey}/raffles/history/stream' \
    --header 'Content-Type: application/json' \
    --header 'x-nxopen-api-key: YOUR_API_KEY'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://openapi.msu.io/v1rc1/msn/characters/{characterAssetKey}/raffles/history/stream', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'x-nxopen-api-key': 'YOUR_API_KEY'
    }
  });
  const data = await response.json();
  ```

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

  url = "https://openapi.msu.io/v1rc1/msn/characters/{characterAssetKey}/raffles/history/stream"
  headers = {
    "x-nxopen-api-key": "YOUR_API_KEY"
  }

  response = requests.get(url, headers=headers)
  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "walletAddress": "string",
      "characterAssetKey": "string",
      "histories": [],
      "updatedAt": "string"
    }
  }
  ```
</ResponseExample>
