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, Nov 21, 2954

/fuel_prices

Retrieve a list of all fuel prices.

Method GET
URLs // example 1
https://uexcorp.space/api/2.0/fuel_prices?id_terminal={int}

// example 2
https://uexcorp.space/api/2.0/fuel_prices?id_commodity={int}

// example 3
https://uexcorp.space/api/2.0/fuel_prices?terminal_name={string}

// example 4
https://uexcorp.space/api/2.0/fuel_prices?commodity_name={string}
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)
terminal_name string(255)
terminal_code string(255)
terminal_slug string(255)
commodity_name string(255)
commodity_code string(255)
commodity_slug string(255)
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_faction int(11)
id_terminal int(11)
id_faction int(11)

// purchase prices (per SCU)
price_buy float(11) // last reported price
price_buy_min float(11)
price_buy_min_week float(11)
price_buy_min_month float(11)
price_buy_max float(11)
price_buy_max_week float(11)
price_buy_max_month float(11)
price_buy_avg float(11)
price_buy_avg_week float(11)
price_buy_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)
terminal_name string(255)
terminal_code string(255)
terminal_slug string(255)
terminal_mcs int(11) // maximum container size operated by freight elevator (in SCU)
Response status • missing_required_input
• ok
Update rate Hourly
Documentation update: 1 month 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.