Server API
HomeLootLocker
HomeLootLocker
LootLocker
  1. Inventories
  • Session
    • Session
      POST
    • Ping
      GET
  • Leaderboards
    • Schedules
      • Create
      • Delete
      • Get
    • Rewards
      • Create
      • Delete
    • Archives
      • Download
      • List
    • Get Leaderboard
      GET
    • Create Leaderboard
      POST
    • Update Leaderboard
      PUT
    • Delete Leaderboard
      DELETE
    • Submit Score
      POST
    • Get All Member Ranks
      GET
    • Get Score List
      GET
  • Assets
    • Get Assets
      GET
  • Asset Instances
    • Get All Storage To Asset Instance
      GET
    • Get Storage Pair by ID
      GET
    • Create Storage Pair on Asset Instance
      POST
    • Update Storage Pairs by Key on Instance
      PUT
    • Update Storage Pair by ID on Instance
      PUT
    • Delete Storage Pair by ID on Instance
      DELETE
  • Triggers
    • Invoke Trigger
  • Inventories
    • List Player Inventory
      GET
    • Get Character Inventory
      GET
    • Get Hero Inventory
      GET
    • Alter Player Inventory
      PATCH
    • Add Asset to Player Inventory
      POST
    • List Universal Assets
      GET
  • Loadouts
    • Get Player Loadout
    • Equip Asset for Player Loadout
    • Unequip Asset for Player Loadout
    • Get Character Loadout
    • Equip Asset for Character Loadout
    • Unequip Asset for Character Loadout
    • Get Hero Loadout
    • Equip Asset for Hero Loadout
    • Unequip Asset for Hero Loadout
  • Characters & Heroes
    • Get Player Characters
    • Get Player Heroes
  • Player Storage
    • Get Player Storage
    • Lookup keys for Multiple Players
    • Delete for Multiple Players
    • Set for Multiple Players
  • Player Files
    • List Files for Player
    • Get File By ID for Player
    • Delete File By ID for Player
    • Upload File For Player
  • Drop Tables
    • Compute and Lock Drop Table
    • Pick Drops
  • Loot Boxes
    • Inspect Loot Box
    • Open Loot Box
  • Player
    • Get Player Info By Game Session Tokens
    • Create Player
    • Lookup Player Names by IDs
  • Progressions
    • Tiers
      • Get Progression Tiers
      • Get Single Progression Tier By Step
    • Players
      • Get All Player Progressions
      • Get Player Progressions By ID
      • Add points to player progression
      • Subtract points from player progression
      • Reset player progression
      • Delete player progression
    • Characters
      • Get All Character Progressions
      • Get Character Progressions By ID
      • Add points to Character progression
      • Subtract points from Character progression
      • Reset Character progression
      • Delete Character progression
    • Asset Instances
      • Get All Asset Instance Progressions
      • Get Asset Instance Progressions By ID
      • Add points to Asset Instance progression
      • Subtract points from Asset Instance progression
      • Reset Asset Instance progression
      • Delete Asset Instance progression
    • Get All Progressions
    • Get Progression By Key
  • Balances
    • Create Wallet Modifiers
    • Credit Balance
    • Debit Balance
    • List Balances
    • Create New Wallet
    • Get Wallet
    • Get Wallet for Holder
  • Currency
    • List Currencies
  • Friends
    • List Friends
  • Metadata
    • Metadata Actions
    • List Metadata
    • List Multisource Metadata
  • Catalogs
    • List Catalog Items By Key
  • Notifications
    • Send Notification to Player
  1. Inventories

Get Character Inventory

