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

Welcome to UEX

New Babbage, Nov 21, 2954

/commodities_averages

Retrieve a list of average prices and stock data of a specific commodity in the last 15 days. (CAX Index)

Method GET
URL https://uexcorp.space/api/2.0/commodities_averages?id_commodity={int}
Authorization
Cache TTL +30 minutes
Input id_commodity int(11) // required
Output id int(11)
id_commodity int(11)

// purchase prices (per SCU)
price_buy float(11) // last reported
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 15 days (trade log data)

price_buy_users_rows int(11)// number of trades in the last 15 days (trade log data)

// sell prices (per SCU)
price_sell float(11) // last reported
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_users float(11) // average traded by users in the last 15 days (trade log data)

price_sell_users_rows int(11)// number of trades in the last 15 days (trade log data)

// scu purchase availability
scu_buy float(11) // last reported
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_total float(11) // cumulative stock available
scu_buy_total_week float(11)
scu_buy_total_month float(11)
scu_buy_users float(11) // average traded by users in the last 15 days (trade log data)

scu_buy_users_rows int(11)// number of trades in the last 15 days (trade log data)

// reported stockfloat (sell)
scu_sell_stock float(11) // last reported
scu_sell_stock_week float(11)
scu_sell_stock_month float(11)

// scu sell
scu_sell float(11) // last calculated demand, based on stock level (scu_sell_stock)
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_total float(11) // cumulative amount demanded
scu_sell_total_week float(11)
scu_sell_total_month float(11)

scu_sell_users float(11) // average traded by users in the last 15 days (trade log data)

scu_sell_users_rows int(11)// number of trades in the last 15 days (trade log data)

// inventory status for purchase
status_buy int(11) // average for purchase
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 status for sell
status_sell int(11) // average for sell
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. lower is better
volatility_price_buy float(11)
volatility_price_sell float(11)
volatility_scu_buy float(11)
volatility_scu_sell float(11)
volatility_buy float(11) (deprecated, replaced by volatility_price_buy)
volatility_sell float(11) (deprecated, replaced by volatility_price_sell)

// other
cax_score int(11) // commodity score, higher is better
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)
Response status • requires_id_commodity_or_id_terminal
• ok
Update rate Hourly
Documentation update: 2 months 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.