API Keys
Connect OnlyFans Account
Payouts
Public Profiles
Statistics / Reach
Statistics / Statements
Tracking Links
Transactions
Users
Posts
Send Post
Compose and send a new post to your OnlyFans account.
POST
/
api
/
{account}
/
posts
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "Hello!",
"labelIds": [
123
],
"mediaFiles": [
"mfu_abc123",
"1234567890"
]
}'
{
"data": {
"author": {
"view": "a",
"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": false,
"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,
"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": "Text",
"isMarkdownDisabled": true,
"canDelete": true,
"canComment": true,
"canEdit": true,
"mediaCount": 1,
"isOpened": true,
"canToggleFavorite": true,
"tipsAmount": "$0",
"rawText": "Text",
"media": [
{
"id": 123,
"type": "photo",
"convertedToVideo": false,
"canView": true,
"hasError": false,
"createdAt": "2025-01-01T00:00:00+00:00",
"isReady": false,
"files": {
"full": {
"url": null,
"width": 0,
"height": 0,
"size": 0,
"sources": []
},
"thumb": null,
"preview": null,
"squarePreview": null
},
"duration": 0,
"releaseForms": [],
"hasCustomPreview": false
}
],
"canViewMedia": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999991,
"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": 49990
}
}
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
Body
application/json
Response
200 - application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"text": "Hello!",
"labelIds": [
123
],
"mediaFiles": [
"mfu_abc123",
"1234567890"
]
}'
{
"data": {
"author": {
"view": "a",
"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": false,
"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,
"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": "Text",
"isMarkdownDisabled": true,
"canDelete": true,
"canComment": true,
"canEdit": true,
"mediaCount": 1,
"isOpened": true,
"canToggleFavorite": true,
"tipsAmount": "$0",
"rawText": "Text",
"media": [
{
"id": 123,
"type": "photo",
"convertedToVideo": false,
"canView": true,
"hasError": false,
"createdAt": "2025-01-01T00:00:00+00:00",
"isReady": false,
"files": {
"full": {
"url": null,
"width": 0,
"height": 0,
"size": 0,
"sources": []
},
"thumb": null,
"preview": null,
"squarePreview": null
},
"duration": 0,
"releaseForms": [],
"hasCustomPreview": false
}
],
"canViewMedia": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999991,
"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": 49990
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.