Top Activities
Get top stream activities by duration.
Authorization
API Key x-api-key<token>
Create a key in /app/dashboard/settings/api-keys and send it in x-api-key. Keys grant access to their owner's API data and actions; per-key scopes and OAuth delegation are not supported. Requires ZeroCut Premium. See /docs/api for onboarding, rate limits, and versioning.
In: header
Query Parameters
platform?string
Filter by platform (e.g. twitch, youtube)
Match
^[a-z0-9][a-z0-9-]{0,31}$accountId?string
Filter by a provider-native account ID (requires platform)
startDate?string
Start date (ISO 8601). Provide startDate and endDate together.
Match
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Format
date-timeendDate?string
End date (ISO 8601). Provide startDate and endDate together.
Match
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Format
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/analytics/activities"{ "activities": [ { "name": "Just Chatting", "durationMinutes": 300, "sessionCount": 5, "revenue": 0 } ]}