Skip to main content
GET
Health Check
The health endpoint probes every active provider using a known-good TMDB ID and reports whether each one is up, along with the response time in milliseconds. No query parameters needed.
Health checks are not cached. Each call triggers a fresh live probe of all active providers — expect a response time of 2–10 seconds depending on provider count and speed.
This endpoint accepts any valid API key (including public) or a session token from POST /api/auth.

Request


Response Fields

string
required
Overall health of the API.
  • "ok" — all providers returned a valid stream
  • "degraded" — one or more providers failed; others still work
string
required
ISO 8601 timestamp of when the health check was run.
boolean
required
Whether a TMDB_API_KEY is configured. false means the meta field will be null in movie and TV responses.
number
required
Number of entries currently in the in-memory stream cache.
string
required
The TMDB ID used to probe all providers during this health check.
object
required
Per-provider health results, keyed by provider key.

Responses

All providers are live and returned valid streams.

Status Reference

A 207 Degraded response does not mean the API is unusable. Movie and TV endpoints will still return sources from whichever providers are working. Check data.sources.length > 0 rather than depending on status === "ok" when deciding whether to proceed.