Tracking Links
Get Tracking Link Stats
Returns cumulative totals plus daily and monthly time-series for a single tracking link. Requires permission api_tracking_links_read.
https://public-api.fansmetric.comGET/v1/{account_id}/tracking-links/{link_id}/stats
Bearer
Authorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
link_id*integerTracking link ID.
Query Parameters
date_startstringWindow start (UTC). Absent → unbounded.
date_endstringWindow end (UTC). Absent → unbounded.
curl --request GET "https://public-api.fansmetric.com/v1/acct_XXXXX/tracking-links/sample_link_id/stats?date_start=sample_date_start&date_end=sample_date_end" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200{
"data":{
"summary":{
"clicks_total":1389
"subs_total":612
"revenue_total":"1400.25"
"spenders_total":29
"last_scanned_at":"2026-08-05T04:12:00Z"
}
"daily_metrics":[
0:{
"timestamp":"2026-07-31"
"clicks":null
"subs":8
"revenue":"24.90"
"spenders":1
}
1:{
"timestamp":"2026-08-01"
"clicks":null
"subs":11
"revenue":"38.20"
"spenders":2
}
2:{
"timestamp":"2026-08-02"
"clicks":null
"subs":9
"revenue":"15.00"
"spenders":1
}
]
"monthly_metrics":[
0:{
"timestamp":"2026-07-01"
"clicks":null
"subs":187
"revenue":"465.10"
"spenders":12
}
1:{
"timestamp":"2026-08-01"
"clicks":null
"subs":53
"revenue":"150.20"
"spenders":5
}
]
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}