Catalog/nav-wind-triangle

Navigation

Wind triangle solver API

Solves the navigation wind triangle for true heading, wind-correction angle and ground speed from true course, TAS and wind. Answers 'What heading and ground speed do I fly to track this course in wind?', 'What is my wind correction angle?'.

Price$0.06per request
MethodPOST
Route/v1/nav/wind-triangle
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
aviationwind-triangleheadingground-speedwcawind-correctionnavigationflight-planning
API URLhttps://x402.hexl.dev/v1/nav/wind-triangle
Integration docs
Example request
{
  "trueCourseDeg": 90,
  "trueAirspeedKt": 120,
  "windFromDeg": 0,
  "windSpeedKt": 20
}
Example response
{
  "trueHeadingDeg": 80.4,
  "windCorrectionAngleDeg": -9.6,
  "correctInto": "left",
  "groundSpeedKt": 118.3,
  "trueCourseDeg": 90,
  "interpretation": "Hold heading 80 deg (WCA 9.6 deg left); ground speed 118 kt."
}
Input schema
{
  "type": "object",
  "required": [
    "trueCourseDeg",
    "trueAirspeedKt",
    "windFromDeg",
    "windSpeedKt"
  ],
  "properties": {
    "trueCourseDeg": {
      "type": "number",
      "examples": [
        90
      ]
    },
    "trueAirspeedKt": {
      "type": "number",
      "examples": [
        120
      ]
    },
    "windFromDeg": {
      "type": "number",
      "examples": [
        0
      ]
    },
    "windSpeedKt": {
      "type": "number",
      "examples": [
        20
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}