Catalog/nav-speed-distance-time

Navigation

Speed-distance-time API

Solves for the missing one of speed, distance or time given the other two, returning time as hours and h/m. Answers 'How long to cover 300 nm at 150 kt?', 'What speed covers this distance in this time?'.

Price$0.02per request
MethodPOST
Route/v1/nav/speed-distance-time
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
navigationspeeddistancetimeetasolvermarineaviation
API URLhttps://x402.hexl.dev/v1/nav/speed-distance-time
Integration docs
Example request
{
  "distanceNm": 300,
  "speedKt": 150
}
Example response
{
  "distanceNm": 300,
  "speedKt": 150,
  "timeHours": 2,
  "timeHoursMinutes": "2h 0m",
  "solvedFor": "timeHours",
  "interpretation": "300 nm at 150 kt = 2h 0m."
}
Input schema
{
  "type": "object",
  "properties": {
    "distanceNm": {
      "type": "number",
      "examples": [
        300
      ]
    },
    "speedKt": {
      "type": "number",
      "examples": [
        150
      ]
    },
    "timeHours": {
      "type": "number"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}