:rocket: Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.
Features
timeline
field to launches with presskit timeline events offset according to webcast launch timegridfins
and legs
boolean in launch cores sectionyoutube_id
field to all launches for easier url building/cores/upcoming
and /cores/past
to show cores that have or have not launched - b0184f1/capsules/upcoming
and /capsules/past
to show caps that have or have not launched - b0184f1/landpad
endpoint - 0253c0eFixes
TDB
launches - 51a6f28mid
, early
, and late
launch dates -
a13aace/dragons
endpoint -
fe40a55Scripts
Misc
Features
tentative_max_precision
field for more information about partial dates in upcoming launches. Values can include hour, day, month, quarter, half, or year. This provides important context about how precise the future date ispretty=true
querystring - d8c51e6arg_of_pericenter
and mean_anomaly
to current orbital params for full Keplerian element supportFixes
Docs Changes
Endpoint Changes
/v2/launches/all
----> /v3/launches
/v2/launches
----> /v3/launches/past
/v2/info/history
----> /v3/history
/v2/info/roadster
----> /v3/roadster
/v2/parts/cores
----> /v3/cores
/v2/parts/caps
----> /v3/capsules
/v2/capsules
----> /v3/dragons
Database Changes
flickr_images
, landing_intent
, arg_of_pericenter
, mean_anomaly
, fairings
, ships
, static_fire_date_unix
, is_tentative
, and tentative_max_precision
to launchesreuse_count
to capsulesreuse_count
to coresrtls_attempts
and asds_attempts
in cores to be an int instead of booleanid
is now rocket_id
, rocketid
is now id
, and type
is now rocket_type
to bring the fields in line with the launch fieldsid
is now site_id
, padid
is now id
, and full_name
is now site_name_long
to bring the fields in line with the launch fieldsreuse
object is no longer included on v3 launches. Reuse information has been moved into each core, payload, and fairing objectcapsules
, cores
, and ships
endpoints now have a new array format for the missions array. The new format provides more context, and allows the flight number to be passed in easily as a query param to quickly get launch data: /launches/18
"missions": [
"CRS-4"
]
"missions": [
{
"name": "CRS-4",
"flight": 18
}
]
TLDR
Features & Fixes
5669d0e47f64db155fce735a19b72b77fedad6a5 - Changed koa-logger
to koa-pino-logger
for a ~20% reduction in high volume response latency
399039c0c455ee47842121511962a87e4c2efd9a - Fixed query builders where entire Koa request object was being passed to builders instead of just the object containing querystrings
d728fdff82eb375e15616e3c83f2428dc1f34cd4 - Fixed bug showing incorrect order for all launches when sorting in descending order #107
78a33e269b79ad1f5ae3ff2e2f7aa8c00a257e20 - Fixed bug preventing users from using the flight_number
correctly with the all launches endpoint #109
e880ead83b31ed49afee467ee4d248bf25256b98 - Fixed bug in invalid date tests where the dates tested weren't actually invalid
3689db4d9082ca124f4012417f2451ddf75e852f - Fixed bug that allowed caching in dev environments by default
37a24bca77d418b4078cdd2e4474cee03fc520bc - Added new mongo connection param to remove URL parser deprecation warnings
0cce078d9f9e5a22be2a71b984fc2d376f24dc08 - Added new endpoint to house Falcon Heavy Roadster data /info/roadster
409cb439013b42a855245374d9aa006a46d403f3 - Added script to update roadster orbital data every 10 min
578578242f28008514d29e47e339ea9721c1f14f - Added new PowerShell wrapper link to readme
6b09770d16c9ba24385d16eada5ebce696a4d9e8 - Moved docs from wiki to docs folder for portability & versioning
Server Changes
Database Changes
Dragon 2
and Crew Dragon
into a single Dragon 2
objectoriginal_launch_unix
fields for all cores and capsulesrocketid
to rockets with an arbitrary number id, see #1 for discussionpadid
to launchpads with an arbitrary number id, see #1 for discussiondescription
and wikipedia
to capsules for Dragon 1 + 2norad_id
to all launch payloads if availablenationality
to all launch payloadsmanufacturer
to all launch payloadsFeatures & Fixes
second_stage_block
querystring to allow launch sorting by second stage block numberlimit
querystring to limit number of documents returnedDatabase Changes
orbit_params
object to every payload of every past and upcoming launchblock
number to all second stage objects for hybrid launchesevent_date_unix
to all history milestones for easier date parsingFeatures & Fixes
async / await
/v2/info/history
endpoint with important company milestonesDatabase Changes
mission_name
field for easier access to common mission nameswikipedia
field in links
for easy access to Wikipedia summaries on launchesFeatures & Fixes
Database Changes
mission_patch_small
filed with links to smaller image versionsFeatures & Fixes
Features & Fixes
Features & Fixes
/v2/capsules
/v2/rockets
instead of /v2/vehicles