Explore Plans
Mobile menu Close menu
Whoop

Get current sleep

Pro plus icon This query returns your most recent sleep session data from Whoop.

Developer info

API endpoint slug
whoop.get_current_sleep
Runtime method
performQuery("whoop.get_current_sleep"}

Query fields

No fields for this query

Ingredients

Sleep

Slug
sleep_id
Filter code
Whoop.getCurrentSleep.SleepId
Type
String
Example
8a1e2f00-1234-4567-89ab-cdef01234567

Sleep start

Slug
sleep_start
Filter code
Whoop.getCurrentSleep.SleepStart
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Sleep end

Slug
sleep_end
Filter code
Whoop.getCurrentSleep.SleepEnd
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Total sleep duration

Slug
total_sleep_duration
Filter code
Whoop.getCurrentSleep.TotalSleepDuration
Type
String
Example
7.5

Sleep performance

Slug
sleep_performance
Filter code
Whoop.getCurrentSleep.SleepPerformance
Type
String
Example
92

Sleep consistency

Slug
sleep_consistency
Filter code
Whoop.getCurrentSleep.SleepConsistency
Type
String
Example
78

Respiratory rate

Slug
respiratory_rate
Filter code
Whoop.getCurrentSleep.RespiratoryRate
Type
String
Example
14.6