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

Star Citizen 4.1

New Babbage, Apr 17, 2955 — Welcome to UEX

/commodities_prices

Retrieve a list of prices for all commodities.

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

// example 2
https://api.uexcorp.space/2.0/commodities_prices?id_commodity={int}

// example 3
https://api.uexcorp.space/2.0/commodities_prices?terminal_name={string}

// example 4
https://api.uexcorp.space/2.0/commodities_prices?commodity_name={string}
Autorização
Cache TTL +30 minutes
Input // at least one is required
id_terminal mixed // up to 10 ids separated by comma
id_commodity int
terminal_name string
terminal_code string
terminal_slug string
commodity_name string
commodity_code string
commodity_slug string
Output id int
id_commodity int
id_star_system int
id_planet int
id_orbit int
id_moon int
id_city int
id_outpost int
id_poi int
id_faction int
id_terminal int
id_faction int

// buy
price_buy float // last
price_buy_min float
price_buy_min_week float
price_buy_min_month float
price_buy_max float
price_buy_max_week float
price_buy_max_month float
price_buy_avg float
price_buy_avg_week float
price_buy_avg_month float
price_buy_users float // last 15d, average from user trades
price_buy_users_rows int|null// trips in the last 15d, coming from user trades

// sell
price_sell float // last
price_sell_min float
price_sell_min_week float
price_sell_min_month float
price_sell_max float
price_sell_max_week float
price_sell_max_month float
price_sell_avg float
price_sell_avg_week float
price_sell_avg_month float
price_sell_users float // last 15d, average from user trades
price_sell_users_rows int|null// trips in the last 15d, coming from user trades

// scu buy
scu_buy float // last
scu_buy_min float
scu_buy_min_week float
scu_buy_min_month float
scu_buy_max float
scu_buy_max_week float
scu_buy_max_month float
scu_buy_avg float
scu_buy_avg_week float
scu_buy_avg_month float
scu_buy_users float // last 15d, average from user trades
scu_buy_users_rows int|null// trips in the last 15d, coming from user trades

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

// scu sell demand (forecasted)
scu_sell float // last
scu_sell_min float
scu_sell_min_week float
scu_sell_min_month float
scu_sell_max float
scu_sell_max_week float
scu_sell_max_month float
scu_sell_avg float
scu_sell_avg_week float
scu_sell_avg_month float
scu_sell_users float // last 15d, average from user trades
scu_sell_users_rows int|null// trips in the last 15d, coming from user trades

// inventory state for purchase
status_buy int|null
status_buy_min int|null
status_buy_min_week int|null
status_buy_min_month int|null
status_buy_max int|null
status_buy_max_week int|null
status_buy_max_month int|null
status_buy_avg int|null
status_buy_avg_week int|null
status_buy_avg_month int|null

// inventory state for sell
status_sell int|null
status_sell_min int|null
status_sell_min_week int|null
status_sell_min_month int|null
status_sell_max int|null
status_sell_max_week int|null
status_sell_max_month int|null
status_sell_avg int|null
status_sell_avg_week int|null
status_sell_avg_month int|null

// price coefficient of variation. higher is worse
volatility_price_buy float
volatility_price_sell float
volatility_scu_buy float
volatility_scu_sell float
volatility_buy float // deprecated
volatility_sell float // deprecated

// factions
faction_affinity int|null // datarunner's affinity average at a location (between -100 and 100)

// container
container_sizes string|null // in scu, csv values, 1|2|4|8|16|24|32

// etc
game_version string
date_added int // timestamp
date_modified int // timestamp
commodity_name string
commodity_code string
commodity_slug string
star_system_name string|null
planet_name string|null
orbit_name string|null
moon_name string|null
space_station_name string|null
outpost_name string|null
city_name string|null
terminal_name string
terminal_code string
terminal_slug string
terminal_mcs int|null // deprecated
terminal_is_player_owned int
Response Status • missing_required_input
• ok
Update Frequency Hourly
Documentation Updated 17 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.