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
List Post Comments
Get comments from one of your posts.
GET
/
api
/
{account}
/
posts
/
{post_id}
/
comments
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"list": [
{
"id": 123,
"text": "Text",
"giphyId": null,
"author": {
"id": 123,
"_view": "s"
},
"canLike": true,
"likesCount": 0,
"isLiked": false,
"isLikedByAuthor": false,
"postedAt": "2025-01-01T00:00:00+00:00",
"changedAt": "2025-01-01T00:00:00+00:00",
"isPinned": false
}
],
"hasMore": false,
"nextOffset": 1
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999876,
"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": 49883
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Query Parameters
Number of comments to return (default = 10)
Example:
10
Number of comments to skip for pagination
Example:
0
Sort the returned comments (default = desc)
Available options:
desc
, asc
Example:
"desc"
Response
200 - application/json
The response is of type object
.
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"list": [
{
"id": 123,
"text": "Text",
"giphyId": null,
"author": {
"id": 123,
"_view": "s"
},
"canLike": true,
"likesCount": 0,
"isLiked": false,
"isLikedByAuthor": false,
"postedAt": "2025-01-01T00:00:00+00:00",
"changedAt": "2025-01-01T00:00:00+00:00",
"isPinned": false
}
],
"hasMore": false,
"nextOffset": 1
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999876,
"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": 49883
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.