-
Notifications
You must be signed in to change notification settings - Fork 13
Analysed
shahar603 edited this page May 8, 2022
·
8 revisions
Supply a launch provider using the company
(see Company
endpoint) parameter and identify the launch using flight_number
, mission_id
or launch_library_2_id
query parameter. You can also omit the company
parameter by supplying only the launch_library_2_id
query parameter.
http://api.launchdashboard.space/v2/analysed/{company}?flight_number={flight_number}
http://api.launchdashboard.space/v2/analysed/{company}?mission_id={mission_id}
http://api.launchdashboard.space/v2/analysed/{company}?launch_library_2_id={launch_library_2_id}
http://api.launchdashboard.space/v2/analysed?launch_library_id={launch_library_id}
Param | Sample | Type | Description |
---|---|---|---|
company | spacex |
string |
The launch provider's name. Used for identification |
mission_id | crs-18 |
string |
Identification using the mission name (requires the company parameter) |
flight_number | 26 |
number |
Identification using the flight number from the launch provider's first flight (requires the company parameter |
launch_library_2_id | de278bee-4f84-4418-a3f3-4d5b969a363f |
number |
Identification using the id used in the launch library API |
start |
45 ,maxq
|
number ,string
|
Start time/event of the returned telemetry |
end |
419 ,meco
|
number ,string
|
End time/event of the returned telemetry |
start_offset |
5 ,-6
|
number |
Time to add to the start field (or the time at the event) |
end_offset |
5 ,-6
|
number |
Time to add to the end field (or the time at the event) |
event | meco |
string |
Return only the telemetry at the moment of the event |
event_offset |
3 ,-2
|
number |
Time to add to the event field |
frame_rate | `215 | number |
Frequency of the data points in the returned telemetry |
interval | 2 |
number |
Time between each data points in the returned telemetry |
stage | 1 |
number |
Return only telemetry from the given stage |
Example
Get the analysed webcast telemetry from SpaceX's 84th flight (AMOS-17)
Query
curl -s http://api.launchdashboard.space/v2/analysed/spacex?flight_number=84 | jq
Response
[
{
"stage": 2,
"telemetry": [
{ "time": 0, "velocity": 0.277, "altitude": 0, "velocity_y": -0.219, "velocity_x": 0.168, "acceleration": 10.698 "downrange_distance": 0, "angle": 90, "q": 0.046996480116054146 },
{ "time": 1, "velocity": 1.97, "altitude": 0.001, "velocity_y": 2.039, "velocity_x": -0.038, "acceleration": 11.285, "downrange_distance": 0, "angle": 90, "q": 2.3762015600538513 },
...
{ "time": 506, "velocity": 7424.372, "altitude": 163.85, "velocity_y": -32.707, "velocity_x": 7424.301, "acceleration": -0.016, "downrange_distance": 1585.22, "angle": -0.252, "q": 0 }
]
}
]
Name | Description |
---|---|
time | Time since launch |
velocity | Velocity of the rocket |
altitude | Altitude of the rocket |
velocity_y | The vertical component of the velocity |
velocity_x | The horizontal component of the velocity |
acceleration | The acceleration of the rocket (without gravitational acceleration) |
downrange_distance | The rocket's distance from the launch pad |
angle | The velocity vector's angle (to the horizon) |
q | The aerodynamic pressure |