{"uid":"cap_OXT_2KP6LBUvjWb5i8cub","slug":"focus-sleep-planner-nap-planner-5eb6c192","name":"Focus & Sleep Planner – Nap Planner","description":"Nap lengths (10, 20, 30, 60, 90 minutes or your own) with the wake-up clock time for each, and a bedtime gap check.","url":"https://focus-sleep-calc.x402tookit.com/nap-planner?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["startTime"],"properties":{"bedtime":{"type":"string","description":"Tonight's bedtime; adds the gap between waking and bed"},"startTime":{"type":"string","description":"When you lie down, like 1:30 PM or 13:30"},"minGapHours":{"type":"number","description":"Smallest comfortable gap before bedtime in hours (default 6)"},"customMinutes":{"type":"number","description":"One extra nap length in minutes to include (5 to 240)"},"fallAsleepMinutes":{"type":"number","description":"Minutes to fall asleep, 0 to 60 (default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"options":{"type":["array","null"],"items":{"type":"object","properties":{"note":{"type":["null","string"]},"wakeTime":{"type":["null","string"]},"napMinutes":{"type":["null","number"]},"wakeDayOffset":{"type":["null","number"]},"tooCloseToBedtime":{"type":["boolean","null"]},"hoursBeforeBedtime":{"type":["null","number"]}}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"startClock":{"type":["null","string"]},"minGapHours":{"type":["null","number"]},"bedtimeClock":{"type":["null","string"]},"fallAsleepMinutes":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nO7uQpSTsT5N_mZAAk5kN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given a nap start time, returns wake-up clock times for standard nap lengths (10, 20, 30, 60, 90 min plus an optional custom length), with a bedtime gap check flagging which naps are too close to tonight's bedtime.","exampleAgentPrompt":"I'm lying down for a nap at 2:30 PM and need to be asleep by 10:30 PM tonight — can you show me all the nap length options (10, 20, 30, 60, and 90 minutes) with what time I'd wake up for each, and flag which ones are too close to bedtime? I usually take about 8 minutes to fall asleep.","exampleUseCases":[{"title":"Afternoon nap with bedtime check","prompt":"I want to nap starting at 1:45 PM and I go to bed at 10 PM. Show me my wake-up times for every standard nap length and tell me which ones are safe — I take about 10 minutes to fall asleep."},{"title":"Custom nap length planning","prompt":"Can you plan a nap for me starting at 3 PM? I want to see the usual options plus a 45-minute nap. My bedtime is 11 PM and I'd like at least a 7-hour gap before bed."},{"title":"Quick power nap alarm calculation","prompt":"I'm about to lie down for a nap right now at 12:15 PM. Just show me the wake-up times for a 10 and 20 minute nap — I fall asleep almost immediately, like 2 minutes."}],"resultDescription":"Returns an array of nap options, each with the nap duration in minutes, the exact wake-up clock time, hours remaining before bedtime, a flag indicating whether the nap is too close to bedtime, and a day offset if the wake time crosses midnight. Also includes a summary verdict, disclaimer, the confirmed start and bedtime clocks, fall-asleep minutes used, and minimum gap hours applied.","failureModes":["Missing required startTime parameter returns an error","Invalid time format for startTime or bedtime (e.g. non-parseable string) causes a parsing failure","customMinutes outside 5–240 range may be rejected or ignored","fallAsleepMinutes outside 0–60 range may be rejected","If bedtime is not provided, the gap check and tooCloseToBedtime flags are not computed"],"whenToPreferThis":"Use this endpoint when you need to compute concrete nap wake-up times and assess bedtime safety for multiple standard nap durations at once. It is purpose-built for sleep scheduling with sleep-cycle awareness, unlike generic time calculators. Choose this over manual arithmetic when you need a structured multi-option output with bedtime gap validation in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:14:24.822Z","isFirstParty":false,"canonicalSlug":"focus-sleep-planner-nap-planner-5eb6c192"}