Posts

List Post Comments

Returns fan comments on one of the creator's posts, newest first by default. Unlike the post feed itself, this one is offset-paginated — follow _pagination.next_page or step offset yourself. Requires permission api_posts_list_comments.

https://public-api.fansmetric.com
GET/v1/{account_id}/posts/{post_id}/comments
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

  • post_id*integer

    The post ID. Numeric.

Query Parameters

  • limitinteger

    Page size. Default 10. Min 1, max 100.

  • offsetinteger

    Rows to skip. Default 0.

  • sortstring

    Sort direction. desc (default) or asc. Newest comments come first with desc.

Response Fields

  • data.list[]array

    Comments on this page. Empty when the post has none.

  • data.hasMoreboolean

    Whether another page exists.

  • data.nextOffsetinteger

    Offset to request for the next page.

  • dataobject | array

    Endpoint-specific payload. See the fields below for this route.

  • _pagination.next_pagestring

    Relative URL for the next page, with the cursor or offset already applied. Append it to the API base URL and send it as-is. Omitted entirely on the last page.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request GET "https://public-api.fansmetric.com/v1/100000001/posts/sample_post_id/comments?limit=20&offset=0&sort=sample_sort" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"list":[]
"hasMore":false
"nextOffset":0
}
"_pagination":{
"next_page":null
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}