SpaceXTelemetry-Api is a Open Source REST API, used in https://r4yan.gitbook.io/spacexdb/ ,all the data is extracted by me using SpacexTelemetry (private tool at the moment)
** http://spacextelemetry.cf domain is not working anymore use https://r4ygm.github.io/SpaceXTelemetry-Api/ if you want to fetch the api (so you basically have to replace the domain with this one on all the calls below in the page) **
curl https://spacextelemetry.cf/starlink/starlink-6/api/telemetry.json | jq
Example Response
[
{
"time": "00:00:01",
"altitude": 0,
"speed": 5
},
{
"time": "00:00:03",
"altitude": 0,
"speed": 17
},
{
"time": "00:00:06",
"altitude": 0,
"speed": 52
}
...
]
Latest Launch Example
curl https://spacextelemetry.cf/launch/latest.json | jq
Example Latest Launch Response
{
"mission_name": "Starlink 7",
"telemetry": [
{
"time": "00:00:08",
"altitude": 0,
"speed": 71
},
{
"time": "00:00:09",
"altitude": 0.1,
"speed": 85
},
{
"time": "00:00:10",
"altitude": 0.1,
"speed": 99
},
...
]
}
this is the documentation of spacexdb-api to retrieve telemetries and calculations to launches
not all the launches have the same data this is because they couldn't be calculated or they weren't calculated yet, and not all the launches were extracted
if you want to check if data exist you could see it by going on the launch folder
This is the section related to the telemetry and predictions data
https://spacextelemetry.cf/{project}/{mission-name}/api/{file}.{format}
- Example :
https://spacextelemetry.cf/starlink/starlink-6/api/telemetry.json
parameter | example | type | required | description |
---|---|---|---|---|
project | starlink |
string |
yes |
The project name (ex. starlink, crew-dragon) |
mission_name | starlink-6 |
string |
yes |
The mission name (ex. starlink-5, dm-2) |
file | telemetry ,phase |
string |
yes |
The type of data you want to retrieve |
format | .json, .csv |
string |
yes |
The format of the data, can be only .csv or .json |
https://spacextelemetry.cf/{project}/{mission-name}/api/{file}.{format}
- Example :
https://spacextelemetry.cf/starlink/starlink-6/api/acceleration.json
parameter | example | type | required | description |
---|---|---|---|---|
project | crew-dragon |
string |
yes |
The project name (ex. starlink, crew-dragon) |
mission_name | dm-2 |
string |
yes |
The mission name (ex. starlink-5, dm-2) |
file | acceleration |
string |
yes |
The type of data you want to retrieve, list of available files |
format | .json, .csv |
string |
yes |
The format of the data, can be only .csv or .json |
- acceleration : the acceleration of the rocket in m/s^2
- vertical_speed : the vertical speed of the rocket in km/s
- horizontal_speed : the horizontal speed of the rocket in km/s
- downrange : distance from the launch pad in Km
- analysis : complete analysis containing vertical speed,horizontal speed and downrange
returns telemetry and analysis of the latest analysed launch
- Latest Telemetry :
https://spacextelemetry.cf/launch/telemetry.json
- Latest Telemetry Analysis :
https://spacextelemetry.cf/launch/analysis.json
This is the section related to the graphs and predicted graphs
https://spacextelemetry.cf/{project}/{mission-name}/api/graphs/{file}.{format}
- Example :
https://spacextelemetry.cf/starlink/starlink-6/api/graphs/total-seconds-vs-speed.png
parameter | example | type | required | description |
---|---|---|---|---|
project | starlink |
string |
yes |
The project name (ex. starlink, crew-dragon) |
mission_name | starlink-5 |
string |
yes |
The mission name (ex. starlink-5, dm-2) |
file | acceleration-vs-total-time |
string |
yes |
The type of graph you want to retrieve, list of available files |
format | .png |
string |
yes |
The format of the image, can be only .png |
- acceleration-vs-total-time : the acceleration of the rocket compared to time
- downrange-vs-total-time : distance to the launchpad compared to time
- horizontal-speed-vs-total-time : comparision between horizontal speed and time
- total-seconds-vs-altitude : comparision between time and altitude
- total-seconds-vs-speed : total seconds compared to the speed
- vertical-horizontal-speed : comparision of vertical and horizontal speed
- vertical-speed-vs-total-time : plot of the vertical speed and the total time
Starlink
Crew Dragon
GPS
ANASIS
a list of applications that uses this api
This is the section related to ISA Calculations that returns density
,pressure
,speed_of_sound
,temperature
this data won't be extracted for next launches.
https://spacextelemetry.cf/{project}/{mission-name}/api/{file}.{format}
- Example :
https://spacextelemetry.cf/starlink/starlink-6/api/pressure.json
parameter | example | type | required | description |
---|---|---|---|---|
project | crew-dragon |
string |
yes |
The project name (ex. starlink, crew-dragon) |
mission_name | dm-2 |
string |
yes |
The mission name (ex. starlink-5, dm-2) |
file | density ,pressure ,speed_of_sound ,temperature , |
string |
yes |
The type of data you want to retrieve |
format | .json, .csv |
string |
yes |
The format of the data, can be only .csv or .json |