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.fansmetric.com
GET/v1/{account_id}/post-labels/filters
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 10. Min 1, max 100.

  • offsetinteger

    Rows to skip. Default 0.

  • non_emptystring

    Leave out labels holding no posts. Default true — send false to include empty ones.

curl --request GET "https://public-api.fansmetric.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
}
}
}