Skip to content

Jupyter Notebook

Spark API Annual SurveyTell us how you use the API and what you'd like to see next — it takes a few minutes and directly shapes our roadmap.Take the survey →

Get started with Spark's API using our Jupyter Notebook Python code samples.

Take a look at our Analytics Gallery to download Python scripts analysing the market using Spark API datasets.

Download the .ipynb starter scripts below, or explore our GitHub page.

Freight

Cargo

Hubs Cargo

Access

Intraday

Intraday EoD

Gas

Gas Transit

Having trouble with our scripts?

Reach out to our dedicated API team at data@sparkcommodities.com