WHOOP · Schema

SleepStageSummary

Summary of the sleep stages

FitnessWearablesHealthRecoverySleepWorkoutsStrainHeart RatePerformance

Properties

Name Type Description
total_in_bed_time_milli integer Total time the user spent in bed, in milliseconds
total_awake_time_milli integer Total time the user spent awake, in milliseconds
total_no_data_time_milli integer Total time WHOOP did not receive data from the user during the sleep, in milliseconds
total_light_sleep_time_milli integer Total time the user spent in light sleep, in milliseconds
total_slow_wave_sleep_time_milli integer Total time the user spent in Slow Wave Sleep (SWS), in milliseconds
total_rem_sleep_time_milli integer Total time the user spent in Rapid Eye Movement (REM) sleep, in milliseconds
sleep_cycle_count integer Number of sleep cycles during the user's sleep
disturbance_count integer Number of times the user was disturbed during sleep
View JSON Schema on GitHub

JSON Schema

whoop-sleepstagesummary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whoop/main/json-schema/whoop-sleepstagesummary-schema.json",
  "title": "SleepStageSummary",
  "description": "Summary of the sleep stages",
  "required": [
    "disturbance_count",
    "sleep_cycle_count",
    "total_awake_time_milli",
    "total_in_bed_time_milli",
    "total_light_sleep_time_milli",
    "total_no_data_time_milli",
    "total_rem_sleep_time_milli",
    "total_slow_wave_sleep_time_milli"
  ],
  "type": "object",
  "properties": {
    "total_in_bed_time_milli": {
      "type": "integer",
      "description": "Total time the user spent in bed, in milliseconds",
      "format": "int32",
      "example": 30272735
    },
    "total_awake_time_milli": {
      "type": "integer",
      "description": "Total time the user spent awake, in milliseconds",
      "format": "int32",
      "example": 1403507
    },
    "total_no_data_time_milli": {
      "type": "integer",
      "description": "Total time WHOOP did not receive data from the user during the sleep, in milliseconds",
      "format": "int32",
      "example": 0
    },
    "total_light_sleep_time_milli": {
      "type": "integer",
      "description": "Total time the user spent in light sleep, in milliseconds",
      "format": "int32",
      "example": 14905851
    },
    "total_slow_wave_sleep_time_milli": {
      "type": "integer",
      "description": "Total time the user spent in Slow Wave Sleep (SWS), in milliseconds",
      "format": "int32",
      "example": 6630370
    },
    "total_rem_sleep_time_milli": {
      "type": "integer",
      "description": "Total time the user spent in Rapid Eye Movement (REM) sleep, in milliseconds",
      "format": "int32",
      "example": 5879573
    },
    "sleep_cycle_count": {
      "type": "integer",
      "description": "Number of sleep cycles during the user's sleep",
      "format": "int32",
      "example": 3
    },
    "disturbance_count": {
      "type": "integer",
      "description": "Number of times the user was disturbed during sleep",
      "format": "int32",
      "example": 12
    }
  },
  "externalDocs": {
    "description": "Sleep Consistency and Sleep Stages",
    "url": "https://support.whoop.com/hc/en-us/articles/360019623493-Sleep-Consistency-and-Sleep-Stages"
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/whoop-sleepstagesummary"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.