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

/commodities_prices

Retrieve a list of prices for all commodities.

Method GET
URLs // example 1
https://uexcorp.space/api/2.0/commodities_prices?id_terminal={int}

// example 2
https://uexcorp.space/api/2.0/commodities_prices?id_commodity={int}
Authorization
Cache TTL +30 minutes
Input // at least one of these inputs are required
id_terminal int(11)|string(255) // up to 10 ids separated by comma
id_commodity int(11)
Output id int(11)
id_commodity int(11)
id_star_system int(11)
id_planet int(11)
id_orbit int(11)
id_moon int(11)
id_city int(11)
id_outpost int(11)
id_poi int(11)
id_faction int(11)
id_terminal int(11)
id_faction int(11)

// purchase prices (per SCU)
price_buy float(11) // last reported price
price_buy_min float(11)
price_buy_min_week float(11)
price_buy_min_month float(11)
price_buy_max float(11)
price_buy_max_week float(11)
price_buy_max_month float(11)
price_buy_avg float(11)
price_buy_avg_week float(11)
price_buy_avg_month float(11)
price_buy_users float(11) // average traded by users in the last 30 days (trade log data)
price_buy_users_rows int(11)// number of trades in the last 30 days (trade log data)

// sell prices (per SCU)
price_sell float(11) // last reported price
price_sell_min float(11)
price_sell_min_week float(11)
price_sell_min_month float(11)
price_sell_max float(11)
price_sell_max_week float(11)
price_sell_max_month float(11)
price_sell_avg float(11)
price_sell_avg_week float(11)
price_sell_avg_month float(11)
price_sell_users float(11) // average traded by users in the last 30 days (trade log data)
price_sell_users_rows int(11)// number of trades in the last 30 days (trade log data)

// scu purchase availability
scu_buy float(11) // last reported supply
scu_buy_min float(11)
scu_buy_min_week float(11)
scu_buy_min_month float(11)
scu_buy_max float(11)
scu_buy_max_week float(11)
scu_buy_max_month float(11)
scu_buy_avg float(11)
scu_buy_avg_week float(11)
scu_buy_avg_month float(11)
scu_buy_users float(11) // average traded by users in the last 30 days (trade log data)
scu_buy_users_rows int(11)// number of trades in the last 30 days (trade log data)

// reported inventory scu at location (sell)
scu_sell_stock float(11) // last amount of SCU reported at location
scu_sell_stock_avg float(11)
scu_sell_stock_avg_week float(11)
scu_sell_stock_avg_month float(11)

// scu sell demand (forecasted)
scu_sell float(11) // last reported demand
scu_sell_min float(11)
scu_sell_min_week float(11)
scu_sell_min_month float(11)
scu_sell_max float(11)
scu_sell_max_week float(11)
scu_sell_max_month float(11)
scu_sell_avg float(11)
scu_sell_avg_week float(11)
scu_sell_avg_month float(11)
scu_sell_users float(11) // average traded by users in the last 30 days (trade log data)
scu_sell_users_rows int(11)// number of trades in the last 30 days (trade log data)

// inventory state for purchase
status_buy int(11)
status_buy_min int(11)
status_buy_min_week int(11)
status_buy_min_month int(11)
status_buy_max int(11)
status_buy_max_week int(11)
status_buy_max_month int(11)
status_buy_avg int(11)
status_buy_avg_week int(11)
status_buy_avg_month int(11)

// inventory state for sell
status_sell int(11)
status_sell_min int(11)
status_sell_min_week int(11)
status_sell_min_month int(11)
status_sell_max int(11)
status_sell_max_week int(11)
status_sell_max_month int(11)
status_sell_avg int(11)
status_sell_avg_week int(11)
status_sell_avg_month int(11)

// price coefficient of variation. higher is worse
volatility_buy int(11)
volatility_sell int(11)

// factions
faction_affinity int(11) // datarunner's affinity average at a location (from -100 to 100)

// other
game_version string(255)
date_added int(11) // timestamp, first time added
date_modified int(11) // timestamp, last price update
commodity_name string(255)
commodity_code string(255)
commodity_slug string(255)
star_system_name string(255)
planet_name string(255)
orbit_name string(255)
moon_name string(255)
space_station_name string(255)
outpost_name string(255)
city_name string(255)
terminal_name string(255)
terminal_code string(255)
terminal_slug string(255)
Response status • requires_id_commodity_or_id_terminal
• ok
Update rate Hourly
Documentation update: 25 days ago

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.