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

# List holdings

> Returns stored investment holdings from durable Finta data only. Does not call live providers.



## OpenAPI

````yaml /api/v2/openapi.json get /holdings
openapi: 3.0.3
info:
  title: Finta API v2
  version: 2.0.0
  description: >-
    DB-backed Finta API for users with storage mode enabled. Requires an API key
    and active subscription.


    ## Rate limits


    Rate limits are enforced per user (shared across the REST API and MCP) based
    on subscription plan:


    | Plan | Per minute | Per day |

    | --- | --- | --- |

    | Standard | 10 requests | 500 requests |

    | Pro | 30 requests | 2,000 requests |


    When a limit is exceeded, the API returns HTTP 429 with `error.code`
    `RATE_LIMITED` and a human-readable `message`. A `Retry-After` response
    header is included with the number of seconds until the window resets.
servers:
  - url: https://api.finta.io/v2
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Me
    description: Authenticated user
  - name: Health
    description: Service health
  - name: Bank Connections
    description: Bank connection resources
  - name: Accounts
    description: Account and balance history resources
  - name: Investments
    description: Securities, holdings, and investment transaction resources
  - name: Transactions
    description: Transaction resources
  - name: Categories
    description: Transaction category resources
  - name: Rules
    description: Transaction rule resources
paths:
  /holdings:
    get:
      tags:
        - Investments
      summary: List holdings
      description: >-
        Returns stored investment holdings from durable Finta data only. Does
        not call live providers.
      operationId: listHoldingsV2
      parameters:
        - name: bankConnectionId
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filter by bank connection ID
        - name: bankAccountId
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filter by bank account ID
        - name: securityId
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filter by Finta security ID
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - active
              - sold
              - all
            default: active
          description: >-
            Filter by holding lifecycle. `active` (default) excludes sold
            positions.
      responses:
        '200':
          description: Holdings for the authenticated user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HoldingsListResponse'
        '400':
          description: Invalid query parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '403':
          description: Storage mode required or subscription inactive
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          $ref: '#/components/responses/RateLimitedResponse'
components:
  schemas:
    HoldingsListResponse:
      type: object
      required:
        - holdings
      properties:
        holdings:
          type: array
          items:
            $ref: '#/components/schemas/HoldingSummary'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: STORAGE_MODE_REQUIRED
            message:
              type: string
    UnauthorizedResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: Missing or invalid Authorization header
    HoldingSummary:
      type: object
      required:
        - id
        - bankConnectionId
        - bankAccountId
        - securityId
        - quantity
        - costBasis
        - currency
        - status
        - soldAt
      properties:
        id:
          type: string
          format: uuid
        bankConnectionId:
          type: string
          format: uuid
        bankAccountId:
          type: string
          format: uuid
        securityId:
          type: string
          format: uuid
        quantity:
          type: number
        costBasis:
          type: number
          nullable: true
        currency:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - active
            - sold
        soldAt:
          type: string
          format: date-time
          nullable: true
  responses:
    RateLimitedResponse:
      description: Rate limit exceeded
      headers:
        Retry-After:
          description: Seconds until the rate-limit window resets
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: RATE_LIMITED
              message: >-
                Per-minute rate limit exceeded (10 requests/min on Standard
                plan).
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Finta API key from the dashboard (Bearer token).

````