Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Eight Sleep Trends API

Per-night sleep and biometric trend reads (unofficial).

Eight Sleep Trends API is one of 7 APIs that Eight Sleep publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Trends. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 3.0.1, at version unofficial-v1.

Requests are made against 3 base URLs: https://auth-api.8slp.net, https://client-api.8slp.net, https://app-api.8slp.net.

1 operations 1 paths 1 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
unofficial-v1
Base URL
https://auth-api.8slp.net/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Eight Sleep Trends API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth).

  • bearerAuth — Bearer access token issued by POST /v1/tokens on auth-api.8slp.net. Unofficial.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Trends 1

Per-night sleep and biometric trend reads (unofficial).

GET
/v1/users/{userId}/trends
Get sleep trends (unofficial)
getTrends 4 params → 200401

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is TrendsResponse (1 property). Each schema is shown below with its type and property counts.

TrendsResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

eight-sleep-trends-api-openapi.yml Raw ↑

Other APIs Eight Sleep publishes across the network.

Eight Sleep Alarms API
Eight Sleep Authentication API
Eight Sleep Base API
Eight Sleep Device API
Eight Sleep Temperature API
Eight Sleep User API