---
title: "Get Creator Hub overview top accounts"
method: GET
path: "/creator-hub/overview/top-accounts"
tags: ["Creator Hub Analytics"]
---

# Get Creator Hub overview top accounts

`GET /creator-hub/overview/top-accounts`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/creator-hub/overview/top-accounts`
- Auth: API key in header `x-api-key`

Returns the top creator-linked accounts ranked by the selected period metric under creator-hub eligibility.

## Query parameters

- `scope` 'dateRange' | 'allTime'
- `dateRange` object, required: Date range filter for analytics queries
  - `from` string, required: Start date in ISO format (YYYY-MM-DD)
  - `to` string, required: End date in ISO format (YYYY-MM-DD)
- `campaignIds` string[]
- `creatorIds` string[]
- `publicationMode` 'allEligible' | 'onlyPublished'
- `limit` integer: Maximum number of results to return (1-300)
- `metric` 'viewCount' | 'likeCount' | 'commentCount' | 'shareCount' | 'bookmarkCount' | 'videoCount' | 'engagementRate' | 'averageViewsPerVideo' | 'viewCountInPeriod' | 'likeCountInPeriod' | 'commentCountInPeriod' | 'shareCountInPeriod' | 'bookmarkCountInPeriod' | 'videoCountInPeriod' | 'engagementRateInPeriod' | 'averageViewsPerVideoInPeriod': Metric to sort by

## Response `200`

OK

- object[]: Array of top performing tracked accounts with comprehensive analytics
  - `id` string, required: Organization account ID with orgacc_ prefix. Not the same as platform account ID.
  - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required: Social media platform (facebook, instagram, tiktok, youtube, snapchat)
  - `platformAccountId` string, required: Native platform account id
  - `isCompetitor` boolean, required: Whether the tracked account is marked as a competitor
  - `username` string, nullable, required: Account username/handle on the platform
  - `loadAt` string, nullable, required: Timestamp when account data was last loaded
  - `followerCount` number, nullable, required: Number of followers for this account
  - `followingCount` number, nullable, required: Number of accounts this account is following
  - `profilePictureUrl` string, nullable, required: URL to the account's profile picture
  - `displayName` string, nullable, required: Display name of the account
  - `countryCode` string, nullable, required: Country code where the account is based
  - `viewCount` number, required: Total lifetime views across all videos
  - `likeCount` number, required: Total lifetime likes across all videos
  - `commentCount` number, required: Total lifetime comments across all videos
  - `shareCount` number, required: Total lifetime shares across all videos
  - `bookmarkCount` number, required: Total lifetime bookmarks across all videos
  - `videoCount` number, required: Total number of videos published by this account
  - `averageViewsPerVideo` number, required: Average views per video across all content
  - `engagementRate` number, required: Overall engagement rate (likes+comments+shares+bookmarks)/views
  - `viralityRate` number, required: Rate of viral content based on performance thresholds
  - `latestVideoPublishedAt` string, nullable, required: Timestamp of when the latest video was published
  - `daysSinceLastPost` number, nullable, required: Number of days since the last video was published
  - `user` object, required: Internal tracking metadata for this account
    - `id` string, required: Internal user record ID
    - `platform` string, required: Platform identifier
    - `username` string, nullable, required: Username for tracking purposes
    - `maxVideos` number, required: Maximum number of videos to track for this account
    - `userId` string, required: User ID with user_ prefix
    - `orgId` string, required: Organization ID with org_ prefix
    - `createdAt` string, date-time, required: When this account tracking was created
    - `updatedAt` string, date-time, required: When this account tracking was last updated
  - `viewCountInPeriod` number, required: Total views gained during the specified date range
  - `likeCountInPeriod` number, required: Total likes gained during the specified date range
  - `commentCountInPeriod` number, required: Total comments gained during the specified date range
  - `shareCountInPeriod` number, required: Total shares gained during the specified date range
  - `bookmarkCountInPeriod` number, required: Total bookmarks gained during the specified date range
  - `videoCountInPeriod` number, required: Number of videos published during the specified date range
  - `averageViewsPerVideoInPeriod` number, required: Average views per video for content published in the period
  - `engagementRateInPeriod` number, required: Engagement rate calculated from period gains (likes+comments+shares+bookmarks)/views

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
