飞行信息 API
访问与限制Public, no key needed · Light▾
对所有人开放。来自您的个人资料的免费 API 密钥可提高限制:将其发送到 X-API-Key header, or as api_key= 在地址中。
| 5 分钟 | 小时 | 日 | |
|---|---|---|---|
| 没有密钥 | 30 | 300 | 2,000 |
| 使用密钥 | 150 | 1,500 | 10,000 |
登录在您的配置文件页面上创建免费密钥。
每个答案都包含 X-RateLimit-Remaining 和 X-RateLimit-Reset. 超过限制,答案是错误 429 与 retry_after (秒内)。拒绝的请求不计算在内。
概述
该端点返回单次飞行的公开摘要,包括各种尺寸的图表缩略图链接。可以通过cloud飞行ID或验证器返回的signature hash(即flyer可以从日志文件中读取的flight_unique_id值)来查找飞行。
这是单个索引查询,不返回任何用户识别信息:无账户、无设备序列号、无上传地址、无备注、图像或发射坐标。设备标签和竞争者标签包括在内,因为它们识别一个条目而不是一个人。
端点
id 或 hash
提供数字 id 或signature hash 之一。如果同时提供两者,id 优先级更高。仅返回公开可见的飞行。
参数
| 参数 | 类型 | 描述 |
|---|---|---|
id | 整数 | 数字cloud飞行ID |
hash | 字符串 | 飞行的signature hash(64或128个十六进制字符),由验证器返回或写入日志文件 |
sig | 字符串 | hash 的别名 |
响应
API返回JSON格式。每次飞行都包含核心气压字段。具有IMU功能的飞行(Mercury或Nano硬件修订版本4及更高版本)还包含一个imu对象,包含加速度、方向、自旋、稳定性和双级回收数据。Mercury飞行另外包含mercury对象,其中包含额外的传感器和环境数据(外部温度探针、电池、主板温度),仅该板记录。仅气压飞行省略IMU和Mercury块。
{
"success": true,
"flight": {
"id": 1234,
"url": "https://www.altimetercloud.com/zh/flights/1234/",
"csv_url": "https://www.altimetercloud.com/zh/flightdata/4/1234.csv",
"device": "nanov1",
"firmware": "1.52",
"revision": "4",
"has_imu": 1,
"tag": "MY-NANO",
"competitor_tag": "C-07",
"uploaddate": "10/06/26-14:22:01",
"uploadstamp": 1781453721,
"samples": 3210,
"sps": 100,
"apogee": 246.4,
"apogee_time": 5210,
"max_velocity": 98.3,
"max_velocity_down": -12.4,
"velocity_landing": 4.8,
"landing_ms": 41800,
"landing_m": 1.2,
"flight_time": 41.8,
"total_time": 44.2,
"lockouts": 0,
"not_real_flight": 0,
"settings": {
"sealevel": 1013.25,
"samplerate": 100,
"recordingstop": 1,
"oversampling": 1,
"iirfilter": 0,
"pressurefilter": 1,
"startuplock": 0,
"usetemp": 1,
"fixedtemp": 15,
"launchdetect": 1,
"sampleratio": 1,
"maintainpower": 0,
"maxsamples": 0,
"recording_alt": 0,
"units": 0,
"units_velocity": 0,
"units_acceleration": 0,
"lockout_time": 0,
"lockout_change": 0,
"output_enable": 0,
"orientation": 0,
"launchprotection": 1
},
"imu": {
"burnout": 1400,
"ejection": 5600,
"max_acceleration": 11.6,
"acceleration": {
"max_ascent": 11.6,
"max_descent": 2.3,
"max_burn": 11.6,
"avg_ascent": 4.2,
"avg_burn": 9.8
},
"velocity": {
"burnout": 96.2,
"descent": 5.1,
"up_imu": 96.2,
"down_imu": -11.8
},
"orientation": {
"launch_pitch": 2,
"launch_roll": 1,
"launch_yaw": 0,
"launch_tilt": 3,
"max_tilt": 7
},
"spin": {
"max": 540.5,
"average": 120.2,
"roll_rate": 33,
"coning_rate": 4,
"coning_power": 2
},
"stability": {
"score": 92,
"launch": 88,
"coning": 95,
"straight": 90,
"confidence": 1,
"thrust_straight": 97,
"launch_tilt": 3
},
"dual_deploy": {
"detected": 1,
"drogue_velocity": 18.2,
"main_velocity": 6.4,
"main_altitude": 120.5,
"main_time": 30200
}
},
"thumbnails": {
"meters_small": "https://www.altimetercloud.com/zh/flightdata/4/1234.webp",
"meters_large": "https://www.altimetercloud.com/zh/flightdata/4/1234_l.webp",
"feet_small": "https://www.altimetercloud.com/zh/flightdata/4/1234_ft.webp",
"feet_large": "https://www.altimetercloud.com/zh/flightdata/4/1234_l_ft.webp",
"miles_small": "https://www.altimetercloud.com/zh/flightdata/4/1234_mi.webp",
"miles_large": "https://www.altimetercloud.com/zh/flightdata/4/1234_l_mi.webp",
"km_small": "https://www.altimetercloud.com/zh/flightdata/4/1234_km.webp",
"km_large": "https://www.altimetercloud.com/zh/flightdata/4/1234_l_km.webp"
}
}
}
仅气压飞行(例如修订版本低于4的Nano)返回相同的核心字段,has_imu设置为0且没有imu块:
{
"success": true,
"flight": {
"id": 980,
"device": "nanov1",
"firmware": "1.52",
"revision": "2",
"has_imu": 0,
"apogee": 312.7,
"apogee_time": 6120,
"max_velocity": 104.5,
"...": "核心字段和设置,无imu块"
}
}
如果没有公开飞行匹配提供的ID或hash:
{
"success": false,
"error": {
"code": "404",
"message": "未找到与该ID或signature hash相匹配的公开飞行"
}
}
响应字段
所有测量值以基础SI单位返回:高度为米、速度为米/秒、加速度为g、角度为度、自旋和速率为每秒度,时间为毫秒(另有说明除外)。飞行页面可能将这些转换为您选择的单位,但API始终为SI单位。
核心(每次飞行)
| 字段 | 类型 | 描述 |
|---|---|---|
id / url | 整数 / 字符串 | Cloud飞行ID及其公开飞行页面 |
csv_url | 字符串 | 原始CSV日志的直接下载链接 |
device / firmware / revision | 字符串 | 型号(nanov1、mercuryv1)、固件版本、硬件修订版本 |
has_imu | 整数 | 如果该型号和修订版本具有IMU(Mercury或Nano修订版本4+),则为1。确定imu块是否存在 |
tag / competitor_tag | 字符串 | 设备标签和竞争者标签 |
uploaddate / uploadstamp | 字符串 / 整数 | 上传日期字符串和unix时间戳 |
samples / sps | 整数 | 记录的样本数和每秒样本数 |
apogee | 浮点数 | 峰值高度,单位为米 |
apogee_time | 整数 | apogee的时间,单位为毫秒 |
max_velocity / max_velocity_down | 浮点数 | 峰值上升和下降速度(米/秒),气压 |
velocity_landing | 浮点数 | 着陆时的速度(米/秒) |
landing_ms / landing_m | 数字 | 着陆时间(毫秒)和着陆高度(米) |
flight_time / total_time | 浮点数 | 记录持续时间和总持续时间(包括前期发射),单位为秒 |
lockouts | 整数 | apogee锁定事件数 |
not_real_flight | 整数 | 如果被标记为非真实飞行(例如工作台测试),则为1 |
settings | 对象 | 日志头中的记录设置(海平面气压、采样率、滤波器、单位、锁定、输出、方向、发射保护等) |
thumbnails | 对象 | 图表图像URL:米、英尺、英里和公里,各有小型和大型尺寸 |
imu(仅限IMU兼容飞行)
仅当has_imu为1时存在。不存在于仅气压飞行中。
| 字段 | 类型 | 描述 |
|---|---|---|
burnout / ejection | 整数 | 电机burnout和ejection时间,单位为毫秒 |
max_acceleration | 浮点数 | 峰值加速度,单位为g |
acceleration | 对象 | max_ascent、max_descent、max_burn、avg_ascent、avg_burn,全部单位为g |
velocity | 对象 | burnout、descent(米/秒),加上up_imu / down_imu,即IMU导出的峰值上升和下降速度(米/秒) |
orientation | 对象 | launch_pitch、launch_roll、launch_yaw、launch_tilt、max_tilt,全部单位为度 |
spin | 对象 | max、average、roll_rate、coning_rate、coning_power,全部单位为每秒度 |
stability | 对象 | score和launch / coning / straight / thrust_straight子评分(0–100)、confidence(0–1)和launch_tilt(度) |
dual_deploy | 对象 | detected(0/1)、drogue_velocity / main_velocity(米/秒)、main_altitude(米)、main_time(毫秒) |
mercury(仅限Mercury飞行)
仅适用于Mercury,它记录Nano不记录的额外传感器和环境层。从飞行的数据文件最尽力读取,所以较早的Mercury固件可能返回较少字段,任何缺失的字段都被省略。
"mercury": {
"mt1_temp_c": 16,
"battery_start_pct": 98,
"battery_end_pct": 95,
"board_temp_start_c": 13.02,
"board_temp_end_c": 12.25,
"recovered": 0
}
| 字段 | 类型 | 描述 |
|---|---|---|
mt1_temp_c | 浮点数 | 发射时外部MT1温度探针读数,单位为摄氏度 |
battery_start_pct / battery_end_pct | 整数 | 飞行开始和结束时的电池电量百分比 |
board_temp_start_c / board_temp_end_c | 浮点数 | 飞行开始和结束时的主板温度,单位为摄氏度 |
recovered | 整数 | 如果日志从闪存重建(由于崩溃或欠压),则为1,否则为0 |
API操场
输入公开飞行ID(或signature hash)并单击运行以获取其摘要。
Altimeter Cloud 致谢
免费使用。如果您使用 this API, or anything made from the answers, in a commercial product or service, credit AltimeterCloud with a link to www.altimetercloud.com 在使用点:在屏幕、页面或打印输出上显示数据的位置,例如 “Data from AltimeterCloud.com”。此页面上列出的数据自身来源要求的任何署名也适用。



















