The HITRAN Application Programming Interface (HAPI)  is a set of routines in Python which aims to provide remote access to functionality and data provided by HITRANonline. At the present time, the API can download, filter and process line-by-line transition data.
The main purpose of this API is to extend the functionality of the main site, in particular, for the calculation of spectra using several types of line shape, including the flexible HT (Hartmann-Tran) profile  and optionally accounting for instrumental functions. Each feature of the API is represented by a Python function taking a set of arguments which describe the parameters defining the task.
The current version of HAPI and user manual is available for download using the following links:
This version of HAPI can also be directly installed into a Python environment using:
pip install hitran-api
Please note that from 1 January 2023, an API-key will be required for downloading data and using the HAPI software. API-keys are free to obtain and can easily be added to HITRAN user accounts by following the details given in the HITRAN2020 paper  or following instructions provided in the first video tutorial.
In addition, the HAPI project and version history are available on Github:
If you use HAPI in your research or software development, please cite it using the following reference:
To make a reference to particular version of HAPI, use corresponding DOI
from the Zenodo community in addition to the reference given above.
Copyright ©, 2018 HITRAN team (http://hitran.org).
Some of the prominent current features of HAPI are:
The HITRAN Application Programming Interface and Efficient Spectroscopic Tools (HAPIEST) project is currently in development. The aim of HAPIEST is to provide a graphical user interface for HAPI that allows a user unfamilar with Python to download, filter and plot HITRAN data at the touch of a button. The HAPIEST project is still in the alpha stage, with details and downloads available on Github:
 R.V. Kochanov, I.E. Gordon, L.S. Rothman, P. Wcislo, C. Hill, J.S. Wilzewski, HITRAN Application Programming Interface (HAPI): A comprehensive approach to working with spectroscopic data, J. Quant. Spectrosc. Radiat. Transfer 177, 15-30 (2016) [Link to article] .
 N. H. Ngo, D. Lisak, H. Tran, J.-M. Hartmann, An isolated line-shape model to go beyond the Voigt profile in spectroscopic databases and radiative transfer codes, J. Quant. Spectrosc. Radiat. Transfer 129, 89-100 (2013). [Link to article]
 I. E. Gordon, L. S. Rothman, R. J. Hargreaves, R. Hashemi, E. V. Karlovets, F. M. Skinner, et al., "The HITRAN2020 molecular spectroscopic database", J. Quant. Spectrosc. Radiat. Transfer 277, 107949 (2022).
 J. Tennyson, P. F. Bernath, A. Campargue et al., Recommended isolated-line profile for representing high-resolution spectroscopic transitions (IUPAC Technical Report), Pure Appl. Chem. 86, 1931-1943 (2014) [Link to article]
 R. R. Gamache, B. Vispoel, M. Rey, A. Nikitin, V. Tyuterev, O. Egorov, et al., "Total internal partition sums for the HITRAN2020 database", J. Quant. Spectrosc. Radiat. Transfer 271, 107713 (2021).
 R. R. Gamache, C. Roller, E. Lopes, I. E. Gordon, L. S. Rothman, et al., Total internal partition sums for 166 isotopologues of 51 molecules important in planetary atmospheres: Application to HITRAN2016 and beyond, J. Quant. Spectrosc. Radiat. Transfer 203, 70–87 (2017). [Link to article]