List Free Trial Links
Changed onList all free trial links for the account, including the details and statistics
Request
- Base URLhttps://app.onlyfansapi.com
- URLhttps://app.onlyfansapi.com/api/{account}/trial-links
- AuthHTTP bearer
Query parameters
The start date for trial links. Keep empty to get all. Must not be greater than 255 characters.
The end date for trial links. Keep empty to get all. Must not be greater than 255 characters.
The number of trial links to return. Default 10. Must be at least 1. Must not be greater than 100.
The offset used for pagination. Default 0. Must be at least 0.
Sort direction. Default desc.
Field to sort by. Default create_date.
Wait for revenue calculation instead of processing it in the background.
Response
Success
Example response
{
"data": {
"list": [
{
"id": 123,
"trialLinkName": "Trial link name",
"url": "https://onlyfans.com/username/trial/abc123",
"subscribeDays": 30,
"subscribeCounts": 0,
"claimCounts": 123,
"clicksCounts": 182,
"expiredAt": null,
"createdAt": "2025-01-01T01:01:01+00:00",
"isFinished": false,
"tags": [
"Instagram",
"Twitter"
],
"revenue": {
"total": 123,
"chargebacks": 12,
"revenuePerSubscriber": 12,
"spendersCount": 16,
"calculatedAt": "2025-01-01T01:01:01+00:00",
"isLoading": false
},
"links": {
"related": {
"subscribers": "https://app.onlyfansapi.com/api/acct_abc123/trial-links/123/subscribers"
}
}
}
],
"hasMore": true
},
"_pagination": {
"next_page": "https://app.onlyfansapi.com/api/acct_abc123/trial-links?limit=10&offset=10"
},
"_meta": {
"_credits": {
"used": 1,
"balance": 115580,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 997,
"remaining_day": 49990
}
}
}Changes
- info
added the new optional
queryrequest parameterendDate - info
added the new optional
queryrequest parameterstartDate - info
the
queryrequest parameterlimitbecame optional - info
the
queryrequest parameteroffsetbecame optional - info
added the optional property
////to the response with the status
- info
- breaking
the response property
///became nullable for the status - info
added the optional property
///to the response with the status
- breaking