> ## 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 token DCA flow overview

> Buy/sell flow overview for recurring orders involving this token. Results may be cached; may return 408 on timeout.

## SDK Example

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

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

  const data = await client.getDcaTokenFlow('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');

  ```
</CodeGroup>


## OpenAPI

````yaml /data-api/dca/openapi.json get /dca/token/{mint}
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}:
    get:
      tags:
        - Token
      summary: Get token DCA flow overview
      description: >-
        Buy/sell flow overview for recurring orders involving this token.
        Results may be cached; may return 408 on timeout.
      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
        - name: cursor
          in: query
          description: >-
            Pagination cursor — last order `address` from the previous page.
            Must be used with the same `sort`, `status`, and `program`. Invalid
            cursor returns 400 `INVALID_CURSOR`.
          schema:
            type: string
        - name: sort
          in: query
          description: 'Sort field. Alias: `sortBy`. Default: `volume`.'
          schema:
            type: string
            default: volume
            enum:
              - volume
              - deposited
              - remaining
              - progress
              - recent
              - created
              - status
        - name: status
          in: query
          description: 'Filter by order status. Default: `all`.'
          schema:
            type: string
            default: all
            enum:
              - active
              - paused
              - completed
              - pending
              - all
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcaTokenFlowResponse'
              example:
                mint: So11111111111111111111111111111111111111112
                buyers:
                  count: 12
                  volumeUsd: 45000
                sellers:
                  count: 8
                  volumeUsd: 22000
        '400':
          description: Invalid mint address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcaErrorResponse'
              example:
                error:
                  code: INVALID_MINT
                  message: Invalid mint address
        '408':
          description: Request timeout while scanning orders
        '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.getDcaTokenFlow('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
      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.getDcaTokenFlow('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
components:
  schemas:
    DcaTokenFlowResponse:
      type: object
      properties:
        mint:
          type: string
        buyers:
          type: object
          properties:
            count:
              type: integer
            volumeUsd:
              type: number
              nullable: true
        sellers:
          type: object
          properties:
            count:
              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

````