Skip to content

European Gas Contracts

The European Gas Contracts endpoint allows you to pull Spark's European Gas price data, including TTF, THE, and THE-TTF spread contracts across day-ahead, balance-of-month, front and forward tenors.

Looking to pull European Gas data?

Visit our Python Code Examples section to download our code samples, the quickest way to start pulling European Gas data.

European Gas API Subscription Required

Contact us to discuss our Premium plans at commercial@sparkcommodities.com

Contracts

/v1.0/gas/contracts/{ticker}/

Call this endpoint to retrieve European Gas contract price data for a given ticker. The response includes daily high, daily low, and close prices for each period.

Parameters

  • ticker (required, path)
    • The contract ticker to retrieve.
    • Available values:
      • TTF: sparkleba-ttf-da, sparkleba-ttf-bom, sparkleba-ttf-f, sparkleba-ttf-fo
      • THE: sparkleba-the-da, sparkleba-the-bom, sparkleba-the-f, sparkleba-the-fo
      • THE-TTF: sparkleba-the-ttf-da, sparkleba-the-ttf-bom, sparkleba-the-ttf-f, sparkleba-the-ttf-fo
  • unit (required)
    • The unit for price values in the response.
    • Available values: eur-per-mwh, usd-per-mmbtu
  • start (required)
    • Start date for the data range.
    • Format: yyyy-mm-dd
  • end (required)
    • End date for the data range.
    • Format: yyyy-mm-dd
    • The range between start and end must be 1 year max.
  • limit (optional)
    • Integer value to set an upper limit on the number of release dates returned.
  • offset (optional)
    • Integer value to set from where to start returning data.
    • limit must be greater than offset when both are provided.

Data can be retrieved in JSON or CSV format, although metadata is only available in the JSON response.