Dive into the UEX API documentation to grasp its ins and outs. Start building your new application with UEX data

/cities

Retrieve the list of cities within a star system.

Method GET
URL // example 1
https://uexcorp.space/api/2.0/cities?id_star_system={int}

// example 2
https://uexcorp.space/api/2.0/cities?id_planet={int}

// example 3
https://uexcorp.space/api/2.0/cities?id_orbit={int}

// example 4
https://uexcorp.space/api/2.0/cities?id_moon={int}
Authorization
Cache TTL +1 day
Input id_star_system int(11) // optional
id_planet int(11) // optional
id_orbit int(11) // optional
id_moon int(11) // optional
Output id int(11)
id_star_system int(11)
id_planet int(11)
id_orbit int(11)
id_moon int(11)
id_faction int(11)
name string(255)
code string(4)
is_available int(1)
is_visible int(1)
is_default int(1)
is_monitored int(1)
is_armistice int(1)
is_landable int(1)
is_decommissioned int(1)
has_quantum_marker int(1)
has_trade_terminal int(1)
has_habitation int(1)
has_refinery int(1)
has_cargo_center int(1)
has_clinic int(1)
has_food int(1)
has_shops int(1)
has_refuel int(1)
has_repair int(1)
has_gravity int(1)
has_loading_dock int(1)
has_docking_port int(1)
has_freight_elevator int(1)
is_available int(1)
wiki string(255)
date_added int(11) // timestamp
date_modified int(11) // timestamp
star_system_name string(255)
planet_name string(255)
orbit_name string(255)
moon_name string(255)
Response status • ok
Limits Maximum of 500 rows
Update date Patch cycle (usually)
Documentation update: 4 months ago

Optional

This website uses third-party cookies for stats, no personal data. We use cookies for preferences (dark mode, trading, mining) and collects trade/refining info (commodities, locations) for public reports. No personal data is collected.