GET
/server/player/{player_id}/characters/{character_id}/inventory
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lootlocker.io/server/player/363/characters/49/inventory?count&after' \
--header 'LL-Version: 2021-03-01' \
--header 'x-auth-token;'
Response Response Example
{
  "total": 19272073,
  "items": [
    {
      "instance_id": -55392494,
      "variation_id": null,
      "rental_option_id": null,
      "acquisition_source": "esse et pariatur irure ullamco",
      "asset": {
        "id": 51,
        "uuid": "55de763e-e5e6-8f82-37ff-67bde6a0ee09",
        "ulid": "01J8J4FJG869W5Q19FSDT8D3AC",
        "name": "nisi placeat pariatur",
        "active": true,
        "purchasable": null,
        "price": -79016139,
        "sales_price": null,
        "display_price": null,
        "context": null,
        "context_id": null,
        "character_classes": null,
        "unlocks_context": "reprehenderit elit",
        "detachable": null,
        "updated": "2024-09-26T11:42:43.639Z",
        "marked_new": "eu cillum eiusmod commodo minim",
        "default_variation_id": 11764289,
        "default_loadouts": null,
        "description": "Tenetur neque consequatur a dignissimos tenetur eius. In tenetur occaecati ut. Hic totam adipisci provident sapiente odit.",
        "links": [
          {
            "<user supplied simple name>": "dolor voluptate mollit anim nostrud"
          },
          {
            "<user supplied simple name>": "cillum"
          }
        ],
        "storage": null,
        "rarity": {
          "name": "soluta rem optio",
          "short_name": "aperiam aliquid autem",
          "color": "lime"
        },
        "popular": false,
        "popularity_score": null,
        "package_contents": [
          {
            "asset": "Reference not found $ref: #/definitions/3399149"
          },
          {
            "asset": "Reference not found $ref: #/definitions/3399149"
          }
        ],
        "unique_instance": null,
        "external_identifiers": null,
        "rental_options": [
          {
            "id": -74465751,
            "name": "iure fugiat rem",
            "duration": -52635537,
            "price": 92926143,
            "sales_price": 90445644,
            "links": [
              {
                "<user supplied simple name>": "dolore Ut reprehenderit dolore dolor"
              },
              {
                "<user supplied simple name>": "tempor adipisicing ea"
              },
              {
                "<user supplied simple name>": "adipisicing ut cupidatat Ut mollit"
              }
            ]
          },
          {
            "id": 52253146,
            "name": "quos distinctio quasi",
            "duration": 62836138,
            "price": -86044002,
            "sales_price": -68063643,
            "links": [
              {
                "<user supplied simple name>": "anim dolor aliqua nostrud do"
              },
              {
                "<user supplied simple name>": "voluptate aute"
              }
            ]
          }
        ],
        "filters": null,
        "files": null,
        "data_entities": null,
        "hero_equip_exceptions": [
          null,
          {
            "can_equip": true,
            "hero_id": 19019711,
            "hero_name": "beatae amet reprehenderit"
          },
          {
            "can_equip": true,
            "hero_id": 10497146,
            "hero_name": "expedita expedita reprehenderit"
          }
        ],
        "asset_candidate": 34462417,
        "drop_table_max_picks": 92562440,
        "variations": null,
        "featured": true,
        "context_locked": null,
        "initially_purchasable": true
      },
      "rental": {
        "is_rental": false,
        "time_left": -18140944,
        "duration": -59687038,
        "is_active": true
      }
    },
    {
      "instance_id": -69529301,
      "variation_id": null,
      "rental_option_id": null,
      "acquisition_source": "tempor eu incididunt aliquip",
      "asset": {
        "id": 23446092,
        "uuid": null,
        "ulid": "01J8J4FJG869W5Q19FSDT8D3AC",
        "name": "explicabo vero consequuntur",
        "active": true,
        "purchasable": false,
        "price": null,
        "sales_price": 98844660,
        "display_price": null,
        "context": null,
        "context_id": null,
        "character_classes": [
          null
        ],
        "unlocks_context": "ex sit",
        "detachable": false,
        "updated": "2024-09-26T23:24:06.785Z",
        "marked_new": "est",
        "default_variation_id": null,
        "default_loadouts": null,
        "description": "Cumque et aperiam cumque quam aliquam repellat vel. Ea voluptas ab minima temporibus fugit molestias consequuntur. Cupiditate exercitationem eligendi.",
        "links": [
          {
            "<user supplied simple name>": "in ipsum nostrud culpa dolore"
          }
        ],
        "storage": [
          {
            "key": "aliqua culpa eiusmod laborum ipsum",
            "value": "sit"
          },
          {
            "key": "aliqua non tempor enim irure",
            "value": "qui ex ut"
          },
          {
            "key": "reprehenderit ut",
            "value": "amet magna dolor non ipsum"
          }
        ],
        "rarity": {
          "name": "at debitis dolor",
          "short_name": "recusandae ratione quos",
          "color": "turquoise"
        },
        "popular": null,
        "popularity_score": null,
        "package_contents": [
          {
            "asset": "Reference not found $ref: #/definitions/3399149"
          },
          {
            "asset": "Reference not found $ref: #/definitions/3399149"
          }
        ],
        "unique_instance": null,
        "external_identifiers": {
          "psn": {
            "entitlement_id": "Lorem",
            "sku_id": "ut officia dolor",
            "product_id": "in est"
          },
          "apple_app_store": {
            "product_id": "adipisicing dolor pariatur Ut"
          },
          "google_play": {
            "product_id": "ullamco amet veniam"
          }
        },
        "rental_options": [
          {
            "id": 80514844,
            "name": "repellendus occaecati est",
            "duration": -48561721,
            "price": -97854361,
            "sales_price": -2344769,
            "links": [
              {
                "<user supplied simple name>": "consequat incididunt"
              },
              {
                "<user supplied simple name>": "occaecat nostrud proident est"
              },
              {
                "<user supplied simple name>": "sed"
              }
            ]
          },
          {
            "id": 58362078,
            "name": "asperiores in vel",
            "duration": 11347988,
            "price": -33217643,
            "sales_price": 46644959,
            "links": [
              {
                "<user supplied simple name>": "sed id"
              },
              {
                "<user supplied simple name>": "in"
              }
            ]
          }
        ],
        "filters": [
          {
            "value": "minim",
            "name": "iusto amet eos"
          },
          null
        ],
        "files": [
          {
            "id": 11776061,
            "name": "debitis adipisci amet",
            "duration": 32484332,
            "price": 18513112,
            "sales_price": 31923976,
            "links": [
              {
                "<user supplied simple name>": "pariatur Duis reprehenderit"
              },
              {
                "<user supplied simple name>": "dolore aute do adipisicing"
              }
            ]
          }
        ],
        "data_entities": [
          null
        ],
        "hero_equip_exceptions": [
          null
        ],
        "asset_candidate": 99376230,
        "drop_table_max_picks": 19889157,
        "variations": [
          null
        ],
        "featured": null,
        "context_locked": false,
        "initially_purchasable": null
      },
      "rental": {
        "is_rental": true,
        "time_left": -89017620,
        "duration": -22782546,
        "is_active": true
      }
    },
    {
      "instance_id": -13044053,
      "variation_id": null,
      "rental_option_id": null,
      "acquisition_source": "minim mollit incididunt officia in",
      "asset": {
        "id": null,
        "uuid": "16715fd4-83f9-0912-c94a-72e075dcaa3a",
        "ulid": "01J8J4FJG869W5Q19FSDT8D3AC",
        "name": "in velit consequatur",
        "active": null,
        "purchasable": true,
        "price": null,
        "sales_price": 32718105,
        "display_price": "et in Duis eiusmod aliqua",
        "context": "consequat officia commodo est quis",
        "context_id": null,
        "character_classes": [
          null
        ],
        "unlocks_context": "aliqua aute cupidatat",
        "detachable": true,
        "updated": "2024-09-26T17:37:19.955Z",
        "marked_new": null,
        "default_variation_id": null,
        "default_loadouts": null,
        "description": "Laboriosam expedita illo mollitia dignissimos. Voluptatem nulla molestias sunt aliquid vero in. Vitae in commodi mollitia assumenda. Id culpa eos perspiciatis consequatur. Minima excepturi ea magni assumenda sapiente quis. Saepe nam placeat quos quos temporibus.",
        "links": [
          {
            "<user supplied simple name>": "magna"
          },
          {
            "<user supplied simple name>": "est irure occaecat elit sit"
          }
        ],
        "storage": [
          null,
          {
            "key": "non quis et",
            "value": "veniam sint quis Duis"
          }
        ],
        "rarity": {
          "name": "omnis tenetur ipsa",
          "short_name": "aut ratione quos",
          "color": "purple"
        },
        "popular": false,
        "popularity_score": null,
        "package_contents": null,
        "unique_instance": null,
        "external_identifiers": {
          "psn": {
            "entitlement_id": "sit aliqua",
            "sku_id": "dolor deserunt",
            "product_id": "velit"
          },
          "apple_app_store": {
            "product_id": "officia"
          },
          "google_play": {
            "product_id": "commodo"
          }
        },
        "rental_options": [
          {
            "id": 25110509,
            "name": "dolore voluptates cupiditate",
            "duration": -86156633,
            "price": 93384464,
            "sales_price": -70447570,
            "links": [
              {
                "<user supplied simple name>": "dolore"
              },
              {
                "<user supplied simple name>": "ut"
              },
              {
                "<user supplied simple name>": "ex nisi sunt"
              }
            ]
          },
          {
            "id": -23596939,
            "name": "voluptate non non",
            "duration": -30398776,
            "price": 19471493,
            "sales_price": 50145579,
            "links": [
              {
                "<user supplied simple name>": "deserunt"
              },
              {
                "<user supplied simple name>": "mollit ea in sit aliqua"
              },
              {
                "<user supplied simple name>": "ex"
              }
            ]
          },
          {
            "id": -74743204,
            "name": "a eveniet ab",
            "duration": -29150836,
            "price": -1291799,
            "sales_price": -93205424,
            "links": [
              {
                "<user supplied simple name>": "mollit"
              },
              {
                "<user supplied simple name>": "occaecat"
              },
              {
                "<user supplied simple name>": "consequat"
              }
            ]
          }
        ],
        "filters": null,
        "files": [
          {
            "id": 59829400,
            "name": "nobis soluta possimus",
            "duration": 37164239,
            "price": 41574558,
            "sales_price": 14158453,
            "links": [
              {
                "<user supplied simple name>": "nulla"
              },
              {
                "<user supplied simple name>": "Duis"
              }
            ]
          },
          {
            "id": 86240728,
            "name": "iure excepturi ducimus",
            "duration": 43664530,
            "price": 9608659,
            "sales_price": 4087085,
            "links": [
              {
                "<user supplied simple name>": "minim"
              },
              {
                "<user supplied simple name>": "laborum sint dolore"
              },
              {
                "<user supplied simple name>": "tempor occaecat minim consectetur"
              }
            ]
          }
        ],
        "data_entities": null,
        "hero_equip_exceptions": [
          {
            "can_equip": true,
            "hero_id": 46759612,
            "hero_name": "et ullam maiores"
          },
          null
        ],
        "asset_candidate": 23504248,
        "drop_table_max_picks": 52567948,
        "variations": null,
        "featured": true,
        "context_locked": null,
        "initially_purchasable": true
      },
      "rental": {
        "is_rental": false,
        "time_left": -99381721,
        "duration": 92582741,
        "is_active": false
      }
    }
  ]
}

Request

Authorization
API Key
Add parameter in header
x-auth-token
Example:
x-auth-token: ********************
Path Params
player_id
string 
required
Example:
363
character_id
string 
required
Example:
49
Query Params
count
integer <uint64>
optional
Number of inventory items to return. Default is 50. Max 200.
after
integer <uint64>
optional
ID of the inventory item to use as offset
Header Params
LL-Version
string 
required
Example:
2021-03-01

Responses

🟢200OK
application/json
Body
total
integer <uint64>
required
items
array [object {6}] 
required
instance_id
integer <uint64>
optional
variation_id
integer <uint64> | null 
optional
rental_option_id
integer <uint64> | null 
optional
acquisition_source
string 
optional
asset
object (Asset v1) 
optional
rental
object 
optional
Modified at 2025-04-07 14:11:34
Previous
List Player Inventory
Next
Get Hero Inventory
Built with