NewFans API, previously OnlyFans API · A new name. A broader platform.
Fans API
OnlyFansStreams

List Stream Comments

List the comments of one past livestream, newest first. Each comment has its comment_id, the comment text, the commenting fan in user and a Unix timestamp.

GET
/api/{account}/streams/{stream_id}/comments
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

account*string

The Account ID

stream_id*integer

The stream ID, from List Streams.

Query Parameters

limit?integer

The number of comments to return, from 1 to 100. Default = 10.

before?integer

Only return comments older than this comment_id, for pagination. Use _pagination.next_page to get the next page.

Response Body

application/json

curl -X GET "https://app.fansapi.com/api/acct_XXXXXXXXXXXXXXX/streams/9012345/comments?limit=10&before=262808646"
{
  "data": {
    "list": [
      {
        "stream_user_id": 123456789,
        "comment_id": 262809111,
        "comment": "thank you for the stream!",
        "giphy_id": null,
        "user": {
          "view": "s",
          "id": 222222222,
          "name": "Jamie",
          "username": "jamie_example",
          "isVerified": false,
          "isDeleted": false,
          "isActive": true,
          "avatar": null,
          "avatarThumbs": null,
          "displayName": "",
          "isProfileVisible": true,
          "isPerformer": false,
          "isRealPerformer": false,
          "canStreaming": false,
          "hasStreamTips": true,
          "streamTipsAmount": 14,
          "hasTopStreamTips": false,
          "isStreamHelper": false,
          "canJoin": false,
          "isActiveViewer": false,
          "canCoStreaming": false,
          "streamVotingTipsAmount": "",
          "isBlocked": false,
          "isRestricted": false
        },
        "is_user_blocked": false,
        "isPinned": false,
        "timestamp": 1795306926
      },
      {
        "stream_user_id": 123456789,
        "comment_id": 262808750,
        "comment": "hi from Jakarta",
        "giphy_id": null,
        "user": {
          "view": "s",
          "id": 111111111,
          "name": "Alex",
          "username": "u111111111",
          "isVerified": false,
          "isDeleted": false,
          "isActive": true,
          "avatar": null,
          "avatarThumbs": null,
          "displayName": "",
          "isProfileVisible": true,
          "isPerformer": false,
          "isRealPerformer": false,
          "canStreaming": false,
          "hasStreamTips": true,
          "streamTipsAmount": 10,
          "hasTopStreamTips": false,
          "isStreamHelper": false,
          "canJoin": false,
          "isActiveViewer": false,
          "canCoStreaming": false,
          "streamVotingTipsAmount": "",
          "isBlocked": false,
          "isRestricted": false
        },
        "is_user_blocked": false,
        "isPinned": false,
        "timestamp": 1795306783
      }
    ],
    "hasMore": true
  },
  "_pagination": {
    "next_page": "https://app.onlyfansapi.com/api/acct_abc123/streams/9012345/comments?limit=2&before=262808750"
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999815,
      "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": 49960
    }
  }
}