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

# Get Character Raffle History

> Retrieve the raffle participation history for a character (up to 30 days after drawing).

## Path parameters

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

## Query parameters

<ParamField query="wallet_address" type="string" required>
  Wallet address
</ParamField>

<ParamField query="raffled_at" type="string" required>
  Raffle time to query (ISO8601 format). Must be within 30 days after the raffle.
</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?wallet_address=string&raffled_at=string' \
    --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?wallet_address=string&raffled_at=string', {
    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"
  params = {
    "wallet_address": "string",
    "raffled_at": "string"
  }
  headers = {
    "x-nxopen-api-key": "YOUR_API_KEY"
  }

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

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