# Saylor Innovations Sleep Cycle Calculator

> Saylor Innovations Sleep Cycle Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns optimal bedtimes that end on a 90-minute sleep cycle boundary for a given wake time, or wake times for a given bedtime, with quality ratings and total sleep hours.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/health/sleep-cycles?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-sleep-cycle-calculator-88f1eb51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bmIwVCpR2845oASUYGzMF

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 saylor-innovations-sleep-cycle-calculator-88f1eb51
```

Example prompt: What time should I go to bed tonight if I need to wake up at 06:30 tomorrow — give me the options that land on complete 90-minute sleep cycles and tell me which one you'd recommend?

## When to prefer this

Choose this endpoint when you need a quick, formula-based computation of sleep cycle-aligned bedtimes or wake times without requiring any personal biometric data. It is ideal for scheduling assistants, wellness apps, or alarm-planning agents that want to present users with multiple sleep window options ranked by quality. It is not a substitute for medical advice or personalized sleep tracking.

## Known failure modes

- Missing required wake_time or bedtime parameter returns an error
- Malformed time string (not HH:MM 24-hour format) may return a parsing error or unexpected results
- No sleep option available for very short windows (e.g. only 1-2 hours available) may return empty or limited options array

## How this service works

Bedtimes that end a 90-minute sleep cycle at a given wake time, or wake times for a given bedtime, with total sleep hours and time to fall asleep.

## Output

A JSON object containing an array of candidate sleep options (for 3, 4, 5, and 6 sleep cycles) each with the corresponding bedtime or wake time, total sleep hours, cycle count, and a quality rating. Includes a best_option field highlighting the recommended 5-cycle/7.5-hour option, the cycle length in minutes, assumed minutes-to-fall-asleep, the input time echoed back, the mode (wake-time or bedtime direction), a plain-language note, and a source attribution.

## 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": [
      "wake_time"
     ],
     "properties": {
      "wake_time": {
       "type": "string",
       "description": "when you need to wake, HH:MM 24-hour (or give bedtime)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "options",
      "best_option"
     ],
     "properties": {
      "mode": {
       "type": "string",
       "description": "Which direction was calculated"
      },
      "note": {
       "type": "string",
       "description": "Plain-language caveat about how to read and use the result"
      },
      "source": {
       "type": "string",
       "description": "Where the data or formula comes from"
      },
      "options": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "cycles": {
          "type": [
           "number",
           "null"
          ],
          "description": "Number of sleep cycles"
         },
         "quality": {
          "type": [
           "string",
           "null"
          ],
          "description": "How that amount of sleep rates"
         },
         "sleep_hours": {
          "type": [
           "number",
           "null"
          ],
          "description": "Total sleep"
         },
         "go_to_bed_at": {
          "type": [
           "string",
           "null"
          ],
          "description": "Bedtime for the supplied wake time"
         }
        }
       },
       "description": "Candidate times for 6, 5, 4 and 3 cycles"
      },
      "input_time": {
       "type": "string",
       "description": "Time supplied"
      },
      "best_option": {
       "type": "object",
       "description": "The five-cycle option, usually 7.5 hours"
      },
      "cycle_minutes": {
       "type": "number",
       "description": "Cycle length used"
      },
      "minutes_to_fall_asleep": {
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-sleep-cycle-calculator-88f1eb51/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
