Shared Tracking Links

List Shared Tracking Links

Changed on

List all Tracking Links (campaigns) shared with the account by other OF creators. Calls OnlyFans live and syncs to our cache.

get/api/{account}/shared-tracking-links

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/{account}/shared-tracking-links
  • Auth
    HTTP bearer

Query parameters

limitinteger

The number of shared tracking links to return. Default 10. Must be at least 1. Must not be greater than 100.

Example:10
offsetinteger

The offset used for pagination. Default 0. Must be at least 0.

pagination0 | 1

Whether pagination metadata is enabled. Default 1.

Example:1
with_deleted0 | 1

Whether to include deleted shared tracking links. Default 1.

Example:1
sorting_deleted0 | 1

Whether deleted links participate in sorting. Default 1.

Example:1
statsstring

Whether statistics are included. Default true. Must not be greater than 10 characters.

Example:true
synchronousboolean

Wait for the database sync instead of processing it in the background.

Response

Success

Example response

{
  "data": {
    "list": [
      {
        "id": 123,
        "campaignCode": 123,
        "campaignName": "Example shared tracking link",
        "campaignUrl": "https://onlyfans.com/username/c123",
        "subscribersCount": 0,
        "clicksCount": 12,
        "createdAt": "2025-01-01T01:01:01+00:00",
        "endDate": null,
        "isDeleted": false,
        "tags": [],
        "owner": {
          "id": 123,
          "username": "username",
          "name": "Model name",
          "avatarThumbUrl": "https://thumbs.onlyfans.com/public/files/thumbs/a123/a/aa/aaa/abc123/123/avatar.jpg"
        }
      }
    ],
    "hasMore": true
  },
  "_pagination": {
    "next_page": "https://app.onlyfansapi.com/api/acct_abc123/shared-tracking-links?limit=10&offset=10"
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 10055833,
      "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."
    }
  }
}

Changes

    • info

      added the new optional query request parameter pagination

    • info

      added the new optional query request parameter sorting_deleted

    • info

      added the new optional query request parameter stats

    • info

      added the new optional query request parameter with_deleted

    • info

      endpoint added