उपकरण सूची

Flight information API

Access & limitsPublic, no key needed · Light▾

सभी के लिए खुला। आपकी प्रोफाइल से एक निःशुल्क API कुंजी सीमा बढ़ाती है: इसे भेजें X-API-Key शीर्ष लेख, या जैसा api_key= पते में।

5 मिनटघंटादिन
एक key के बिना303002,000
एक कुंजी के साथ1501,50010,000

एक मुफ़्त key बनाने के लिए अपने profile page में log in करें।

हर उत्तर ले जाता है X-RateLimit-Remaining और X-RateLimit-Reset. सीमा से अधिक, उत्तर त्रुटि है 429 के साथ retry_after सेकंड में। अस्वीकृत अनुरोध गिनती नहीं करते हैं।

सार्वजनिक — कोई प्रमाणीकरण आवश्यक नहीं कोई व्यक्तिगत डेटा नहीं लौटाया गया

परिचय

यह endpoint एक एकल उड़ान का सार्वजनिक सारांश लौटाता है, जिसमें प्रत्येक आकार में इसके चार्ट thumbnails के लिंक शामिल हैं। किसी उड़ान को या तो इसके cloud flight id द्वारा, या signature hash द्वारा देखें जो verifier flight_unique_id के रूप में लौटाता है (वही मान जो एक flyer लॉग फ़ाइल से स्वयं पढ़ सकता है)।

यह एक एकल indexed lookup है और कोई user identifying information नहीं लौटाता है: कोई account नहीं, कोई device serial नहीं, कोई upload address नहीं, कोई notes, images या launch coordinates नहीं। device tag और competitor tag शामिल हैं, क्योंकि वे एक व्यक्ति के बजाय एक entry की पहचान करते हैं।

Endpoint

GET https://www.altimetercloud.com/hi/api/flight_info/ पैरामीटर: id या hash

id या signature hash में से कोई एक supply करें। यदि दोनों दिए गए हैं, तो id को प्राथमिकता दी जाती है। केवल सार्वजनिक रूप से दृश्यमान उड़ानें लौटाई जाती हैं।

पैरामीटर

पैरामीटरप्रकारविवरण
idintegerसंख्यात्मक cloud flight id
hashstringउड़ान का signature hash (64 या 128 hex characters), जैसा कि verifier द्वारा लौटाया गया है या लॉग फ़ाइल में लिखा है
sigstringhash के लिए Alias

प्रतिक्रिया

API JSON लौटाता है। Core barometric fields प्रत्येक उड़ान के लिए उपस्थित हैं। IMU-capable उड़ानें (Mercury, या Nano hardware revision 4 और बाद में) एक imu object भी शामिल करते हैं जिसमें acceleration, orientation, spin, stability और dual-deploy डेटा होता है। Mercury उड़ानें अतिरिक्त रूप से एक mercury object शामिल करती हैं जिसमें अतिरिक्त sensor और environment डेटा होता है (external temperature probe, battery, board temperature) जो केवल वह board records करता है। Barometric-only उड़ानें IMU और Mercury blocks को छोड़ते हैं।

✓ पाया गया (IMU उड़ान)
{
  "success": true,
  "flight": {
    "id": 1234,
    "url": "https://www.altimetercloud.com/hi/flights/1234/",
    "csv_url": "https://www.altimetercloud.com/hi/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/hi/flightdata/4/1234.webp",
      "meters_large": "https://www.altimetercloud.com/hi/flightdata/4/1234_l.webp",
      "feet_small":   "https://www.altimetercloud.com/hi/flightdata/4/1234_ft.webp",
      "feet_large":   "https://www.altimetercloud.com/hi/flightdata/4/1234_l_ft.webp",
      "miles_small":  "https://www.altimetercloud.com/hi/flightdata/4/1234_mi.webp",
      "miles_large":  "https://www.altimetercloud.com/hi/flightdata/4/1234_l_mi.webp",
      "km_small":     "https://www.altimetercloud.com/hi/flightdata/4/1234_km.webp",
      "km_large":     "https://www.altimetercloud.com/hi/flightdata/4/1234_l_km.webp"
    }
  }
}

एक barometric-only उड़ान (उदाहरण के लिए revision 4 के नीचे Nano) has_imu को 0 पर सेट करके और कोई imu block के बिना समान core fields लौटाता है:

ⓘ पाया गया (barometric उड़ान)
{
  "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,
    "...": "core fields और settings, लेकिन कोई imu block नहीं"
  }
}

यदि आपूर्ति किए गए id या hash के लिए कोई सार्वजनिक उड़ान मेल नहीं खाता है:

