WHOOP · Schema

SleepScore

WHOOP's measurements and evaluation of the sleep activity. Only present if the Sleep State is `SCORED`

FitnessWearablesHealthRecoverySleepWorkoutsStrainHeart RatePerformance

Properties

Name Type Description
stage_summary object
sleep_needed object
respiratory_rate number The user's respiratory rate during the sleep.
sleep_performance_percentage number A percentage (0-100%) of the time a user is asleep over the amount of sleep the user needed. May not be reported if WHOOP does not have enough data about a user yet to calculate Sleep Need.
sleep_consistency_percentage number Percentage (0-100%) of how similar this sleep and wake times compared to the previous day. May not be reported if WHOOP does not have enough sleep data about a user yet to understand consistency.
sleep_efficiency_percentage number A percentage (0-100%) of the time you spend in bed that you are actually asleep.
View JSON Schema on GitHub

JSON Schema

whoop-sleepscore-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whoop/main/json-schema/whoop-sleepscore-schema.json",
  "title": "SleepScore",
  "description": "WHOOP's measurements and evaluation of the sleep activity. Only present if the Sleep State is `SCORED`",
  "required": [
    "sleep_needed",
    "stage_summary"
  ],
  "type": "object",
  "properties": {
    "stage_summary": {
      "$ref": "#/components/schemas/SleepStageSummary"
    },
    "sleep_needed": {
      "$ref": "#/components/schemas/SleepNeeded"
    },
    "respiratory_rate": {
      "type": "number",
      "description": "The user's respiratory rate during the sleep.",
      "format": "float",
      "example": 16.11328125
    },
    "sleep_performance_percentage": {
      "type": "number",
      "description": "A percentage (0-100%) of the time a user is asleep over the amount of sleep the user needed. May not be reported if WHOOP does not have enough data about a user yet to calculate Sleep Need.",
      "format": "float",
      "example": 98.0
    },
    "sleep_consistency_percentage": {
      "type": "number",
      "description": "Percentage (0-100%) of how similar this sleep and wake times compared to the previous day. May not be reported if WHOOP does not have enough sleep data about a user yet to understand consistency.",
      "format": "float",
      "example": 90.0,
      "externalDocs": {
        "description": "WHOOP Locker - What is Sleep Consistency?",
        "url": "https://www.whoop.com/thelocker/new-feature-sleep-consistency-why-we-track-it/"
      }
    },
    "sleep_efficiency_percentage": {
      "type": "number",
      "description": "A percentage (0-100%) of the time you spend in bed that you are actually asleep.",
      "format": "float",
      "example": 91.69533848,
      "externalDocs": {
        "description": "WHOOP Locker - Sleep Efficiency: What is It, How Do You Stack Up & How Can You Improve?",
        "url": "https://www.whoop.com/thelocker/app-feature-improve-sleep-efficiency/"
      }
    }
  }
}

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-sleepscore"
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.