This information has been collated and assembled by enthusiasts of SpaceX.
This information is arranged in the 'DOCS' area of this github page
Each section has an API that can be used to draw content from:
This data is an Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data. The access to this information is public but is not affiliated, authorised or endorsed or connected to SpaceX (Space Exploration Technologies Corporation). The current version is Version 4.0.
Licensing is under Apache License 2.0 and is a permissive licence (has minimal restrictions) which enables the use (including commercial), modification, distribution, patent use and private use of this data. Limitations include trademark use, liability, and warranty.