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
Create Post Comment
Create a comment on one of your posts.
POST
/
api
/
{account}
/
posts
/
{post_id}
/
comments
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"id": 123,
"text": "Text",
"giphyId": null,
"author": {
"view": "s",
"avatar": "https://public.onlyfans.com/files/.../avatar.jpg",
"avatarThumbs": {
"c50": "https://thumbs.onlyfans.com/public/files/thumbs/.../avatar.jpg",
"c144": "https://thumbs.onlyfans.com/public/files/thumbs/.../avatar.jpg"
},
"header": "https://public.onlyfans.com/files/.../header_image.jpg",
"headerSize": {
"width": 4032,
"height": 3024
},
"headerThumbs": {
"w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/.../header_image.jpg",
"w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/.../header_image.jpg"
},
"id": 123,
"name": "Name",
"username": "username",
"canLookStory": true,
"canCommentStory": true,
"hasNotViewedStory": false,
"isVerified": true,
"canPayInternal": true,
"hasScheduledStream": false,
"hasStream": false,
"hasStories": false,
"tipsEnabled": true,
"tipsTextEnabled": true,
"tipsMin": 5,
"tipsMinInternal": 1,
"tipsMax": 200,
"canEarn": true,
"canAddSubscriber": false,
"subscribePrice": 4.99,
"hasStripe": false,
"isStripeExist": false,
"subscriptionBundles": [],
"canSendChatToAll": true,
"creditsMin": 10,
"creditsMax": 200,
"isPaywallPassed": true,
"creditsMinAlternatives": 5,
"canCreateLists": true,
"showMediaCount": true,
"lastSeen": "2025-01-01T00:00:00+00:00",
"canReport": false,
"subscribedOn": null
},
"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
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999852,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 996,
"remaining_day": 49857
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Query Parameters
The text of the comment.
Example:
"This is a comment."
The ID of the comment to which this comment is a reply.
Example:
123
The ID of the Giphy to include in the comment.
Example:
"giphy123"
Response
201 - application/json
The response is of type object
.
Copy
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments \
--header 'Authorization: Bearer <token>'
Copy
{
"data": {
"id": 123,
"text": "Text",
"giphyId": null,
"author": {
"view": "s",
"avatar": "https://public.onlyfans.com/files/.../avatar.jpg",
"avatarThumbs": {
"c50": "https://thumbs.onlyfans.com/public/files/thumbs/.../avatar.jpg",
"c144": "https://thumbs.onlyfans.com/public/files/thumbs/.../avatar.jpg"
},
"header": "https://public.onlyfans.com/files/.../header_image.jpg",
"headerSize": {
"width": 4032,
"height": 3024
},
"headerThumbs": {
"w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/.../header_image.jpg",
"w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/.../header_image.jpg"
},
"id": 123,
"name": "Name",
"username": "username",
"canLookStory": true,
"canCommentStory": true,
"hasNotViewedStory": false,
"isVerified": true,
"canPayInternal": true,
"hasScheduledStream": false,
"hasStream": false,
"hasStories": false,
"tipsEnabled": true,
"tipsTextEnabled": true,
"tipsMin": 5,
"tipsMinInternal": 1,
"tipsMax": 200,
"canEarn": true,
"canAddSubscriber": false,
"subscribePrice": 4.99,
"hasStripe": false,
"isStripeExist": false,
"subscriptionBundles": [],
"canSendChatToAll": true,
"creditsMin": 10,
"creditsMax": 200,
"isPaywallPassed": true,
"creditsMinAlternatives": 5,
"canCreateLists": true,
"showMediaCount": true,
"lastSeen": "2025-01-01T00:00:00+00:00",
"canReport": false,
"subscribedOn": null
},
"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
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999852,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 996,
"remaining_day": 49857
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.