> ## 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 item list by token ID

> Retrieve a list of items owned by a character using the character token ID

## Path parameters

<ParamField path="tokenId" type="string" required>
  The character token ID
</ParamField>

## Query parameters

<ParamField query="categoryNo" type="integer">
  Filter by category number
</ParamField>

<ParamField query="cursor" type="string">
  Pagination cursor for next page
</ParamField>

## Response

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

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="elements" type="array">
      List of item objects
    </ResponseField>

    <ResponseField name="nextCursor" type="string">
      Cursor for the next page
    </ResponseField>

    <ResponseField name="hasMore" type="boolean">
      Indicates if more results are available
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://openapi.msu.io/v1rc1/characters/by-token-id/{tokenId}/items?categoryNo=1' \
    --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/characters/by-token-id/{tokenId}/items?categoryNo=1', {
    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/characters/by-token-id/{tokenId}/items"
  params = {"categoryNo": 1}

  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": {
      "elements": [],
      "nextCursor": "string",
      "hasMore": false
    }
  }
  ```
</ResponseExample>

## Notes

* Pagination is supported, with 20 items per page
