FanslyTracking Links
Get Tracking Link Revenue Stats
Get daily revenue (totalGross, totalNet) for a custom tracking link or a built-in FYP, Search or Suggestions source over a date range.
Rows are returned as Fansly sends them: days without revenue are omitted, and the result can be an empty array. type is Fansly's revenue type code, returned unchanged. Amounts are Fansly's raw integer values, returned unconverted; totalNet can be 0 while totalGross is positive.
Authorization
default AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
fanslyAccount*string
The Fansly Account ID
tracking_link_id*string
The tracking link record id from List Tracking Links (not internalId).
Query Parameters
before?string
End of the date range (ISO 8601). Defaults to now.
after?string
Start of the date range (ISO 8601). Defaults to 30 days ago.
Response Body
application/json
curl -X GET "https://app.fansapi.com/api/fansly/fansly_acct_XXXXXXXXXXXXXXX/tracking-links/100000000000000001/revenue-stats?before=2026-06-03T23%3A59%3A59Z&after=2026-05-03T00%3A00%3A00Z"{
"data": [
{
"trackingLinkId": "100000000000000001",
"type": 2010,
"timestamp": "1793491200000",
"totalNet": 0,
"totalGross": 35000,
"year": 2026,
"month": 11,
"date": 1
}
],
"_meta": {
"_credits": {
"used": 1,
"balance": 10055798,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 5000,
"limit_day": null,
"remaining_minute": 4999,
"remaining_day": null,
"notice": "We have decided to remove our daily rate limits. Please remove any references to these in your integrations."
}
}
}