The high-resolution transmission molecular spectroscopic database (HITRAN) has recently introduced line-by-line broadening parameters (and their temperature dependence) appropriate for the dominant constituents of planetary atmospheres. The latest version of the database, HITRAN2020, has recently been released and constitutes a large and expansive update. In this work, line shape codes suitable for calculating microwave spectra have been implemented within the HITRAN Application Programming Interface (HAPI). These new additions allow for spectroscopic calculations of microwave absorbing species pertinent to current and future studies of the atmospheres of Jupiter and Venus, and more generally for the atmospheres of gas giants and rocky planets. The inversion spectrum of the NH 3 molecule broadened by H 2 , He and H 2 O dominates the microwave region of Jupiter. Whereas for Venus, accurate spectroscopic data of SO 2 broadened by CO 2 is necessary in order to determine its significance, if any, on the reported detection of PH 3 in the Venusian upper cloud deck. Comparisons have been made to available microwave laboratory opacities and the following results illustrate that HITRAN data can be used in conjunction with HAPI to reproduce the existing experimental measurements and provide reliable calculation of planetary opacities.