API 2.0
Resources
GET/commodities_raw_averages
Retrieve a list of average prices of a specific commodity (raw) in the last 15 days. (CAX Index)
| Method | GET |
|---|---|
| URL |
https://api.uexcorp.space/2.0/commodities_raw_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 // etc 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 | 2 months ago |
Required