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

# Get top DCA users for token

> Top wallets by DCA activity for this token.

## SDK Example

<CodeGroup>
  ```typescript SDK
  import { Client } from '@solana-tracker/data-api';

  const client = new Client({ apiKey: 'YOUR_API_KEY' });

  const data = await client.getDcaTokenUsers('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', { limit: 10 });

  ```
</CodeGroup>


## OpenAPI

````yaml /data-api/dca/openapi.json get /dca/token/{mint}/users
openapi: 3.1.0
info:
  title: Solana Tracker Jupiter DCA API
  description: >-
    Recurring (DCA) order data on Solana. Query live DCA positions by wallet,
    token, or trading pair. Jupiter is supported today; responses include a
    `program` id for filtering when more platforms are added.


    USD fields are included when price data is available.
  version: 1.0.0
  contact:
    email: contact@solanatracker.io
servers:
  - url: https://data.solanatracker.io
    description: Production server
security:
  - apiKey: []
tags:
  - name: Programs
    description: Supported DCA programs
  - name: Wallet
    description: Wallet DCA orders and summaries
  - name: Token
    description: Token-level DCA flow, buyers, sellers, and top users
  - name: Orders
    description: Single order and trading pair queries
paths:
  /dca/token/{mint}/users:
    get:
      tags:
        - Token
      summary: Get top DCA users for token
      description: Top wallets by DCA activity for this token.
      parameters:
        - name: mint
          in: path
          required: true
          schema:
            type: string
        - name: program
          in: query
          description: >-
            DCA program to query. Aliases: `dex`, `platform`. Default:
            `jupiter`. Use GET /dca/programs for supported ids.
          schema:
            type: string
            default: jupiter
        - name: limit
          in: query
          description: Max results. Default 200, max 1000.
          schema:
            type: integer
            default: 200
            maximum: 1000
            minimum: 1
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcaTokenUsersResponse'
              example:
                mint: So11111111111111111111111111111111111111112
                users:
                  - wallet: 2FbbdMWfrfGpyyK4Wh76vyxbmDGcp3LxZNhwBwFpV5UK
                    orderCount: 3
                    volumeUsd: 12000
        '400':
          description: Invalid mint address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcaErrorResponse'
              example:
                error:
                  code: INVALID_MINT
                  message: Invalid mint address
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcaErrorResponse'
              example:
                error:
                  code: SERVER_ERROR
                  message: Internal server error
      x-codeSamples:
        - lang: typescript
          label: SDK
          source: >
            import { Client } from '@solana-tracker/data-api';


            const client = new Client({ apiKey: 'YOUR_API_KEY' });


            const data = await
            client.getDcaTokenUsers('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN',
            { limit: 10 });
      x-code-samples:
        - lang: typescript
          label: SDK
          source: >
            import { Client } from '@solana-tracker/data-api';


            const client = new Client({ apiKey: 'YOUR_API_KEY' });


            const data = await
            client.getDcaTokenUsers('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN',
            { limit: 10 });
components:
  schemas:
    DcaTokenUsersResponse:
      type: object
      properties:
        mint:
          type: string
        users:
          type: array
          items:
            type: object
            properties:
              wallet:
                type: string
              orderCount:
                type: integer
              volumeUsd:
                type: number
                nullable: true
    DcaErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - INVALID_WALLET
                - INVALID_MINT
                - INVALID_ORDER
                - NOT_FOUND
                - INVALID_SORT
                - INVALID_STATUS
                - INVALID_LIMIT
                - INVALID_PROGRAM
                - PROGRAM_PARAM_CONFLICT
                - INVALID_CURSOR
                - TIMEOUT
                - SERVER_ERROR
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````