Skip to content

Gas Transit

The Gas Transit endpoints allow you to pull Spark's gas transit cost data across European routes.

Looking to pull Gas Transit data?

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

Gas Transit API Subscription Required

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

Reference Data

/v1.0/gas/transit/reference-data/

The Gas Transit Reference Data endpoint returns the list of available transit routes, each defined by an origin and a destination, along with their respective countries.

  • Origin
  • Destination
  • Origin Country
  • Destination Country

Costs

/v1.0/gas/transit/costs/

Call this endpoint to retrieve gas transit cost data, including a full cost component breakdown.

Parameters

  • unit (required)
    • The unit for cost values in the response.
    • Available values: eur-per-mwh, usd-per-mmbtu, p-per-therm
  • origin (optional)
    • Filter results by route origin.
    • See the Reference Data endpoint for available values.
  • destination (optional)
    • Filter results by route destination.
    • See the Reference Data endpoint for available values.
  • type (optional)
    • The transit capacity type.
    • Available values: firm, interruptible
  • product (optional)
    • The product granularity.
    • Available values: annual, quarterly, monthly, daily
  • start (optional)
    • Start date for the data range.
    • Format: yyyy-mm-dd
  • end (optional)
    • End date for the data range.
    • Format: yyyy-mm-dd
    • The start/end date range has an upper limit of 1 year.
  • 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.

Unlimited access to historical data is only available to those with a premium subscription - trial users will only have access to 2 weeks' worth of data.