Posts
List Posts
Returns the creator's own post feed — the same list the Posts tab shows inside OnlyFans. Filter by media type, label, caption text and pinned state, and sort by publish date, likes or tips. This feed pages by cursor rather than page number, so walk it by following _pagination.next_page instead of building a numbered pager. Requires permission api_posts_list.
https://public-api.buffmetrics.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.
Query Parameters
limitintegerPage size. Default 10. Min 1, max 100 (anything higher is clamped to 100).
media_typestringOnly return posts that carry a media type:
photos,videos,audios, ormedias(any of the three). Omit to include text-only posts.labelstringOnly posts carrying this label. Takes a numeric label ID from List Post Labels, or an archive bucket name:
archivedfor the Archive,private_archivedfor the Private Archive.exclude_labelstringThe inverse of
label— leave out posts carrying it. Accepts the same values.querystringFree-text search across post captions.
pinnedbooleantruereturns only pinned posts,falsereturns everything except them. Omit for the whole feed.orderstringSort order. One of
publish_date_desc(default),publish_date_asc,favorites_count_desc,tips_summ_desc,tips_summ_asc. Any other value returns 400 rather than quietly falling back.countersstringInclude the
countersblock of account totals — useful for tab badges. Defaulttrue; sendfalseto skip it.before_publish_timestringCursor for continuing a descending feed. Pass the previous page's
tailMarker._pagination.next_pagefills this in for you.after_publish_timestringCursor for continuing an ascending feed. Pass the previous page's
tailMarker._pagination.next_pagefills this in for you.
curl --request GET "https://public-api.buffmetrics.com/v1/acct_XXXXX/posts?limit=20&media_type=sample_media_type&label=sample_label" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200