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 weekly or monthly watch counts. Supports date filtering via from/to params.
cURL
curl --request GET \ --url https://api.rewind.rest/v1/watching/trends \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.rewind.rest/v1/watching/trends', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.rewind.rest/v1/watching/trends" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "period": "monthly", "data": [ { "period": "2026-01", "count": 8 }, { "period": "2026-02", "count": 10 }, { "period": "2026-03", "count": 9 } ] }
{ "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"
Trend data
Show child attributes