NGI Data Services API


Below you will find the list of function/calls available for retrieving current and historical data related the Daily GPI, Weekly GPI, Bidweek Survey, Forward Look, Mexico GPI, and Shale Daily. All data can be accessed via HTTP GET requests to the URIs provided in the below documentation.

List of Daily GPI Locations

Returns json list of locations and their corresponding pointcodes.

List of Weekly GPI Locations

Returns json list of locations and their corresponding pointcodes.

List of Bidweek Locations

Returns json list of locations and their corresponding pointcodes.

List of Shale Locations

Returns json list of locations and their corresponding pointcodes.

List of Mexico Cost Plus Locations

Returns json list of locations and their corresponding pointcodes.

List of Forward Look Locations

Returns json list of locations and their corresponding pointcodes.

Daily Datafeed JSON

Returns json encoded version of the Daily GPI datafeed file.

Weekly Datafeed JSON

Returns json encoded version of the Weekly GPI datafeed file.

Note: Weekly GPI issue dates will always be the Monday of the given week. If this method is called for an issue date that is not a Monday, it will return an empty list.

Bidweek Datafeed JSON

Returns json encoded version of the Bidweek Survey datafeed file.

Note: Bidweek Survey issue dates will always be the first day of the month, even though the prices will not be available until the first business day of the month. For example, the September 2019 Bidweek prices were published on September 2, 2019 whereas the issue date for September 2019 Bidweek is 2019-09-01. If this method is called for an issue date that is not the first day of the month, it will return an empty list.

Shale Datafeed JSON

Returns json encoded version of the Shale Daily datafeed file.

Mexico CostPlus Datafeed JSON

Returns json encoded version of the Mexico Cost Plus Transport prices datafeed file.

Forward Curve JSON

Returns json encoded fixed and basis prices for a specified Forward Look location referenced by its pointcode. You can retrieve a specified number of contracts going out from the prompt month by changing the months parameter. The default for the months parameter is 120 which retrieves the full 10-year forward curves. Mappings for Forward Look locations/pointcodes can be retrieved with a call to /forwardLocations.

Daily GPI Historical Prices

Returns json encoded list of trade dates and prices for the range of dates specified.