client.types resource gives you access to the entity type system in the Star Wars Combine universe. Every in-game entity — ships, vehicles, items, facilities, and more — belongs to a class and has a specific type definition. Use the types resource to enumerate those definitions for display purposes, type lookups, or building entity catalogs.
Entity classes
Classes are the top-level groupings within each entity category. For example, theships category contains classes like “Capital Ship” and “Freighter”.
types.classes.list()
Returns a paginated list of entity classes for the given entity type.The entity category to list classes for. Must be one of:
ships, vehicles, stations, cities, facilities, planets, items, npcs, droids, creatures, materials, factionmodules.1-based index of the first class to return. Required — omitting this causes a 404.
Number of classes per page. Required — omitting this causes a 404.
Entity types
Entity types are the specific definitions within a class — the individual blueprints for ships, items, and so on.types.entities.list()
Returns a paginated list of entity type definitions for the given category.The entity category. Same set of values as
types.classes.list().1-based index of the first type to return. Required — omitting this causes a 404.
Number of types per page. Required — omitting this causes a 404.
types.entities.get()
Retrieves the full definition of a single entity type by category and UID.The entity category the type belongs to.
The entity type UID in
"type:id" format.Supported entity types
TheentityType parameter accepts the following values across all types methods:
| Value | Description |
|---|---|
ships | Spacecraft definitions |
vehicles | Ground and repulsorlift vehicle definitions |
stations | Space station blueprints |
cities | City type definitions |
facilities | Ground facility blueprints |
planets | Planet type definitions |
items | Equipment, weapons, and item definitions |
npcs | Non-player character type definitions |
droids | Droid type definitions |
creatures | Creature type definitions |
materials | Raw material definitions |
factionmodules | Faction module type definitions (classes only) |
Full example
Related resources
Inventory
List entities owned by a character and map them to their type definitions.
Datacard
List production datacards, which reference entity types.
Market
Browse vendor listings that reference entity types.
Galaxy
Browse the galaxy — stations and cities correspond to types here.