✗ नहीं मिला
{
  "success": false,
  "error": {
    "code": "404",
    "message": "उस id या signature hash के लिए कोई सार्वजनिक उड़ान नहीं मिली"
  }
}

प्रतिक्रिया fields

सभी माप base SI units में लौटाए जाते हैं: metres में ऊंचाई, metres per second में velocities, g में accelerations, degrees में angles, degrees per second में spin और rates, और milliseconds में times जब तक कि noted न हो। flight page इन्हें आपकी चुनी गई units में परिवर्तित करके प्रदर्शित कर सकता है, लेकिन API हमेशा SI है।

Core (प्रत्येक उड़ान)

Fieldप्रकारविवरण
id / urlinteger / stringCloud flight id और इसका सार्वजनिक flight page
csv_urlstringraw CSV log के लिए direct download link
device / firmware / revisionstringमॉडल (nanov1, mercuryv1), firmware version, hardware revision
has_imuinteger1 यदि यह model और revision में IMU है (Mercury, या Nano revision 4+)। यह निर्धारित करता है कि imu block मौजूद है या नहीं
tag / competitor_tagstringDevice tag और competitor tag
uploaddate / uploadstampstring / integerUpload date string और unix timestamp
samples / spsintegerRecorded sample count और samples per second
apogeefloatPeak height metres में
apogee_timeintegerapogee का समय milliseconds में
max_velocity / max_velocity_downfloatPeak ascent और descent velocity (m/s), barometric
velocity_landingfloatLanding पर velocity (m/s)
landing_ms / landing_mnumberLanding time (milliseconds) और landing height (metres)
flight_time / total_timefloatRecording duration और total duration pre-launch सहित, seconds में
lockoutsintegerapogee lockout events की संख्या
not_real_flightinteger1 यदि genuine flight नहीं के रूप में flagged किया गया है (उदाहरण के लिए bench test)
settingsobjectलॉग header से recording settings (sea level pressure, sample rate, filters, units, lockouts, output, orientation, launch protection और अधिक)
thumbnailsobjectChart image URLs: metres, feet, miles और kilometres, प्रत्येक एक small और large size में

imu (IMU-capable उड़ानें केवल)

केवल तब मौजूद है जब has_imu 1 है। barometric-only उड़ानों के लिए अनुपस्थित।

Fieldप्रकारविवरण
burnout / ejectionintegerMotor burnout और ejection times milliseconds में
max_accelerationfloatPeak acceleration g में
accelerationobjectmax_ascent, max_descent, max_burn, avg_ascent, avg_burn, सभी g में
velocityobjectburnout, descent (m/s), साथ ही up_imu / down_imu, IMU-derived peak up और down velocities (m/s)
orientationobjectlaunch_pitch, launch_roll, launch_yaw, launch_tilt, max_tilt, सभी degrees में
spinobjectmax, average, roll_rate, coning_rate, coning_power, सभी degrees per second में
stabilityobjectscore और launch / coning / straight / thrust_straight sub-scores (0–100), confidence (0–1), और launch_tilt (degrees)
dual_deployobjectdetected (0/1), drogue_velocity / main_velocity (m/s), main_altitude (metres), main_time (milliseconds)

mercury (Mercury उड़ानें केवल)

केवल Mercury के लिए मौजूद है, जो extra sensor और environment layer record करता है जो Nano नहीं करता है। flight के data file से best-effort पढ़ा जाता है, इसलिए पुराने Mercury firmware कम fields लौटा सकते हैं, और कोई भी field जो अनुपस्थित है बस छोड़ दिया जाता है।

"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
}
Fieldप्रकारविवरण
mt1_temp_cfloatLaunch पर External MT1 temperature probe reading, degrees Celsius में
battery_start_pct / battery_end_pctintegerFlight के start और end पर Battery charge, एक percentage के रूप में
board_temp_start_c / board_temp_end_cfloatFlight के start और end पर On-board temperature, degrees Celsius में
recoveredinteger1 यदि log crash या brownout के बाद flash से rebuilt किया गया था, अन्यथा 0

API Playground

एक सार्वजनिक flight id (या एक signature hash) दर्ज करें और इसके सारांश को fetch करने के लिए Run पर क्लिक करें।

Flight id — या एक signature hash
https://www.altimetercloud.com/hi/api/flight_info/

AltimeterCloud को credit देना

उपयोग करने के लिए मुफ्त। यदि आप 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”. इस पृष्ठ पर सूचीबद्ध डेटा के अपने स्रोतों के लिए कोई भी क्रेडिट लागू होता है।