API 2.0
Resources
/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://api.uexcorp.space/2.0/commodities_averages?id_commodity={int} |
Autorização | — |
Cache TTL | +30 minutes |
Input |
id_commodity int // required |
Output |
id int id_commodity 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_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_total float // cumulative stock available scu_buy_total_week float scu_buy_total_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 stockfloat (sell) scu_sell_stock float // last scu_sell_stock_week float scu_sell_stock_month float // scu sell scu_sell float // last calculated, based on reported level (scu_sell_stock) 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_total float // cumulative amount demanded scu_sell_total_week float scu_sell_total_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 buy 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 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 // variation coefficient, lower is better volatility_price_buy float volatility_price_sell float volatility_scu_buy float volatility_scu_sell float volatility_buy float // deprecated volatility_sell float // deprecated // etc cax_score int // uex score, higher is better game_version string date_added int // timestamp date_modified int // timestamp commodity_name string commodity_code string commodity_slug string |
Response Status |
• requires_id_commodity_or_id_terminal • ok |
Update Frequency | Hourly |
Documentation Updated | 17 days ago |
Required