curl --request GET \
--url https://api.mannco.store/inventory/onInventory \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mannco.store/inventory/onInventory"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mannco.store/inventory/onInventory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"err": false,
"success": true,
"content": {
"items": [
{
"ids": "987654322",
"count": 1,
"item_id": 5679,
"state": 0,
"name": "Strange Shotgun",
"game": 440
}
],
"count": 10
}
}{
"err": true,
"success": false,
"content": "forbidden"
}{
"err": true,
"success": false,
"content": "Internal server error"
}Get items in inventory
Returns items in the authenticated user’s inventory that are not listed for sale (state = 0), paginated 50 per page.
Results are ordered newest first. Use page to walk through the full set: keep incrementing until the returned items array is shorter than 50 (or empty), which means you have reached the last page. The count field in the response is the total number of matching items across all pages, not the number returned in the current page.
Permission: Connected + API.
curl --request GET \
--url https://api.mannco.store/inventory/onInventory \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.mannco.store/inventory/onInventory"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.mannco.store/inventory/onInventory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"err": false,
"success": true,
"content": {
"items": [
{
"ids": "987654322",
"count": 1,
"item_id": 5679,
"state": 0,
"name": "Strange Shotgun",
"game": 440
}
],
"count": 10
}
}{
"err": true,
"success": false,
"content": "forbidden"
}{
"err": true,
"success": false,
"content": "Internal server error"
}Authorizations
JWT obtained from POST /user/login
Query Parameters
Zero-based page index (0, 1, 2, ...). Each page returns up to 50 items; the result offset is page * 50. Defaults to 0 when omitted.
x >= 0Optional text filter matched against the item name.
Optional filter restricting results to a single game, by Steam App ID (e.g. 440, 730, 570, 252490, 753).
Response
Inventory items
Standard Mannco.store response envelope. err and success flag the outcome; the payload (or error message) is always under content.