The History of Anthropogenic Phosphorus Inputs (HaPi) provides a dataset of global human-driven phosphorus fluxes to terrestrial biosphere from 1860–2020 at a resolution of 5 arcmin. This comprehensive dataset consists of phosphorus fertilizer/manure application to cropland, manure application/deposition to pasture, manure deposition to rangeland, and atmospheric phosphorus deposition. It supports analyses of nutrient budgets and provides essential forcing data for Earth system models.