We just released our native n8n integration!ยป Try now
OnlyFans API
Tracking Links

Get Tracking Link

Get individual Tracking Link details and it's revenue data

GET
/api/{account}/tracking-links/{tracking_link_id}
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

account*string

The Account ID

tracking_link_id*string

The ID of the tracking link.

Response Body

application/json

curl -X GET "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/tracking-links/voluptate"
{
  "data": {
    "id": 123456,
    "campaignCode": 123,
    "campaignName": "Example Campaign - IG Bio SFS",
    "campaignUrl": "https://onlyfans.com/USERNAME/c123",
    "subscribersCount": null,
    "clicksCount": null,
    "createdAt": "2025-01-01T00:00:00+00:00",
    "endDate": null,
    "tags": [
      "Instagram",
      "Twitter"
    ],
    "revenue": {
      "total": 20,
      "revenuePerSubscriber": 2,
      "revenuePerClick": 0.2,
      "spendersCount": 1,
      "calculatedAt": "2025-01-01T00:00:00+00:00",
      "isLoading": false
    },
    "links": {
      "related": {
        "subscribers": "http://ofapi.test/api/acct_XXXXXXXX/tracking-links/123456/subscribers",
        "spenders": "http://ofapi.test/api/acct_XXXXXXXX/tracking-links/123456/spenders"
      }
    }
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 7095558,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 5000,
      "limit_day": null,
      "remaining_minute": 4998,
      "remaining_day": null,
      "notice": "We have decided to remove our daily rate limits. Please remove any references to these in your integrations."
    }
  }
}