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

# List Accounts (/api-reference/fansly/account/list-accounts)

List all connected Fansly accounts.

## OpenAPI

````yaml https://app.onlyfansapi.com/scribe-fansly-docs/openapi.yaml get /api/fansly/accounts
openapi: 3.0.3
info:
  title: Fansly API Documentation
  description: ""
  version: 1.0.0
servers:
  - url: https://app.onlyfansapi.com
security:
  - default: []
tags:
  - name: Account
    description: Endpoints for your linked Fansly accounts
  - name: Chats
    description: Endpoints for Fansly chats (messaging groups)
  - name: Earnings
    description: Endpoints for Fansly Earnings — wallets, balances, transactions,
      payouts, and statements.
  - name: Followers
    description: Endpoints for Fansly followers.
  - name: Lists
    description: Endpoints for Fansly subscriber/fan lists (e.g. "VIP", "Spenders").
  - name: Profile Statistics
    description: Endpoints for Fansly Profile Statistics (viewer engagement insights).
  - name: Subscribers
    description: Endpoints for Fansly subscribers and subscription tiers.
  - name: Top Supporters
    description: Endpoints for the Fansly "Top Supporters" view — see who spends the
      most and what they spend on.
  - name: Tracking Links
    description: Endpoints for Fansly tracking links — per-source attribution links
      (e.g. "Twitter bio", "FYP", "Search").
  - name: Users
    description: APIs for fetching Fansly users
paths:
  /api/fansly/accounts:
    get:
      summary: List Accounts
      operationId: listAccounts
      description: List all connected Fansly accounts.
      parameters:
        - in: query
          name: fansly_id
          description: Optionally, filter by the Fansly ID
          example: "111222333"
          required: false
          schema:
            type: string
            description: Optionally, filter by the Fansly ID
            example: "111222333"
            nullable: true
        - in: query
          name: fansly_username
          description: Optionally, filter by the Fansly username
          example: username
          required: false
          schema:
            type: string
            description: Optionally, filter by the Fansly username
            example: username
            nullable: true
      responses:
        "200":
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      example: fansly_acct_123
                    display_name:
                      type: string
                      example: My Fansly
                    fansly_id:
                      type: string
                      example: "111222333"
                    fansly_username:
                      type: string
                      example: tester
                    is_authenticated:
                      type: boolean
                      example: true
                    authentication_progress:
                      type: string
                      example: authenticated
                    fansly_user_data:
                      type: object
                      properties:
                        id:
                          type: string
                          example: "111222333"
                        username:
                          type: string
                          example: tester
                        display_name:
                          type: string
                          example: Tester
                        avatar:
                          type: string
                          example: null
                          nullable: true
                example:
                  - id: fansly_acct_123
                    display_name: My Fansly
                    fansly_id: "111222333"
                    fansly_username: tester
                    is_authenticated: true
                    authentication_progress: authenticated
                    fansly_user_data:
                      id: "111222333"
                      username: tester
                      display_name: Tester
                      avatar: null
      tags:
        - Account
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: Get your API Key from OnlyFansAPI Console -
        https://app.onlyfansapi.com/api-keys
````