Fetch my inventory
Fetch inventory, call this endpoint required before calling /get-my-inventory
Prices are integers. 1000 = $1.00 USD.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
apirequired | query | string | Your WAXPEER API key |
gameoptional | query | enum | Game code for requested items (csgo, tf2, rust, dota2) enum: csgo, tf2, rust, dota2 |
Responses
200 Successful operation
| Name | Type | Description |
|---|---|---|
successoptional | boolean | Whether the operation succeeded |
msgoptional | string | Reason message when success is false |
total_inventory_countoptional | number | Total item count retrieved from inventory |
{
"success": false,
"msg": "Invalid Steam API key",
"total_inventory_count": 120
}429 Too many requests. Rate limit exceeded
| Name | Type | Description |
|---|---|---|
successoptional | boolean | Whether the operation succeeded |
msgoptional | string | Reason message when success is false |
msBeforeNextoptional | number | Milliseconds before next allowed request |
{
"success": false,
"msg": "string",
"msBeforeNext": 0
}