API Keys
Banking
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Notifications
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics | Reach
Statistics | Statements
Tracking Links
Transactions
Trial Links
Users
Post Labels
List Labels
List the labels that you can use to organize your posts.
GET
/
api
/
{account}
/
posts
/
labels
List Labels
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/posts/labels \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"list": [
{
"id": "archived",
"name": "Archive",
"type": "archived",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
},
{
"id": "private_archived",
"name": "Private Archive",
"type": "private_archived",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
},
{
"id": 123,
"name": "My new label",
"type": "custom",
"isClearInProgress": false,
"postsCount": 123,
"posts": []
}
],
"order": "asc",
"sort": "default",
"hasMore": false,
"nextOffset": 10,
"hashSort": "abc123"
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999940,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 999,
"remaining_day": 49987
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
Query Parameters
Number of labels to return (default = 10)
Example:
10
Number of labels to skip for pagination
Example:
0
Response
200 - application/json
Success
The response is of type object
.
List Labels
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/posts/labels \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"list": [
{
"id": "archived",
"name": "Archive",
"type": "archived",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
},
{
"id": "private_archived",
"name": "Private Archive",
"type": "private_archived",
"isClearInProgress": false,
"postsCount": 0,
"posts": []
},
{
"id": 123,
"name": "My new label",
"type": "custom",
"isClearInProgress": false,
"postsCount": 123,
"posts": []
}
],
"order": "asc",
"sort": "default",
"hasMore": false,
"nextOffset": 10,
"hashSort": "abc123"
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999940,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 999,
"remaining_day": 49987
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.