Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns aggregate watching statistics. Supports optional date filtering to scope stats to a time period.
cURL
curl --request GET \ --url https://api.rewind.rest/v1/watching/stats \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.rewind.rest/v1/watching/stats', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.rewind.rest/v1/watching/stats" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "data": { "total_movies": 773, "total_watch_time_hours": 1507, "movies_this_year": 27, "avg_per_month": 8.1, "top_genre": "Drama", "top_decade": 2000, "top_director": "Martin Scorsese", "total_shows": 98, "total_episodes_watched": 1572, "episodes_this_year": 106 } }
{ "error": "Not found", "status": 404 }
API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.
Single day (YYYY-MM-DD). Overrides from/to.
^\d{4}-\d{2}-\d{2}$
"2025-02-17"
Range start, inclusive (ISO 8601)
"2025-02-01T00:00:00Z"
Range end, inclusive (ISO 8601)
"2025-02-28T23:59:59Z"
Watch stats
Show child attributes