client.inventory resource gives you visibility into everything a character owns or is assigned to in the Star Wars Combine universe. You start with an overview that summarizes total counts by category, then drill down into individual entity types to page through the actual assets. The entities endpoint supports filtering by assignment type — owner, pilot, crewmember, and more — so you can answer questions like “which ships am I piloting but don’t own?”
Overview
inventory.get()
Returns a summary of all entities in a character’s inventory, grouped by type and assignment role.The character UID in
"type:id" format, e.g. "1:12345".Listing entities
inventory.entities.list()
Returns a paginated list of entities of a specific type in the character’s inventory. UseentityType to select the category and assignType to filter by assignment role.
The character UID.
The category of entities to list. Must be one of:
ships, vehicles, stations, cities, facilities, planets, items, npcs, droids, creatures, materials.Filter by assignment role. Common values:
owner, pilot, crewmember. Omit to return all assignments.1-based index of the first entity to return.
Number of entities per page.
Filtering by assignment type
TheassignType parameter lets you distinguish between entities you own and entities you are assigned to in another role. This is particularly useful for ships and vehicles where a character may be a pilot or crewmember without being the owner.
All entity types
TheentityType parameter accepts the following values:
| Value | Description |
|---|---|
ships | Spacecraft of all classes |
vehicles | Ground and repulsorlift vehicles |
stations | Space stations |
cities | Planetary cities |
facilities | Ground-based production and military facilities |
planets | Planets owned or controlled by the character |
items | Equipment, weapons, and consumables |
npcs | Non-player characters assigned to the character |
droids | Droid units |
creatures | Domesticated or working creatures |
materials | Raw materials and resources |
Full example
Related resources
Character
Fetch character profiles and credit balances.
Location
Look up where a specific ship or vehicle is currently located.
Types
Retrieve entity type definitions for ships, vehicles, and items.
Pagination
Learn how Page<T> works and how to auto-paginate.