GET
/
api
/
{account}
/
posts
/
{post_id}
/
comments
curl --request GET \
  --url https://app.onlyfansapi.com/api/{account}/posts/{post_id}/comments \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "list": [
      {
        "id": 123,
        "text": "Text",
        "giphyId": null,
        "author": {
          "id": 123,
          "_view": "s"
        },
        "canLike": true,
        "likesCount": 0,
        "isLiked": false,
        "isLikedByAuthor": false,
        "postedAt": "2025-01-01T00:00:00+00:00",
        "changedAt": "2025-01-01T00:00:00+00:00",
        "isPinned": false
      }
    ],
    "hasMore": false,
    "nextOffset": 1
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999876,
      "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": 49883
    }
  }
}

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

Path Parameters

account
string
required

The Account ID

post_id
string
required

The ID of the post.

Query Parameters

limit
integer

Number of comments to return (default = 10)

Example:

10

offset
integer

Number of comments to skip for pagination

Example:

0

sort
enum<string>

Sort the returned comments (default = desc)

Available options:
desc,
asc
Example:

"desc"

Response

200 - application/json

The response is of type object.