Goonmetrics XML API

Price Data

This API call will return current price data for a specified station.

URL:/api/price_data/
region_idThe stationID of the station you are interested in.
type_id The typeID of the type your are interested in. You may specify up to 50 types per call separated by commas.
Example: http://goonmetrics.apps.gnf.lt/api/price_data/?station_id=60003760&type_id=33,34,35,36,37,38

Price History

This API call will return the last 30 days of price history data for a specified region.

URL:/api/price_history/
region_idThe regionID of the region you are interested in.
type_id The typeID of the type your are interested in. You may specify up to 50 types per call separated by commas.
Example: http://goonmetrics.apps.gnf.lt/api/price_history/?region_id=10000002&type_id=33,34,35,36,37,38