Skip to content
HALOWERK

Spacewerk

orbit state vector elements

Return nonsingular classical two-body orbital elements from supplied kilometre state vectors.

POST https://space.halowerk.com/v1/orbit-state-vector-elements

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
position_kmReferenceYes
velocity_km_sReferenceYes
mu_km3_s2numberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "position_km": {
      "$ref": "#/$defs/s0"
    },
    "velocity_km_s": {
      "$ref": "#/$defs/s0"
    },
    "mu_km3_s2": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000000000000
    }
  },
  "required": [
    "position_km",
    "velocity_km_s",
    "mu_km3_s2"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:I0: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_km": [
    7000,
    0,
    0
  ],
  "velocity_km_s": [
    0,
    7.546053290107541,
    0
  ],
  "mu_km3_s2": 398600.4418
}

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 →