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.comAuthorization
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_emptybooleanLeave out labels holding no posts. Default
true— sendfalseto include empty ones.
Response Fields
data.list[].idinteger | stringCan be either type. A number for the creator's own labels, and the words
archivedorprivate_archivedfor the two archive buckets. Both work as alabelvalue on List Posts, but check the type before doing arithmetic or using it as a numeric key.data.list[].namestringDisplay name for the filter chip, e.g.
Private Archive.data.list[].typestringcustom,archived, orprivate_archived.data.list[].postsCountintegerHow many posts are on the label.
data.hasMorebooleanWhether another page exists.
data.nextOffsetintegerOffset to request for the next page.
dataobject | arrayEndpoint-specific payload. See the fields below for this route.
_pagination.next_pagestringRelative URL for the next page, with the cursor or offset already applied. Append it to the API base URL and send it as-is. Omitted entirely on the last page.
_meta._credits.usedintegerCredits consumed by this request (currently always
1)._meta._rate_limits.limit_minuteintegerMaximum requests per minute for the organization.
_meta._rate_limits.remaining_minuteintegerRemaining requests in the current minute window.
_meta._rate_limits.limit_dayintegerMaximum requests per day for the organization.
_meta._rate_limits.remaining_dayintegerRemaining requests in the current day window.
| Field | Type | Description |
|---|---|---|
| data.list[].id | integer | string | Can be either type. A number for the creator's own labels, and the words archived or private_archived for the two archive buckets. Both work as a label value on List Posts, but check the type before doing arithmetic or using it as a numeric key. |
| data.list[].name | string | Display name for the filter chip, e.g. Private Archive. |
| data.list[].type | string | custom, archived, or private_archived. |
| data.list[].postsCount | integer | How many posts are on the label. |
| data.hasMore | boolean | Whether another page exists. |
| data.nextOffset | integer | Offset to request for the next page. |
| data | object | array | Endpoint-specific payload. See the fields below for this route. |
| _pagination.next_page | string | Relative URL for the next page, with the cursor or offset already applied. Append it to the API base URL and send it as-is. Omitted entirely on the last page. |
| _meta._credits.used | integer | Credits consumed by this request (currently always 1). |
| _meta._rate_limits.limit_minute | integer | Maximum requests per minute for the organization. |
| _meta._rate_limits.remaining_minute | integer | Remaining requests in the current minute window. |
| _meta._rate_limits.limit_day | integer | Maximum requests per day for the organization. |
| _meta._rate_limits.remaining_day | integer | Remaining requests in the current day window. |
curl --request GET "https://public-api.fansmetric.com/v1/100000001/post-labels/filters?limit=20&offset=0&non_empty=sample_non_empty" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200