Posts
Get Post
Returns one post in full — caption, attached media, like count, expiry, and which parts can still be edited. Use it behind a post detail view: List Posts returns the same shape but leaves out favoritesCount and the edit flags. Requires permission api_posts_read.
https://public-api.fansmetric.comAuthorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
post_id*integerThe post ID. Numeric.
Response Fields
data.idintegerOnlyFans post ID.
data.favoritesCountintegerTotal likes. Detail view only — the list view leaves this out.
data.expiredAtstring | nullWhen the post expires, if an expiry was set.
nullotherwise.data.canEditTextbooleanWhether the caption can still be changed — use it to enable or disable an edit button.
data.canEditMediabooleanWhether attachments can still be changed.
data.canEditExpirebooleanWhether the expiry can still be changed.
data.media[].videoSourcesobjectPlayback sources. Present on video media only.
dataobject | arrayEndpoint-specific payload. See the fields below for this route.
_meta._credits.usedintegerCredits consumed by this request (currently always
1)._meta._rate_limits.limit_minuteintegerMaximum requests per minute for the organization.
_meta._rate_limits.remaining_minuteintegerRemaining requests in the current minute window.
_meta._rate_limits.limit_dayintegerMaximum requests per day for the organization.
_meta._rate_limits.remaining_dayintegerRemaining requests in the current day window.
| Field | Type | Description |
|---|---|---|
| data.id | integer | OnlyFans post ID. |
| data.favoritesCount | integer | Total likes. Detail view only — the list view leaves this out. |
| data.expiredAt | string | null | When the post expires, if an expiry was set. null otherwise. |
| data.canEditText | boolean | Whether the caption can still be changed — use it to enable or disable an edit button. |
| data.canEditMedia | boolean | Whether attachments can still be changed. |
| data.canEditExpire | boolean | Whether the expiry can still be changed. |
| data.media[].videoSources | object | Playback sources. Present on video media only. |
| data | object | array | Endpoint-specific payload. See the fields below for this route. |
| _meta._credits.used | integer | Credits consumed by this request (currently always 1). |
| _meta._rate_limits.limit_minute | integer | Maximum requests per minute for the organization. |
| _meta._rate_limits.remaining_minute | integer | Remaining requests in the current minute window. |
| _meta._rate_limits.limit_day | integer | Maximum requests per day for the organization. |
| _meta._rate_limits.remaining_day | integer | Remaining requests in the current day window. |
curl --request GET "https://public-api.fansmetric.com/v1/100000001/posts/sample_post_id" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200