Post Labels
List Post Label Filters
Returns the same labels as List Post Labels, but shaped for a filter bar: no preview thumbnails, and the Archive and Private Archive buckets included. One thing to watch — id is a number for the creator's own labels and a word for the two archive buckets, so check its type before treating it as a number. Requires permission api_post_labels_list_filters.
https://public-api.buffmetrics.comGET/v1/{account_id}/post-labels/filters
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.
Query Parameters
limitintegerPage size. Default 10. Min 1, max 100.
offsetintegerRows to skip. Default 0.
non_emptystringLeave out labels holding no posts. Default
true— sendfalseto include empty ones.
curl --request GET "https://public-api.buffmetrics.com/v1/acct_XXXXX/post-labels/filters?limit=20&offset=0&non_empty=sample_non_empty" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200{
"data":{
"list":[
0:{
"id":9844743
"name":"bg🔥"
"type":"custom"
"isClearInProgress":false
"postsCount":5
}
1:{
"id":"private_archived"
"name":"Private Archive"
"type":"private_archived"
"isClearInProgress":false
"postsCount":77
}
]
"order":"asc"
"sort":"custom"
"hasMore":true
"nextOffset":10
"hashSort":"c9113837f826c2b87d503bd5798cb343"
}
"_pagination":{
"next_page":"/v1/12345678/post-labels/filters?limit=10&non_empty=true&offset=10"
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}