The KP‐I equation has family of solutions which decay to zero at space infinity. One of these solutions is the classical lump solution, which is a traveling wave, and the KP‐I equation in this case reduces to the Boussinesq equation. In this paper we classify all the ‘lump‐type’ solutions of the Boussinesq equation. Using a robust inverse scattering transform developed by Bilman–Miller for the Schrödinger equation, we show that the lump‐type solutions are rational and their functions have to be polynomials of degree for some integer . In particular, this implies that the lump solution is the unique ground state of the KP‐I equation (as conjectured by Klein–Saut). The problem studied in this paper was mentioned in Airault–McKean–Moser, our result can be regarded as a two‐dimensional analogy of their theorem on the classification of rational solutions for the KdV equation.