API 2.0
Resources
GET/commodities_raw_prices
Retrieve a list of prices for all unrefined (raw/ore) commodities.
| Method | GET |
|---|---|
| URLs |
// example 1 https://api.uexcorp.space/2.0/commodities_raw_prices?id_terminal={int} // example 2 https://api.uexcorp.space/2.0/commodities_raw_prices?id_commodity={int} |
| 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 |
| 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_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 // 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 // factions faction_affinity int // datarunner's affinity average at a location (between -100 and 100) // 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 faction_name string|null terminal_name string terminal_code string terminal_slug string terminal_is_player_owned int |
| Response Status |
• requires_id_commodity_or_id_terminal • ok |
| Update Frequency | Hourly |
| Documentation Updated | 2 months ago |
Required