client.types resource provides access to the Star Wars Combine entity type system — categories, classes, and detailed type information for ships, vehicles, facilities, items, and more.
types.listEntityTypes()
Get all entity typesClasses
types.classes.list()
Get all classes for a specific entity type (paginated) NOTE: Official API documentation states “Query String: N/A” and “Parameters: N/A”, but empirical testing suggests pagination parameters may be required to avoid 404 errors. The SDK includes pagination parameters by default for safety.TypesEntityType
required
The entityType parameter.
number
The item_count parameter.
number
The pageDelay parameter.
number
The start_index parameter.
Entity Types
types.entities.get()
Get specific entity type information by category and UID. Returns the entity type object directly — not wrapped in aPage.
T
required
The entityType parameter.
string
required
The uid parameter.
types.entities.list()
Get all entities of a type (paginated)string
Filter by class. Accepts a class name (e.g.
'fighter') or a numeric class id. Class ids were renumbered by the SW Combine API. The numeric identifiers for ship and vehicle classes shifted with a server-side sync — ship classes by +1 (e.g. Super Capital 0 → 1, Capital Ship 1 → 2, Frigate 2 → 3) and vehicle classes by +21 (e.g. Ground Vehicles 0 → 21, Speeders 1 → 22, Barges 2 → 23). This SDK passes the value through unchanged, so if you previously stored numeric class ids, update them to the new numbering. Filtering by class name is unaffected.T
required
The entityType parameter.
**item\_count**: number
The item_count parameter.
number
Milliseconds to wait before fetching each subsequent page. Helps avoid rate limits during auto-pagination.
**start\_index**: number
The start_index parameter.
Related resources
Inventory
List entities of a given type.
Market
Find vendors selling a given type.