curl --request GET \
--url https://api-next.ofauth.com/v2/access/users/:userId/posts \
--header 'apiKey: <api-key>'{
"list": [
{
"id": 123,
"canDelete": true,
"canEdit": true,
"mediaCount": 123,
"media": [
{
"id": 123,
"type": "photo",
"convertedToVideo": true,
"canView": true,
"hasError": true,
"createdAt": "<string>",
"isReady": true,
"files": {
"full": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123,
"sources": [
"<unknown>"
]
},
"thumb": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
},
"preview": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123,
"options": [
"<unknown>"
]
},
"squarePreview": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
}
},
"duration": 123,
"releaseForms": [
{
"id": 123,
"name": "<string>",
"partnerSource": "<string>",
"type": "<string>",
"user": {
"view": "<string>",
"id": 123,
"name": "<string>",
"username": "<string>",
"isVerified": true,
"avatar": "<string>",
"avatarThumbs": {
"c50": "<string>",
"c144": "<string>"
},
"ivStatus": "<string>",
"isFromGuest": true
}
}
],
"hasCustomPreview": true,
"videoSources": {
"240": "<string>",
"720": "<string>"
}
}
],
"canViewMedia": true,
"author": {
"id": 123,
"_view": "<string>"
},
"responseType": "<string>",
"postedAt": "<string>",
"postedAtPrecise": "<string>",
"isMarkdownDisabled": true,
"isOpened": true,
"canToggleFavorite": true,
"tipsAmount": "<string>",
"text": "<string>",
"isFavorite": true,
"canComment": true,
"favoritesCount": 123,
"isMediaReady": true,
"rawText": "<string>"
}
],
"hasMore": true,
"headMarker": "<string>",
"tailMarker": "<string>",
"counters": {
"audiosCount": 123,
"photosCount": 123,
"videosCount": 123,
"mediasCount": 123,
"postsCount": 123,
"streamsCount": 123,
"archivedPostsCount": 123,
"privateArchivedPostsCount": 123
}
}List user posts
curl --request GET \
--url https://api-next.ofauth.com/v2/access/users/:userId/posts \
--header 'apiKey: <api-key>'{
"list": [
{
"id": 123,
"canDelete": true,
"canEdit": true,
"mediaCount": 123,
"media": [
{
"id": 123,
"type": "photo",
"convertedToVideo": true,
"canView": true,
"hasError": true,
"createdAt": "<string>",
"isReady": true,
"files": {
"full": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123,
"sources": [
"<unknown>"
]
},
"thumb": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
},
"preview": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123,
"options": [
"<unknown>"
]
},
"squarePreview": {
"url": "<string>",
"width": 123,
"height": 123,
"size": 123
}
},
"duration": 123,
"releaseForms": [
{
"id": 123,
"name": "<string>",
"partnerSource": "<string>",
"type": "<string>",
"user": {
"view": "<string>",
"id": 123,
"name": "<string>",
"username": "<string>",
"isVerified": true,
"avatar": "<string>",
"avatarThumbs": {
"c50": "<string>",
"c144": "<string>"
},
"ivStatus": "<string>",
"isFromGuest": true
}
}
],
"hasCustomPreview": true,
"videoSources": {
"240": "<string>",
"720": "<string>"
}
}
],
"canViewMedia": true,
"author": {
"id": 123,
"_view": "<string>"
},
"responseType": "<string>",
"postedAt": "<string>",
"postedAtPrecise": "<string>",
"isMarkdownDisabled": true,
"isOpened": true,
"canToggleFavorite": true,
"tipsAmount": "<string>",
"text": "<string>",
"isFavorite": true,
"canComment": true,
"favoritesCount": 123,
"isMediaReady": true,
"rawText": "<string>"
}
],
"hasMore": true,
"headMarker": "<string>",
"tailMarker": "<string>",
"counters": {
"audiosCount": 123,
"photosCount": 123,
"videosCount": 123,
"mediasCount": 123,
"postsCount": 123,
"streamsCount": 123,
"archivedPostsCount": 123,
"privateArchivedPostsCount": 123
}
}Connection ID for managed sessions
OnlyFans user id for direct sessions (optional override)
OnlyFans cookie header for direct sessions (must include auth_id and fp values)
OnlyFans x-bc header for direct sessions (optional override)
User agent to use when proxying requests (required when not using x-connection-id)
11 <= x <= 10publish_date, tips, favorites_count asc, desc Successful response
Show child attributes
Show child attributes
photo, video, gif, audio Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?