Skip to content
HALOWERK

Spacewerk

orbit relative closest approach

Return closest relative approach within a declared straight-line state window.

POST https://space.halowerk.com/v1/orbit-relative-closest-approach

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
position_a_kmReferenceYes
velocity_a_km_sReferenceYes
position_b_kmReferenceYes
velocity_b_km_sReferenceYes
window_snumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "position_a_km": {
      "$ref": "#/$defs/s0"
    },
    "velocity_a_km_s": {
      "$ref": "#/$defs/s0"
    },
    "position_b_km": {
      "$ref": "#/$defs/s0"
    },
    "velocity_b_km_s": {
      "$ref": "#/$defs/s0"
    },
    "window_s": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000000000000
    }
  },
  "required": [
    "position_a_km",
    "velocity_a_km_s",
    "position_b_km",
    "velocity_b_km_s",
    "window_s"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:I4:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s1"
      },
      "maxItems": 3,
      "minItems": 3
    },
    "s1": {
      "type": "number",
      "minimum": -1000000000000,
      "maximum": 1000000000000
    }
  }
}

Open original schema

Published input example

{
  "position_a_km": [
    0,
    0,
    0
  ],
  "velocity_a_km_s": [
    1,
    0,
    0
  ],
  "position_b_km": [
    10,
    0,
    0
  ],
  "velocity_b_km_s": [
    -1,
    0,
    0
  ],
  "window_s": 10
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →