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

# Get v1portfolio



## OpenAPI

````yaml https://external.vin.gs/api/openapi.json get /v1/portfolio
openapi: 3.1.0
info:
  title: Vings External API
  version: 0.1.0
  description: Readonly external API for authenticated Vings financial data.
servers:
  - url: https://external.vin.gs/api
    description: Production
security: []
tags:
  - name: Transactions
    description: Transaction search and recurring payments
  - name: Cashflow
    description: Cashflow summaries
  - name: Spending
    description: Spending aggregates and merchants
  - name: Budgets
    description: Budget categories and summaries
  - name: Banks
    description: Connected bank status
  - name: Portfolio
    description: Portfolio snapshots and history
  - name: Preferences
    description: User preferences
  - name: OAuth
    description: OAuth protected-resource metadata (RFC 9728)
  - name: Health
    description: Liveness and readiness
  - name: User
    description: Authenticated user
  - name: MCP
    description: Model Context Protocol JSON-RPC transport
paths:
  /v1/portfolio:
    get:
      tags:
        - Portfolio
      responses:
        '200':
          description: >-
            Redacted portfolio snapshot (no Plaid secrets; wallets and
            securities may use generic object maps)
          content:
            application/json:
              schema:
                type: object
                properties:
                  total:
                    type: object
                    properties:
                      amount_cents:
                        type: number
                      currency:
                        type: string
                    required:
                      - amount_cents
                      - currency
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        bank_name:
                          type: string
                        needs_update:
                          type: boolean
                        new_accounts_available:
                          type: boolean
                        total:
                          type: object
                          properties:
                            amount_cents:
                              type: number
                            currency:
                              type: string
                          required:
                            - amount_cents
                            - currency
                        currency:
                          type: string
                        accounts:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                              type:
                                type: string
                                nullable: true
                              subtype:
                                type: string
                                nullable: true
                              balance_cents:
                                type: number
                                nullable: true
                              currency:
                                type: string
                                nullable: true
                              updated_at:
                                type: string
                              has_holdings:
                                type: boolean
                            required:
                              - id
                              - name
                              - type
                              - subtype
                              - balance_cents
                              - currency
                      required:
                        - id
                        - total
                        - currency
                        - accounts
                  wallets:
                    type: array
                    items:
                      type: object
                      additionalProperties:
                        nullable: true
                  paper_accounts:
                    type: array
                    items:
                      type: object
                      additionalProperties:
                        nullable: true
                  securitiesByItem:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        type: object
                        properties:
                          security:
                            type: object
                            additionalProperties:
                              nullable: true
                          holding:
                            type: object
                            additionalProperties:
                              nullable: true
                          accountId:
                            type: string
                        required:
                          - security
                          - holding
                    default: {}
                required:
                  - total
                  - items
                  - wallets
                  - paper_accounts
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: UNAUTHORIZED
            message:
              type: string
              example: Missing bearer token
            details:
              nullable: true
            requestId:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Vings OAuth access token or personal access token (`vng_pat_…`). Use
        `Authorization: Bearer …`.

````