CreatorHero
CreatorHero API

Social media accounts tracked for a creator and their view statistics. socialType selects the platform: TikTok, Instagram, YouTubeShorts or YouTubeVideos; the platform must be included in the creator's plan. Requires permission to manage the creator's social accounts.


List social accounts

GET
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}

Returns all accounts of the platform tracked for the creator, including disabled ones, sorted by follower (highest first), then name. Empty list when none are tracked.

List social accounts › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

List social accounts › Responses

Social accounts

Tracked social media account with the creator's note
​SocialAccountDto · required

The Social account.

note
​string

Note the creator keeps on this account, null when there is none.


Rename social account

PUT
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}

Points a tracked account to another handle on the platform. Body: name is the new handle (with or without @) or its profile URL.

Rename social account › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

Rename social account › query Parameters

id
​integer · int32 · required

id of the social account

Rename social account › Request Body

Social media account to track
name
​string

Account handle, with or without @, or profile URL

Rename social account › Responses

Updated account

Social media account tracked for a creator
id
​integer · int32 · required

Account ID.

name
​string · required

Social media account name.

follower
​integer · int64 · required

Follower count.

disabled
​boolean · required

Whether the account is disabled.

deniedApproval
​boolean · required

Whether approval was denied.

type
​SocialMediaType · enum · required

Social media platform type.

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos
status
​SocialAccountStatus · enum · required

Status of the account.

Enum values:
Active
Disabled
VerificationDenied
channelId
​string

YouTube channel ID.

instagramHandle
​string

Linked Instagram handle.

avatarUrl
​string

Temporary URL of the account's avatar.

performanceState
​SocialAccountPerformanceState · enum

Performance state based on recent view trends.

Enum values:
NA
BELOW_AVERAGE
NORMAL_AVERAGE
ABOVE_AVERAGE
shortPeriodAverage
​number · double

Average views over short period (7 days).

longPeriodAverage
​number · double

Average views over long period (60 days).


Add social account

POST
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}

Starts tracking an account on the platform. Body: name is the account handle (with or without @) or its profile URL; it is converted to lowercase. The number of accounts per platform and creator is limited.

Add social account › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

Add social account › Request Body

Social media account to track
name
​string

Account handle, with or without @, or profile URL

Add social account › Responses

Added account

Social media account tracked for a creator
id
​integer · int32 · required

Account ID.

name
​string · required

Social media account name.

follower
​integer · int64 · required

Follower count.

disabled
​boolean · required

Whether the account is disabled.

deniedApproval
​boolean · required

Whether approval was denied.

type
​SocialMediaType · enum · required

Social media platform type.

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos
status
​SocialAccountStatus · enum · required

Status of the account.

Enum values:
Active
Disabled
VerificationDenied
channelId
​string

YouTube channel ID.

instagramHandle
​string

Linked Instagram handle.

avatarUrl
​string

Temporary URL of the account's avatar.

performanceState
​SocialAccountPerformanceState · enum

Performance state based on recent view trends.

Enum values:
NA
BELOW_AVERAGE
NORMAL_AVERAGE
ABOVE_AVERAGE
shortPeriodAverage
​number · double

Average views over short period (7 days).

longPeriodAverage
​number · double

Average views over long period (60 days).


Remove social account

DELETE
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}

Stops tracking the account and removes it from the creator.

Remove social account › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

Remove social account › query Parameters

id
​integer · int32 · required

id of the social account

Remove social account › Responses

Account removed

No data returned

Set social account note

POST
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}/note

Saves the note of a social account, replacing the previous one. Body: socialAccountId and noteText (max 1000 characters, trimmed). Empty or missing noteText deletes the note.

Set social account note › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

Set social account note › Request Body

Note to set on a social media account
socialAccountId
​integer · int32 · required

Id of the Social account the note belongs to.

noteText
​string · minLength: 0 · maxLength: 1000

Note text. Blank or null erases the existing note.

Set social account note › Responses

Note saved

No data returned

List video statistics

GET
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}/videos

One page of the creator's videos on the platform with their growth from from to to, both days included, sorted by sortBy (highest first). growth is the views gained in the period. Accounts with status VerificationDenied are left out.

page starts at 1. total counts daily data points of the matched videos, not distinct videos, so it can be higher than the number of videos; the last page is reached when it returns fewer than limit videos.

List video statistics › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

List video statistics › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

page
​integer · int32 · required

Page number, starts at 1 (0 is treated as 1)

accountName
​string

Only videos of this account; empty = all accounts

limit
​integer · int32

Videos per page, 1 to 50, default 10

Default: 10
sortBy
​FetchVideoViewsResultSort · enum

Growth to sort by, default VIEWS

Custom sorting options for video views sorting.

Enum values:
VIEWS
LIKES
COMMENTS
SHARES

List video statistics › Responses

Page of video statistics

One page of video statistics
​VideoView[]

Videos of this page with their growth in the period

total
​integer · int64

Number of daily data points of all matched videos in the period, not the number of videos; can be higher than the video count


GET
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}/videos/download

Returns a download link for a tracked video, valid for 1 hour. The first download of a video can take longer. At most 50 downloads of videos not downloaded before are allowed per hour and platform for the agency; above that the endpoint returns 429.

Get video download link › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

Get video download link › query Parameters

accountName
​string · required

accountName of the video

shortId
​string · required

id of the video from the video statistics

Get video download link › Responses

Download link

Temporary download link of a file
url
​string

Temporary download URL. Valid for a limited time, typically 60 minutes; see the endpoint description.


Get account statistics

GET
https://backend.creatorhero.com
/dashboard/api/v2/{creatorId}/{socialType}/accounts

Daily statistics of the creator's accounts on the platform from from to to, both days included. Accounts with status VerificationDenied are left out.

  • views: one entry per account and day with data. viewsGrowth, likesGrowth, sharesGrowth, commentsGrowth and followersGrowth are the change against the previous day.
  • links: profile URL per account name.
  • performance-states: per account name, state (ABOVE_AVERAGE, NORMAL_AVERAGE, BELOW_AVERAGE or NA), comparing average views of the last 7 days (shortPeriodAverage) with the last 60 days (longPeriodAverage).
  • totalUploads: number of videos uploaded in the period.

Get account statistics › path Parameters

creatorId
​integer · int64 · required

ID of the creator

socialType
​SocialMediaType · enum · required

Platform

Enum values:
TikTok
Instagram
YouTubeShorts
YouTubeVideos

Get account statistics › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

Get account statistics › Responses

Account statistics

​AccountView[]

TikTok link for every account appearing this request