API Keys
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics / Reach
Statistics / Statements
Tracking Links
Transactions
Users
Post Comments
Like Post Comment
Like a comment on one of your posts.
POST
/
api
/
{account}
/
posts
/
{post_id}
/
comments
/
{comment_id}
/
like
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments/{comment_id}/like \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"success": true,
"isLiked": true,
"likesCount": 1
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999863,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 995,
"remaining_day": 49870
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
The ID of the post to which the comment belongs.
The ID of the comment to like.
Response
200 - application/json
The response is of type object
.
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments/{comment_id}/like \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"success": true,
"isLiked": true,
"likesCount": 1
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999863,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 995,
"remaining_day": 49870
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.