{"uid":"cap_sZ_e4rLEN7X_ozPcXF-KA","slug":"aviationapis-density-altitude-calculator-efa5ebe2","name":"AviationAPIs Density Altitude Calculator","description":"Pay-per-call aviation data APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://aviationapis.com/density-altitude","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"temp_c":{"type":"number","description":"Outside air temperature in °C"},"elevation_ft":{"type":"number","description":"Field elevation in feet MSL"},"altimeter_hpa":{"type":"number","description":"Altimeter setting in hectopascals (optional; default 1013.25)"},"altimeter_inhg":{"type":"number","description":"Altimeter setting in inches of mercury (optional; default 29.92)"}}},"responseSchema":{"type":"json","example":{"temp_c":30,"isa_temp_c":5.1,"elevation_ft":5000,"altimeter_inhg":29.92,"density_altitude_ft":7988,"pressure_altitude_ft":5000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CD68b67-NtWD6dz0ULfFF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes density altitude and pressure altitude given temperature, field elevation, and altimeter setting","exampleAgentPrompt":"What's the density altitude at a field elevation of 5,000 feet MSL, with an outside air temperature of 30°C and an altimeter setting of 29.92 inHg?","exampleUseCases":[{"title":"Takeoff performance at hot airport","prompt":"We're planning a departure from a high-elevation airport in Arizona this afternoon. The field elevation is 4,500 feet, the temperature on the ramp is 38°C, and the altimeter is reading 29.85 inHg. What's the density altitude so I can check our aircraft's takeoff performance charts?"},{"title":"Pilot briefing density altitude check","prompt":"I'm putting together a preflight briefing for a student pilot flying out of a mountain airstrip at 7,200 feet MSL. Current temperature is 25°C and altimeter setting is 30.10 inHg. Can you calculate the density altitude so we can discuss the performance implications before the flight?"},{"title":"Compare pressure vs density altitude","prompt":"I need to understand how much the density altitude differs from the pressure altitude at my home field today. Elevation is 3,800 feet, it's 35°C outside, and the altimeter is set to 29.65 inHg. Can you compute both the pressure altitude and density altitude and explain the difference?"}],"resultDescription":"Returns a JSON object containing the computed density altitude in feet, pressure altitude in feet, the ISA standard temperature for that elevation, and the input parameters echoed back (temperature in °C, elevation in feet, altimeter in inHg).","failureModes":["Missing required fields (temp_c or elevation_ft) returns a 400 error","Physically implausible values (e.g. extreme temperatures or negative elevations) may return errors or unexpected results","Payment failure via x402 protocol returns 402 Payment Required","Network timeouts or server errors return 5xx responses"],"whenToPreferThis":"Use this endpoint when you need a quick, accurate density altitude computation for flight planning, aircraft performance calculations, or pilot briefings — especially when you already have temperature and elevation data on hand. Prefer over manual calculation or weather APIs that don't directly expose density altitude as a derived value.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:19.721Z","isFirstParty":false}