# AviationAPIs Density Altitude Calculator

> AviationAPIs Density Altitude Calculator is a paid API for AI agents from aviationapis.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Computes density altitude and pressure altitude given temperature, field elevation, and altimeter setting

## Facts

- Endpoint: POST https://aviationapis.com/density-altitude
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aviationapis-density-altitude-calculator-efa5ebe2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sZ_e4rLEN7X_ozPcXF-KA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aviationapis-density-altitude-calculator-efa5ebe2 -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-call aviation data APIs for AI agents, settled in USDC via the x402 protocol.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aviationapis-density-altitude-calculator-efa5ebe2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aviationapis.com](https://www.zero.xyz/host/aviationapis.com/llms.txt)
