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

/commodities_routes

Retrieve a list of common routes calculated based on data reports

Method GET
URLs // Example 1
https://uexcorp.space/api/2.0/commodities_routes?id_terminal_origin={int}

// Example 2
https://uexcorp.space/api/2.0/commodities_routes?id_terminal_origin={int}&id_terminal_destination={int}

// Example 3
https://uexcorp.space/api/2.0/commodities_routes?id_commodity={int}
Authorization
Cache TTL +30 minutes
Input // at least one of these inputs are required
id_terminal_origin int(11)
id_planet_origin int(11)
id_orbit_origin int(11)
id_commodity int(11)

// optional inputs
id_terminal_destination int(11)
id_planet_destination int(11)
id_orbit_destination int(11)
id_faction_origin int(11)
id_faction_destination int(11)
investment int(11)
Output id int(11)
id_commodity int(11)
id_star_system_origin int(11)
id_star_system_destination int(11)
id_planet_origin int(11)
id_planet_destination int(11)
id_orbit_origin int(11)
id_orbit_destination int(11)
id_terminal_origin int(11)
id_terminal_destination int(11)
id_faction_origin int(11)
id_faction_destination int(11)
code string(255) // unique route code (used by UEX for shared links)
price_origin float(11) // per SCU
price_destination float(11) // per SCU
price_margin float(11)
scu_origin float(11)
scu_destination float(11)
scu_margin float(11) // percentage
volatility_origin float(11) // price coefficient of variation. higher is worse
volatility_destination float(11) // price coefficient of variation. higher is worse
status_origin int(11) // stock level at origin, higher is better
status_destination int(11) // stock level at destination, lower is better
investment float(11) // maximum investment expected (scu_buy_avg * price_buy_avg)
profit float(11) // maximum profit expected
score int(11) // UEX score level, higher is better
has_docking_port_origin int(1)
has_docking_port_destination int(1)
has_freight_elevator_origin int(1)
has_freight_elevator_destination int(1)
has_loading_dock_origin int(1)
has_loading_dock_destination int(1)
has_refuel_origin int(1)
has_refuel_destination int(1)
has_cargo_center_origin int(1)
has_cargo_center_destination int(1)
has_quantum_marker_origin int(1)
has_quantum_marker_destination int(1)
is_monitored_origin int(1) // monitored by UEE (Comm-Link)
is_monitored_destination int(1) // monitored by UEE (Comm-Link)
is_space_station_origin int(1)
is_space_station_destination int(1)
is_on_ground_origin int(1)
is_on_ground_destination int(1)
commodity_name string(255)
commodity_code string(255)
commodity_slug string(255)
origin_star_system_name string(255)
origin_planet_name string(255)
origin_orbit_name string(255)
origin_terminal_name string(255)
origin_terminal_code string(255)
origin_terminal_slug string(255)
origin_faction_name string(255)
destination_star_system_name string(255)
destination_planet_name string(255)
destination_orbit_name string(255)
destination_terminal_name string(255)
destination_terminal_code string(255)
destination_terminal_slug string(255)
destination_faction_name string(255)
date_added int(11) // unix timestamp
Response status • missing_one_required_inputs
• ok
Limits Maximum of 500 rows
Update rate Hourly
Documentation update: 1 month ago

Optional Required

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.