Get views histogram
GET
Get video counts grouped by platform and view-size bucket. Backs the views-distribution histogram charts.
apiKeyAuthheader
x-api-key<token>API key for authentication. Keys are prefixed with cops_.
accountScope?stringValue in
"campaign""tracked"creatorIds?array<>accountIds?array<>campaignIds?array<>platforms?array<>dateRange?metricFilters?sortBy?stringValue in
"title""platform""accountHandle""viralityMultiplier""views""likes""comments""shares""bookmarks""engagement""publishedAt""updatedAt"sortOrder?stringValue in
"asc""desc"limit?integerRange
-9007199254740991 <= value <= 9007199254740991offset?integerRange
0 <= value <= 9007199254740991showExcluded?booleanResponse schema unavailable.
curl -X GET 'https://cops.app/api/brand/analytics/views-histogram'Example Response200
Empty
Get views gained per day breakdown GET
Views gained per day (diffed from video snapshots, regardless of publish date) grouped by platform, campaign, or creator. Backs the 'Per day' mode of the Views bar chart.
Get spend summary GET
Total creator payouts paid, total views, and blended effective CPM (paid ÷ views × 1000) for the selected scope. Backs the Spend & efficiency header.