CreatorHero
CreatorHero API

Link Tracking

OnlyFans trial and tracking links of a creator with their clicks, claimed fans and revenue. type is Trial or Tracking. Requires permission to see the creator's stats.


POST
https://backend.creatorhero.com
/dashboard/api/v1/link-tracking/{creatorId}/{type}/update-visibility

Sets visible of a link; hidden links are left out of the paginated list when onlyVisible is true. Body: linkId (OnlyFans ID of the link), type (Trial or Tracking) and visible. The link is found by the body's linkId and type; the type path segment is not used.

Show or hide a link › path Parameters

creatorId
​integer · int64 · required

ID of the creator

type
​string · required

Trial or Tracking; not used

Show or hide a link › Request Body

Visibility of a link
linkId
​integer · int64

OnlyFans id of the link to update visibility for.

type
​LinkType · enum

Type of the link.

Enum values:
Trial
Tracking
visible
​boolean

New visibility value.

Show or hide a link › Responses

Visibility updated

No data returned

Set promotion cost

POST
https://backend.creatorhero.com
/dashboard/api/v1/link-tracking/{creatorId}/{type}/update-promotion-cost

Sets how much was spent on promoting a link; used for its return on investment. Body: linkId (OnlyFans ID of the link), type (Trial or Tracking) and promotionCost. The link is found by the body's linkId and type; the type path segment is not used.

Set promotion cost › path Parameters

creatorId
​integer · int64 · required

ID of the creator

type
​string · required

Trial or Tracking; not used

Set promotion cost › Request Body

Promotion cost of a link, used for its return on investment
linkId
​integer · int64

OnlyFans id of the link to update promotion cost for.

type
​LinkType · enum

Type of the link.

Enum values:
Trial
Tracking
promotionCost
​number · double

New promotion cost value.

Set promotion cost › Responses

Promotion cost updated

No data returned

GET
https://backend.creatorhero.com
/dashboard/api/v1/link-tracking/{creatorId}/{type}

Returns up to limit links of the given type, newest first. Request the next page until fewer than limit links come back.

List links › path Parameters

creatorId
​integer · int64 · required

ID of the creator

type
​string · required

Trial or Tracking

List links › query Parameters

page
​integer · int32

Page number, starts at 0. Default 0

Default: 0
limit
​integer · int32

Links per page. Default 10

Default: 10

List links › Responses

Page of links

​LinkView[]
Link with its totals. Amounts are in USD; claimed fans are fans who subscribed through the link
id
​integer · int32

CreatorHero ID of the link

linkId
​integer · int64

OnlyFans ID of the link; used by the link details endpoint

name
​string

Name of the link

createdAt
​string · date-time

Time the link was created (ISO-8601)

url
​string

URL of the link

linkClicks
​integer · int32

Clicks on the link as shown on OnlyFans; 0 when unavailable

claimedFans
​integer · int32

Number of claimed fans

claimCount
​integer · int32

Number of claims of a trial link as shown on OnlyFans; 0 for a tracking link

claimedFansConversion
​number · double

claimedFans divided by linkClicks, in percent, rounded down

revenue
​number · double

Revenue from claimed fans, rounded down to whole dollars

spendingFans
​integer · int32

Claimed fans with at least one purchase (any transaction except a subscription or resubscription)

percentageSpendingFans
​number · double

spendingFans divided by claimedFans, in percent, rounded down

averageFanSpending
​number · double

Revenue per claimed fan; 0 when there is no revenue or no claimed fan

visible
​boolean

Whether the link is visible; see the visibility endpoint


GET
https://backend.creatorhero.com
/dashboard/api/v1/link-tracking/{creatorId}/{type}/{linkId}

Statistics of one link: engagement of the claimed fans, best fans, revenue, return on the promotion cost and the last 30 days.

creatorId
​integer · int64 · required

ID of the creator

type
​string · required

Trial or Tracking

linkId
​integer · int64 · required

OnlyFans ID of the link (linkId from the list, not id)

Link details

Statistics of one link. Amounts are in USD; claimed fans are fans who subscribed through the link
​Link

Link information.

​Engagement

Engagement statistics.

​BestFans

Information about the best fans associated with the link.

​Investment

Information about the investment associated with the link.

​SubscribedPieChart

Fan subscribed pie chart.

​SpendingPieChart

Fan spending pie chart.

renewActive
​integer · int32

Number of claimed fans with auto-renew on

averageFanSpending
​number · double

totalRevenue divided by claimedFans; 0 when either is 0

totalRevenue
​number · double

Revenue from claimed fans since the link was created

revenueInLast30Days
​number · double

Revenue from claimed fans in the last 30 days, or since the link was created if later

claimedFans
​integer · int32

Number of claimed fans

claimCount
​integer · int32

Number of claims of a trial link as shown on OnlyFans; 0 for a tracking link

claimedFansInLast30Days
​integer · int32

Number of claimed fans who subscribed in the last 30 days, or since the link was created if later

linkClicks
​integer · int32

Clicks on the link as shown on OnlyFans; 0 when unavailable


GET
https://backend.creatorhero.com
/dashboard/api/v1/link-tracking/{creatorId}/{type}/paginated

Returns one page of links of the given type, newest first, with totalElements and totalPages. Request the next page while last is false.

creatorId
​integer · int64 · required

ID of the creator

type
​string · required

Trial or Tracking

onlyVisible
​boolean

true = only links with visible = true. Default false

Default: false
searchQuery
​string

Case-insensitive part of the link name; empty = all links

Default:
page
​integer · min: 0

Page number, starts at 0. Default 0

Default: 0
size
​integer · min: 1

Links per page. Default 20

Default: 20
sort
​string[]

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Page of links

totalElements
​integer · int64
totalPages
​integer · int32
size
​integer · int32
​LinkView[]
number
​integer · int32
first
​boolean
last
​boolean
numberOfElements
​integer · int32
​SortObject
​PageableObject
empty
​boolean