> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ofauth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Profile counts

> Get profile count fields and account-wide subscription, subscriber, and bookmark counts.

**Required scope:** `profile:read`



## OpenAPI

````yaml /openapi/v3.json get /v3/access/profile/counts
openapi: 3.1.0
info:
  title: OFAuth API
  version: 1.0.0
  description: >-
    OFAuth V3 API for linking accounts, making OnlyFans API requests, and
    receiving events.
  contact:
    email: support@ofauth.com
    url: https://ofauth.com/
servers:
  - url: https://api.ofauth.com
security:
  - ExternalOAuth: []
tags:
  - name: Link
    description: Link accounts, get and refresh tokens, and end access.
  - name: Linked accounts
    description: The linked accounts of one authorization, and their settings.
  - name: Access
    description: Make OnlyFans API requests for a linked account.
  - name: Analytics
    description: 'Access: charts, rankings, and performance data.'
  - name: Earnings
    description: 'Access: earnings charts, transactions, and chargebacks.'
  - name: Messages
    description: 'Access: messaging, chats, queue, and mass messaging.'
  - name: Posts
    description: 'Access: create, edit, list, and manage posts.'
  - name: Promotions
    description: 'Access: promotions, trials, and bundles.'
  - name: Users
    description: 'Access: user profiles, subscriptions, and actions.'
  - name: Vault
    description: 'Access: vault folders, media, and management.'
  - name: Upload
    description: 'Access: media upload and processing.'
  - name: Self
    description: 'Access: linked account profile and settings.'
  - name: Stories
    description: 'Access: stories listing and management.'
  - name: Subscriptions
    description: 'Access: subscription offers, discounts, and management.'
  - name: Realtime
    description: Webhook event formats, including OnlyFans activity events.
externalDocs:
  description: OFAuth Developer Documentation
  url: https://docs.ofauth.com
paths:
  /v3/access/profile/counts:
    get:
      tags:
        - Self
      summary: Profile counts
      description: >-
        Get profile count fields and account-wide subscription, subscriber, and
        bookmark counts.


        **Required scope:** `profile:read`
      operationId: access.profile.getCounts
      parameters:
        - name: x-linked-account-id
          in: header
          required: true
          description: >-
            The linked account to use. The user must have shared it with your
            app. A missing account returns `linked_account_required`; an account
            outside your access returns `linked_account_not_granted`.
          schema:
            type: string
            example: conn_example123
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  postsCount:
                    type: number
                    nullable: true
                  archivedPostsCount:
                    type: number
                    nullable: true
                  privateArchivedPostsCount:
                    type: number
                    nullable: true
                  photosCount:
                    type: number
                    nullable: true
                  videosCount:
                    type: number
                    nullable: true
                  audiosCount:
                    type: number
                    nullable: true
                  mediasCount:
                    type: number
                    nullable: true
                  favoritesCount:
                    type: number
                    nullable: true
                  favoritedCount:
                    type: number
                    nullable: true
                  subscribersCount:
                    type: number
                    nullable: true
                  subscribesCount:
                    type: number
                    nullable: true
                  pinnedPostsCount:
                    type: number
                    nullable: true
                  notificationsCount:
                    type: number
                    nullable: true
                  chatMessagesCount:
                    type: number
                    nullable: true
                  countPinnedChat:
                    type: number
                    nullable: true
                  countPriorityChat:
                    type: number
                    nullable: true
                  unreadTips:
                    type: number
                    nullable: true
                  newTagsCount:
                    type: number
                    nullable: true
                  subscriptions:
                    type: object
                    nullable: true
                    properties:
                      active:
                        type: number
                      muted:
                        type: number
                      restricted:
                        type: number
                      expired:
                        type: number
                      blocked:
                        type: number
                      attention:
                        type: number
                      all:
                        type: number
                    required:
                      - active
                      - muted
                      - restricted
                      - expired
                      - blocked
                      - attention
                      - all
                  subscribers:
                    type: object
                    nullable: true
                    properties:
                      active:
                        type: number
                      muted:
                        type: number
                      restricted:
                        type: number
                      expired:
                        type: number
                      blocked:
                        type: number
                      all:
                        type: number
                      activeOnline:
                        type: number
                    required:
                      - active
                      - muted
                      - restricted
                      - expired
                      - blocked
                      - all
                      - activeOnline
                  bookmarks:
                    type: number
                    nullable: true
                required:
                  - postsCount
                  - archivedPostsCount
                  - privateArchivedPostsCount
                  - photosCount
                  - videosCount
                  - audiosCount
                  - mediasCount
                  - favoritesCount
                  - favoritedCount
                  - subscribersCount
                  - subscribesCount
                  - pinnedPostsCount
                  - notificationsCount
                  - chatMessagesCount
                  - countPinnedChat
                  - countPriorityChat
                  - unreadTips
                  - newTagsCount
                  - subscriptions
                  - subscribers
                  - bookmarks
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '429':
          description: Rate Limit Exceeded
        '500':
          description: Internal Server Error
        '502':
          description: Bad Gateway
      deprecated: false
      security:
        - ExternalOAuth: []
          LinkedAccountId: []
components:
  securitySchemes:
    ExternalOAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: Link access token for one Sandbox, Test, or Live authorization.
    LinkedAccountId:
      type: apiKey
      name: x-linked-account-id
      in: header
      description: >-
        Selects one of the authorization's linked accounts via the
        x-linked-account-id header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.