client.location resource lets you look up where any entity currently is in the Star Wars Combine galaxy. Whether you need to find a ship, track a character’s position, or determine which system a vehicle is in, location.get() returns the full positional data for that entity. You provide the entity’s type and UID, and the API returns the location context including system, planet, and coordinate data.
Getting an entity’s location
location.get()
Returns the current location data for a single entity.The type of entity to locate. Common values include:
character— a player charactership— a spacecraftvehicle— a ground vehicle
The entity UID in
"type:id" format, e.g. "1:12345" for a character.Common entity types
entityType value | Description |
|---|---|
character | Player character |
ship | Spacecraft |
vehicle | Ground or repulsorlift vehicle |
The
entityType string here corresponds to the kind of entity you are locating, not the type-prefix in the UID. For example, a character with UID "1:12345" uses entityType: 'character'.Full example
Related resources
Galaxy
Browse systems, planets, and sectors to understand the galaxy map.
Inventory
List the ships and vehicles you want to locate.
Character
Get the character UID needed to look up a character’s location.
Rate limits
Understand the 600 req/hour quota before making per-entity location calls.