---
title: "Returns the last known inventory of the player based on his account token"
method: GET
path: "/api/inventory"
tags: ["Trade"]
---

# Returns the last known inventory of the player based on his account token

`GET /api/inventory`

## Request

- Base URL: `https://sky.coflnet.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sky.coflnet.com/api/inventory`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `GoogleToken`

## Response `200`

OK

- Item[]
  - `id` integer, nullable
  - `itemName` string, nullable
  - `tag` string, nullable
  - `extraAttributes` object, nullable
  - `enchantments` object, nullable
  - `color` integer, nullable
  - `description` string, nullable
  - `count` integer, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-08-04** `41f7cdd4406b`: 4 info
  - the endpoint scheme security `Bearer` was added to the API
  - the endpoint scheme security `GoogleToken` was added to the API
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
- **2024-01-10** `64a743ab7c2a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coflnet/apis/skyapi/changes/api/inventory/get.md)

---

[API](https://skmtc.dev/coflnet/apis/skyapi.md) - [All operations](https://skmtc.dev/coflnet/apis/skyapi/llms.txt) - [OpenAPI document](https://skmtc.dev/coflnet/apis/skyapi/revisions/c787372dc7a2?raw)
