GET
/
api
/
{account}
/
notifications
/
counts
curl --request GET \
  --url https://app.onlyfansapi.com/api/{account}/notifications/counts \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "all": 123,
    "subscribed": 123,
    "purchases": 123,
    "tip": 123,
    "tags": 123,
    "commented": 123,
    "mentioned": 123,
    "favorited": 123,
    "message": 123,
    "deactivated_media": 123,
    "system": 123
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 1000000027,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 10000000,
      "limit_day": 50000,
      "remaining_minute": 9999999,
      "remaining_day": 49997
    }
  }
}

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

Response

200 - application/json

Success

The response is of type object.

GET
/
api
/
{account}
/
notifications
/
counts
curl --request GET \
  --url https://app.onlyfansapi.com/api/{account}/notifications/counts \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "all": 123,
    "subscribed": 123,
    "purchases": 123,
    "tip": 123,
    "tags": 123,
    "commented": 123,
    "mentioned": 123,
    "favorited": 123,
    "message": 123,
    "deactivated_media": 123,
    "system": 123
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 1000000027,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 10000000,
      "limit_day": 50000,
      "remaining_minute": 9999999,
      "remaining_day": 49997
    }
  }
}

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

Response

200 - application/json

Success

The response is of type object.