Information for real-time prices associated with a Business/POI

Name

Type

Description

price

Double

The most recently-updated price from GasBuddy/OPIS for this station. The price is for the given currency and for the given fuel_type, per the given liquid measurement, rounded to thousandth's digit.

fuel_type_id

Integer

1 = Diesel
3 = Regular (Unleaded)
4 = Mid Grade
5 = Premium

fuel_type

String

The text value for the above ID. Can be Diesel, Unleaded, Mid Grade, or Premium.

background_color

String

The hex color value associated with the given fuel_type value. In the iExit apps, Unleaded prices are colored different than, say, Diesel prices.

currency

String

Either USD or CAD.

liquid_measurement

String

Either Gallons or Liters

updated_at

String

The date and time this fuel price was last updated, in the local time of that gas station. This is pulled from GasBuddy/OPIS.

Example format:
2016-01-25T03:08:00.000Z

avg_price

Double

[optional. Only present when the child of an Exit object]

When associated with an exit, this is the average price of all stations found at this exit (which means located within 1 mile of the exit's offramp).

The price is for the given currency and for the given fuel_type, per the given liquid measurement, rounded to thousandth's digit.

num_stations_for_avg

Integer

[optional. Only present when the child of an Exit object]

The number of stations at the associated exit for which we have a price, that we can use to compute the average price.

business

Business / POI object

[optional. Only present when the child of an Exit object]

The Business/POI object associated with the actual business at this exit with the lowest price for the given fuel_type.