-
Notifications
You must be signed in to change notification settings - Fork 13
Raw
shahar603 edited this page Oct 11, 2019
·
9 revisions
Supply a launch provider using the company
(see Company
endpoint) parameter and identify the launch using flight_number
, mission_id
or launch_library_id
query parameter. You can also ommit the company
parameter by supplying only the launch_library_id
query parameter.
https://api.launchdashboard.space/v1/raw/{company}?flight_number={flight_number}
https://api.launchdashboard.space/v1/raw/{company}?mission_id={mission_id}
https://api.launchdashboard.space/v1/raw/{company}?launch_library_id={launch_library_id}
https://api.launchdashboard.space/v1/raw?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_id | 1337 |
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 webcast telemetry from SpaceX's 83rd flight (AMOS-17)
Query
curl -s https://api.launchdashboard.space/v1/raw/spacex?flight_number=83 | jq
Response
{
"mission_id": "amos-17",
"name": "Amos-17",
"flight_number": 83,
"launch_library_id": 1388,
"raw": [
{
"stage": 2,
"telemetry": [
{ "time": 0, "velocity": 0.277, "altitude": 0 },
{ "time": 0.033, "velocity": 0.555, "altitude": 0 },
{ "time": 0.067, "velocity": 0.555, "altitude": 0},
{ "time": 0.1, "velocity": 0.555, "altitude": 0 },
{ "time": 0.133, "velocity": 0.555, "altitude": 0 },
{ "time": 0.166, "velocity": 0.833, "altitude": 0 },
{ "time": 0.2, "velocity": 0.833, "altitude": 0 },
...
{ "time": 1918.333, "velocity": 9518.333, "altitude": 525},
{ "time": 1918.366, "velocity": 9518.333, "altitude": 525}
]
}
]
}