> ## 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 Reward History

> Retrieve reward draw history (up to 30 days after the draw).

## Path parameters

<ParamField path="worldId" type="integer" required>
  The worldId
</ParamField>

## Response

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

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="worldId" type="integer">
      worldId
    </ResponseField>

    <ResponseField name="rewardHistories" type="object">
      rewardHistories
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      updatedAt
    </ResponseField>
  </Expandable>
</ResponseField>

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

  ```javascript JavaScript theme={null}
  const response = await fetch('https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'x-nxopen-api-key': 'YOUR_API_KEY'
    },
    body: JSON.stringify({})
  });
  const data = await response.json();
  ```

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

  url = "https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history"
  headers = {
    "x-nxopen-api-key": "YOUR_API_KEY"
  }

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

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "worldId": null,
      "rewardHistories": {},
      "updatedAt": "string"
    }
  }
  ```
</ResponseExample>
