About HAPI

The Heliophysics Data Application Programmer's Interface (HAPI) specification is a time series download and streaming format specification. It was originally developed for Heliophysics data, but the specification applies to any time series served from an API. A 1-page summary is given in HAPIOnePager.pdf. A more detailed overview is given in the JGR article Weigel et al., 2021 and the presentation by Vandegriff et al. (pdf | YouTube video).

The HAPI specification was recommended by COSPAR in 2018 as the common data access API for space science and space weather data.

When data is available from a HAPI server, there is no need to download data files and write custom file reader programs. Using a HAPI client library, data can be loaded into an array using a single command using HAPI IDL, Javascript, Julia, MATLAB, and Python clients. Data from HAPI servers is also accessible to users of Autoplot, PySPEDAS, KNMI Timeline Viewer, and IDL SPEDAS. Sample scripts and containing instructions for accessing data using the above-listed clients may be found by selecting a server, dataset, and time range at the web interface http://hapi-server.org/servers/.

A list of HAPI-compliant data servers is available at http://hapi-server.org/servers/.

The hapi-server GitHub project contains a collection of repositories for HAPI-related software and documentation, including client and server libraries and code for verifying and testing a HAPI server.

For Scientists

For Developers

  • All the HAPI specification and many server and client tools are available from its GitHub project page. Software includes clients, servers, and a server verifier/validator.
  • HAPI Presentations
  • Email lists:

For Data Providers

Gallery of Tools using HAPI data

KNMI Timeline Viewer showing data from four HAPI-enabled data providers.
HAPI Stack Demo
Autoplot client showing data from four HAPI-enabled data providers.
HAPI Stack Demo
Julia Client example.
HAPI Stack Demo