# Focus & Sleep Planner – Jet Lag Shift Scheduler

> Focus & Sleep Planner – Jet Lag Shift Scheduler is a paid API for AI agents from focus-sleep-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Generates a day-by-day bedtime and wake-time shifting schedule to gradually adjust sleep toward a new time zone, with exact 12-hour clock times for each day.

## Facts

- Endpoint: GET https://focus-sleep-calc.x402tookit.com/jet-lag-shift?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/focus-sleep-planner-jet-lag-shift-scheduler-c64c2511
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zx_W7Tv7qurwuG4XIetSF

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 focus-sleep-planner-jet-lag-shift-scheduler-c64c2511
```

Example prompt: I'm flying east to London in 10 days — there's an 8-hour time difference and my usual bedtime is 11:00 PM and wake time is 7:00 AM. Starting today (2025-07-14), give me a day-by-day schedule shifting 1 hour per day so I can beat the jet lag before I arrive.

## When to prefer this

Choose this endpoint when a user needs a concrete, actionable day-by-day sleep schedule to manage jet lag — either before a trip (eastward or westward) or during recovery afterward. It is ideal for travel planning agents, wellness apps, or itinerary builders that want to integrate sleep optimization without implementing circadian rhythm calculations from scratch. Prefer this over generic sleep advice endpoints when the user has a specific time zone difference and start date in mind.

## Known failure modes

- Missing required parameters (direction, hoursDifference, startDate, bedtime, wakeTime) return an error
- Invalid direction value (not 'east' or 'west') returns a validation error
- hoursDifference outside 0.5–12 range may return an error or unexpected results
- shiftPerDayHours outside 0.25–3 range may be rejected
- Malformed time strings for bedtime or wakeTime (not in 12-hour format) may cause parsing errors
- Invalid startDate format (not YYYY-MM-DD) will cause a failure
- Payment failure or insufficient USDC balance returns a 402 error

## How this service works

Day-by-day bedtime and wake-time shift toward a new time zone, with dates and 12-hour clock times. Planning only.

## Output

Returns a structured day-by-day schedule array with each entry containing the day number, calendar date, weekday name, adjusted bedtime, adjusted wake time, and total hours shifted. Also includes a summary, the date when the shift is fully complete, the direction of travel, total hours difference, and a disclaimer about the planning-only nature of the output.

## 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": [
      "direction",
      "hoursDifference",
      "startDate",
      "bedtime",
      "wakeTime"
     ],
     "properties": {
      "bedtime": {
       "type": "string",
       "description": "Your usual bedtime, like 11:00 PM"
      },
      "wakeTime": {
       "type": "string",
       "description": "Your usual wake time, like 7:00 AM"
      },
      "direction": {
       "type": "string",
       "description": "east (clocks ahead of home) or west (clocks behind home)"
      },
      "startDate": {
       "type": "string",
       "description": "First day of shifting, YYYY-MM-DD"
      },
      "hoursDifference": {
       "type": "number",
       "description": "Time zone difference in hours, 0.5 to 12"
      },
      "shiftPerDayHours": {
       "type": "number",
       "description": "Hours to move per day, 0.25 to 3 (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "schedule": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "day": {
          "type": [
           "null",
           "number"
          ]
         },
         "date": {
          "type": [
           "null",
           "string"
          ]
         },
         "bedtime": {
          "type"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/focus-sleep-planner-jet-lag-shift-scheduler-c64c2511/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from focus-sleep-calc.x402tookit.com](https://www.zero.xyz/host/focus-sleep-calc.x402tookit.com/llms.txt)
