Posts
Get Post
Retrieve details of a post from your account.
AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
accountstring
The Account ID
post_idinteger
The ID of the post
Response Body
curl -X GET "https://app.onlyfansapi.com/api/string/posts/0"
{
"data": {
"author": {
"view": "a",
"avatar": "https://public.onlyfans.com/files/w/w6/w6g/.../123/avatar.jpg",
"avatarThumbs": {
"c50": "https://thumbs.onlyfans.com/public/files/thumbs/c50/w/w6/w6g/.../123/avatar.jpg",
"c144": "https://thumbs.onlyfans.com/public/files/thumbs/c144/w/w6/w6g/.../123/avatar.jpg"
},
"header": "https://public.onlyfans.com/files/k/kk/kk6/.../123/header_image.jpg",
"headerSize": {
"width": 760,
"height": 570
},
"headerThumbs": {
"w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/k/kk/kk6/.../123/header_image.jpg",
"w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/k/kk/kk6/.../123/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": 0,
"hasStripe": false,
"isStripeExist": false,
"subscriptionBundles": [],
"canSendChatToAll": true,
"creditsMin": 10,
"creditsMax": 200,
"isPaywallPassed": true,
"canCreateLists": true,
"showMediaCount": true,
"showPostsInFeed": true,
"subscribedBy": true,
"canTrialSend": false
},
"responseType": "post",
"id": 123,
"postedAt": "2025-01-01T01:01:01+00:00",
"postedAtPrecise": "123.000000",
"text": "<p>Post text</p>",
"isMarkdownDisabled": true,
"canDelete": true,
"canComment": true,
"canEdit": true,
"isMediaReady": true,
"isOpened": true,
"canToggleFavorite": true,
"canEditText": true,
"tipsAmount": "$0",
"rawText": "Post text",
"canViewMedia": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999836,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999998,
"remaining_day": 49994
}
}
}