Tracking Links

List Tracking Links

Returns the creator's tracking campaigns. Pure passthrough from OnlyFans — same payload OF's webapp renders on its Campaigns tab. Identical to [GET /v1/{account_id}/campaigns](/api-reference/campaigns/list-campaigns); the two URLs hit the same handler. Requires permission api_tracking_links_list.

https://public-api.buffmetrics.com
GET/v1/{account_id}/tracking-links
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

Query Parameters

  • limitinteger

    Page size. Default 100. Min 1, max 200 (values above 200 are clamped).

  • offsetinteger

    Rows to skip. Default 0.

  • fieldstring

    Sort and stats column. One of created_date (default), subscribers_counts, transitions_counts, clicks_count, name, shared.

  • sortstring

    desc (default) or asc.

  • with_deletedstring

    true (default) includes soft-deleted campaigns; false returns only active ones. Matches the OF webapp's Campaigns-tab toggle.

  • sorting_deletedstring

    When true, soft-deleted campaigns are sorted to the bottom even when included. Default false.

  • statsstring

    When true, OF computes countSubscribers and countTransitions over the start_date / end_date window. Default false — leave off unless you need windowed stats.

  • start_datestring

    Only forwarded when stats=true. Format YYYY-MM-DD HH:MM:SS (UTC). Default: 2 years ago. T separator is normalized to a space.

  • end_datestring

    Only forwarded when stats=true. Format YYYY-MM-DD HH:MM:SS (UTC). Default: end of today UTC.

curl --request GET "https://public-api.buffmetrics.com/v1/acct_XXXXX/tracking-links?limit=20&offset=0&field=sample_field" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"list":[
0:{
"id":100000010
"campaignName":"Sample Campaign"
"campaignCode":"sample-101"
"countSubscribers":538
"countTransitions":1389
"createdAt":"2026-04-21T12:28:53Z"
"endDate":null
"deletedAt":null
}
]
"hasMore":true
}
"_pagination":{
"next_page":"/v1/100000001/tracking-links?limit=100&offset=100"
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}