API 2.0
Endpoints
/commodities_raw_prices
Retrieve a list of prices for all unrefined (raw/ore) commodities.
Method | GET |
---|---|
URLs |
// example 1 https://uexcorp.space/api/2.0/commodities_raw_prices?id_terminal={int} // example 2 https://uexcorp.space/api/2.0/commodities_raw_prices?id_commodity={int} |
Authorization | — |
Cache TTL | +30 minutes |
Input |
// at least one of these inputs are required id_terminal int(11)|string(255) // up to 10 ids separated by comma id_commodity int(11) |
Output |
id int(11) id_commodity int(11) id_star_system int(11) id_planet int(11) id_orbit int(11) id_moon int(11) id_city int(11) id_outpost int(11) id_poi int(11) id_terminal int(11) id_faction int(11) // sell prices (per SCU) price_sell float(11) // last reported price 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_avg_month float(11) // factions faction_affinity int(11) // datarunner's affinity average at a location (from -100 to 100) // other 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) star_system_name string(255) planet_name string(255) orbit_name string(255) moon_name string(255) space_station_name string(255) outpost_name string(255) city_name string(255) faction_name string(255) terminal_name int(11) terminal_code int(11) terminal_slug int(11) terminal_is_player_owned int(1) |
Response status |
• requires_id_commodity_or_id_terminal • ok |
Update rate | Hourly |
Documentation update: | 2 months ago |
Required