CreatorHero
CreatorHero API

Statistics

Revenue, subscription, chat and fan-spend statistics of the agency's creators. Statistics of a creator require the See Creator Stats permission (SEE_STATS) and a plan that includes statistics.


Get statistics of creators

GET
https://backend.creatorhero.com
/dashboard/api/v2/statistics/creator

Revenue, subscription and chat statistics summed over the given creators from from to to, both days included. Days are in zoneOverwrite, in UTC when it is not given. Creators without statistics access are left out.

from = to: data has one entry per hour (keys YYYY-MM-DDTHH:MM). Otherwise one entry per day (keys YYYY-MM-DD). lastTotal covers the same number of days right before from.

Get statistics of creators › query Parameters

creatorId
​integer[] · unique · required

ID of a creator. Repeat for several: creatorId=1&creatorId=2

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

zoneOverwrite
​string

IANA time zone for the days; invalid or empty = UTC

Get statistics of creators › Responses

Statistics

**Info to certain fields:** - `data`: The basic statistics mapped by date or hour for the specified creator or all creators (overview). If hourly data is requested (from == to), the stored data of a day before the transaction history (that can't be assigned one specific hour) will be provided in the first hour (T00:00.00). - `total`: The accumulated data for the specified period. - `lastTotal`: The accumulated data for the period with the length of the given period and with the end date of the specified start data. This can be used to calculate growth or other relative changes. - `sellingChatEfficiency`: Part of `total` and `lastTotal`. The revenue earned per selling chat in the period, calculated as (`messageRevenue` + `tipsRevenue`) / `sellingChatCount`. It is 0 when the period has no selling chats. - `bestDay`: The total revenue median mapped by the day of the week it was earned. - `bestHour`: Similar to the `bestDay`, the total revenue median mapped by the hour of the day it was earned. Keys may be omitted if no data is available. For example, if no revenue is made in the hour of 01, then this field will not exist.
timezoneOffset
​string · required
​object · required
​AccumulatedStatistic · required

Provides accumulated data for the specified time range.

​object · required
​object · required
​object · required
​object · required
​AccumulatedStatistic

The accumulated data in the time range of the length of the specified time range with the end date of the specified start date (exclusive).


Get totals of creators

GET
https://backend.creatorhero.com
/dashboard/api/v2/statistics/creator/totals

The accumulated statistics of each given creator from from to to, both days included, one entry per creator the user may see (the others are left out). Days are in zoneOverwrite, in UTC when it is not given.

Get totals of creators › query Parameters

creatorId
​integer[] · unique · required

ID of a creator. Repeat for several: creatorId=1&creatorId=2

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

zoneOverwrite
​string

IANA time zone for the days; invalid or empty = UTC

Get totals of creators › Responses

Totals per creator

Accumulated statistics of one creator over the period
creatorId
​integer · int64 · required

ID of the creator

​AccumulatedStatistic · required

Provides accumulated data for the specified time range.


Get new subscribers of creators by type and action

GET
https://backend.creatorhero.com
/dashboard/api/v2/statistics/creator/new-subscribers

The new subscribers of the given creators from from to to, both days included, summed over the creators the user may see, per OnlyFans subscription type and action, as free, paid and trial counts. Days are in zoneOverwrite, in UTC when it is not given.

Get new subscribers of creators by type and action › query Parameters

creatorId
​integer[] · unique · required

ID of a creator. Repeat for several: creatorId=1&creatorId=2

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

zoneOverwrite
​string

IANA time zone for the days; invalid or empty = UTC

Get new subscribers of creators by type and action › Responses

New subscribers per subscription type and action

New subscribers of one OnlyFans subscription type and action
type
​SubscribeType · enum · required

OnlyFans type of the subscription period

Enum values:
regular
promo
trial
auto
bundle
discount
reward
personal_trial
action
​SubscribeAction · enum · required

OnlyFans action of the subscription period: subscribe or return

Enum values:
subscribe
return
prolong
unknown
free
​integer · int64 · required

New subscribers of a free page (regularPrice = 0)

paid
​integer · int64 · required

New subscribers who were charged (price > 0)

trial
​integer · int64 · required

New subscribers of a free trial or a 100% promo on a paid page (price = 0)


Get statistics date range

GET
https://backend.creatorhero.com
/dashboard/api/v1/statistics/range

First day with statistics data and today. With creatorId: of that creator (requires any permission on it). Without: across all creators of the agency the user has any permission on. from is today when there is no data. Days are in zoneOverwrite, in UTC when it is not given.

Get statistics date range › query Parameters

creatorId
​integer · int64

ID of the creator; empty = all accessible creators

zoneOverwrite
​string

IANA time zone for the days; invalid or empty = UTC

Get statistics date range › Responses

200

Date range

First day with statistics data and today; both are today when there is no data
from
​string · date · required

First day with data (YYYY-MM-DD); today when there is none

to
​string · date · required

Today in the requested zone (YYYY-MM-DD): statistics can be looked at up to this day


List top fans across creators

GET
https://backend.creatorhero.com
/dashboard/api/v1/statistics/overview/fan

Fans ranked by what they spent from from to to, both days included, across all creators of the agency the user has statistics access to. Returns up to limit fans per page; fewer than limit means there are no more pages.

List top fans across creators › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

desc
​boolean

true (default) = highest spend first, false = lowest first

Default: true
page
​integer · int32

Page number, starts at 0. Default 0

Default: 0
limit
​integer · int32

Fans per page, 1 to 50. Default 50

Default: 50

List top fans across creators › Responses

Page of fans

Purchases and spend of one fan in the requested period
name
​string · required

The display name of the fan or the default name

username
​string · required

The Onlyfans username of the fan

avatar
​string · required

The link to a fan's avatar

purchases
​integer · int64 · required

The amount of purchases from this fan

totalSpend
​number · double · required

The total amount of spend money from this fan


List top fans of a creator

GET
https://backend.creatorhero.com
/dashboard/api/v1/statistics/creator/{creatorId}/fan

Fans of the creator ranked by what they spent from from to to, both days included. Returns up to limit fans per page; fewer than limit means there are no more pages.

List top fans of a creator › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List top fans of a creator › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

desc
​boolean

true (default) = highest spend first, false = lowest first

Default: true
page
​integer · int32

Page number, starts at 0. Default 0

Default: 0
limit
​integer · int32

Fans per page, 1 to 50. Default 50

Default: 50

List top fans of a creator › Responses

Page of fans

Purchases and spend of one fan in the requested period
name
​string · required

The display name of the fan or the default name

username
​string · required

The Onlyfans username of the fan

avatar
​string · required

The link to a fan's avatar

purchases
​integer · int64 · required

The amount of purchases from this fan

totalSpend
​number · double · required

The total amount of spend money from this fan


Get customer lifetime value

GET
https://backend.creatorhero.com
/dashboard/api/v1/statistics/creator/{creatorId}/clv

Net revenue of the creator (without VAT and chargebacks) from from to to, both days included, divided by the creator's average fan count in that period (at least 1). Days are in zoneOverwrite, in UTC when it is not given. 0 when there is no revenue.

Get customer lifetime value › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Get customer lifetime value › query Parameters

from
​string · date · required

First day of the period

to
​string · date · required

Last day of the period

zoneOverwrite
​string

IANA time zone for the days; invalid or empty = UTC

Get customer lifetime value › Responses

Customer lifetime value

number · double