# Space Objects: Orbital Period Calculator (Kepler's Third Law)

> Space Objects: Orbital Period Calculator (Kepler's Third Law) is a paid API for AI agents from space-objects.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Calculates orbital period from semi-major axis using Kepler's third law, and optionally returns perihelion, aphelion, and orbital speeds given eccentricity.

## Facts

- Endpoint: GET https://space-objects.x402tookit.com/orbital-period?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/space-objects-orbital-period-calculator-kepler-s-third-law-14b1bd54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Te86h7vMJQ6Tiex7EmvpL

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 space-objects-orbital-period-calculator-kepler-s-third-law-14b1bd54
```

Example prompt: What's the orbital period of an object with a semi-major axis of 3.2 AU and eccentricity of 0.15 orbiting the Sun? Also give me the perihelion and aphelion distances and orbital speeds.

## When to prefer this

Use this endpoint when you need a fast, authoritative Kepler's-law-based orbital period calculation with optional full orbital parameter set (perihelion, aphelion, speeds). Ideal for astrodynamics calculations around the Sun or other stars with configurable central mass, without needing a full ephemeris lookup. Prefer this over NASA/JPL ephemeris endpoints when you have the orbital elements and need pure physics computation rather than a historical or observational data query.

## Known failure modes

- Missing required semiMajorAxisAu parameter returns an error
- Semi-major axis out of range (below 0.01 or above 10000 AU) may return an error or degraded result
- Eccentricity out of range (must be 0 to 0.99) causes failure
- centralMassSolar out of range (0.01 to 100) causes failure
- Payment failure due to insufficient USDC balance returns 402 error

## How this service works

Orbital period from semi-major axis via Kepler's third law, with perihelion, aphelion and speeds when eccentricity is given.

## Output

Returns orbital period in both days and years, mean motion in degrees per day, and (when eccentricity is provided) perihelion distance, aphelion distance, speed at perihelion, and speed at aphelion — all based on Kepler's third law. Also includes the formula used, the input parameters echoed back, and optional notes or disclaimers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "semiMajorAxisAu"
     ],
     "properties": {
      "eccentricity": {
       "type": "number",
       "description": "Eccentricity 0 to 0.99, to also get perihelion, aphelion and speeds"
      },
      "semiMajorAxisAu": {
       "type": "number",
       "description": "Semi-major axis in AU, 0.01 to 10000"
      },
      "centralMassSolar": {
       "type": "number",
       "description": "Central mass in solar masses, 0.01 to 100 (default 1, the Sun)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "formula": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "aphelionAu": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "periodDays": {
       "type": [
        "null",
        "number"
       ]
      },
      "periodYears": {
       "type": [
        "null",
        "number"
       ]
      },
      "eccentricity": {
       "type": [
        "null",
        "number"
       ]
      },
      "perihelionAu": {
       "type": [
        "null",
        "number"
       ]
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/space-objects-orbital-period-calculator-kepler-s-third-law-14b1bd54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from space-objects.x402tookit.com](https://www.zero.xyz/host/space-objects.x402tookit.com/llms.txt)
