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, Dec 6, 2954

/commodities_prices_history

Obtain a price history of a commodity at a specific location

Method GET
URLs // example
https://uexcorp.space/api/2.0/commodities_prices_history?id_terminal={int}&id_commodity={int}

Authorization
Cache TTL +12 hours
Input id_terminal int(11)
id_commodity int(11)
game_version string(255) // e.g. 3.24.3
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)

// prices (per SCU)
price_buy int(11)
price_sell int(11)

// availability (scu)
scu_buy float(11)
scu_sell_stock float(11)
scu_sell float(11)

// inventory state
status_buy int(11)
status_sell int(11)

// other
game_version int(11)
date_added int(11)
commodity_name int(11)
commodity_code int(11)
commodity_slug int(11)
star_system_name int(11)
planet_name int(11)
orbit_name int(11)
moon_name int(11)
space_station_name int(11)
outpost_name int(11)
city_name int(11)
faction_name int(11)
terminal_name int(11)
terminal_code int(11)
terminal_slug int(11)
Response status • missing_id_terminal
• missing_id_commodity
• ok
Limits Maximum of 500 rows
Update rate Hourly
Documentation update: 6 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.