Appearance
Intraday Contracts
The Intraday Contracts endpoints allow you to pull Spark's Intraday JKM-TTF curves. These prices can be pulled live every 10 minutes, or the entire historical dataset can be downloaded for historical analysis. Intraday data is published between 7am & 5pm UKT.
Looking to pull Intraday data?
Visit our Python Code Examples section to download our Intraday code samples, the quickest way to start pulling Intraday data.
Intraday API Subscription Required
Contact us to discuss our Premium plans at commercial@sparkcommodities.com
Live
/beta/intraday/live/
Call this endpoint to retrieve the latest published Intraday prices.
Parameters
This endpoint has two required parameters:
contract
- Required parameter
jkm-ttf
- Define which dataset you would like to call
unit
- Required parameter
usd-per-mmbtu
- Define what units the retrieved data is in
Prices are retrieved in JSON and CSV format, and all available tenor lengths are included in (months, quarters, seasons & cals).
This endpoint will also retrieve any new price revisions - if there are any revisions to report since the last price release, this will be listed within the output.
This endpoint is also available on trial.
Historical
/beta/intraday/historical/
Call this endpoint to retrieve historical data for our Intraday datasets
Parameters
This endpoint has four required parameters:
contract
- Required parameter
jkm-ttf
- Define which dataset you would like to call
unit
- Required parameter
usd-per-mmbtu
- Define what units the retrieved data is in
start
- Required parameter
- Format in
yyyy-mm-dd
, oryyy-mm-dd hh:mm:ss
- Define what date you'd like the data to begin at. Default timezone format is UKT, but other timezones can be input as long as specified in standard ISO format. This parameter is treated as a datetime object. If you input a
yyyy-mm-dd
date format, the endpoint will automatically assume00:00:00
as the time.
end
- Required parameter
- Format in
yyyy-mm-dd
oryyy-mm-dd hh:mm:ss
- Define what date you'd like the data to stop at Default timezone format is UKT, but other timezones can be input as long as specified in standard ISO format. This parameter is treated as a datetime object. If you input a
yyyy-mm-dd
date format, the endpoint will automatically assume00:00:00
as the time.
Prices are retrieved in JSON and CSV format, and all available tenor lengths are included (months, quarters, seasons & cals).
This endpoint has a max date range of 30 days for each single API pull.
This endpoint is available on trial, but only 2 weeks worth of historical data is available.
Note
If you have any questions regarding our historical data, please contact data@sparkcommodities.com
Revisions
/beta/intraday/revisions/
Call this endpoint to retrieve price revisions published since the start of the previous business day.
Parameters
This endpoint has two required parameters:
contract
- Required parameter
jkm-ttf
- Define which dataset you would like to call
unit
- Required parameter
usd-per-mmbtu
- Define what units the retrieved data is in
The data is retrieved in JSON and CSV format.
This endpoint is also available on trial.