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

# Get Connect Portfolio History



## OpenAPI

````yaml /openapi.json get /v1/connect/portfolio/history
openapi: 3.1.0
info:
  title: Rangler API
  version: 1.0.0
  description: >-
    Customer-facing Rangler API for companies, standardized financials, filings,
    funds, market data, events, and webhooks.
servers:
  - url: https://api.rangler.co
    description: Live
  - url: https://sandbox-api.rangler.co
    description: Sandbox
security: []
tags:
  - name: Analyst estimates
    description: Consensus forecasts, revisions, contributor accuracy, and source evidence.
  - name: Analyst recommendations
    description: Analyst ratings, target-price views, and company recommendation history.
  - name: Calendar
    description: Company events and calendar exports.
  - name: Companies
    description: >-
      Company lookup, issuer details, dividends, daily trades, meeting media,
      and mentions.
  - name: Events
    description: >-
      Read earlier events and check for missed deliveries across the market, a
      company, or a fund.
  - name: Financials
    description: >-
      Standardized financial statements, reported tables, ratios, and links to
      filing sources.
  - name: Filings
    description: Filings, board changes, insider dealings, and extracted filing mentions.
  - name: Funds
    description: Fund directories, disclosures, snapshots, holdings, and performance data.
  - name: Markets
    description: Market directories and regular-session clock data.
  - name: News
    description: Company news developments and company-filtered news search.
paths:
  /v1/connect/portfolio/history:
    get:
      tags:
        - Connect
      summary: Get Connect Portfolio History
      operationId: get_v1_connect_portfolio_history
      parameters:
        - name: client_user_id
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 160
            title: Client User Id
          description: >-
            Your stable end-user identifier used to select that user's
            authorized connections.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectPortfolioHistoryRead'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: unauthorized
                      code: unauthorized
                      message: Authentication required.
                      request_id: 28fa6152-7081-492e-8a7e-00beb237b689
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: forbidden
                      code: forbidden
                      message: Paid access is required.
                      request_id: 5c253b3e-778e-4a58-aaf8-07cb21e03563
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: validation_error
                      code: validation_error
                      message: Request validation failed
                      request_id: c5964dca-d290-4465-a3dc-f92d42aa9b17
                      details:
                        - type: missing
                          loc:
                            - query
                            - ticker
                          msg: Field required
                          input: null
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: rate_limit_exceeded
                      code: rate_limit_exceeded
                      message: Rate limit exceeded
                      request_id: cc4d369a-2c69-4ee2-909e-985ea35d14a9
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              examples:
                default:
                  value:
                    error:
                      type: internal_server_error
                      code: internal_server_error
                      message: Internal Server Error
                      request_id: 70b63aba-b8a3-41c2-bb0c-fbe67d84d37d
      security:
        - RanglerApiKey: []
components:
  schemas:
    ConnectPortfolioHistoryRead:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ConnectPortfolioBalancePoint'
          type: array
          title: Data
          description: >-
            Returned records or observations. The item schema defines each
            element's fields.
      type: object
      required:
        - data
      title: ConnectPortfolioHistoryRead
    ErrorEnvelope:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorObject'
          description: Error details returned when the request fails.
    ConnectPortfolioBalancePoint:
      properties:
        date:
          type: string
          format: date
          title: Date
          description: Calendar date of the observation in YYYY-MM-DD format.
        totals:
          items:
            $ref: '#/components/schemas/ConnectCurrencyTotal'
          type: array
          title: Totals
          description: >-
            Portfolio totals grouped by currency. Different currencies are not
            added together.
      type: object
      required:
        - date
        - totals
      title: ConnectPortfolioBalancePoint
    ErrorObject:
      type: object
      required:
        - type
        - code
        - message
        - request_id
      properties:
        type:
          type: string
          description: Error category, such as unauthorized or validation_error.
        code:
          type: string
          description: Machine-readable error code for programmatic handling.
        message:
          type: string
          description: Human-readable explanation of why the request failed.
        request_id:
          type: string
          description: Request identifier to include when contacting support.
        details:
          description: >-
            Additional structured error details when available; its shape
            depends on the error.
          anyOf:
            - additionalProperties: true
              type: object
            - type: array
              items:
                additionalProperties: true
                type: object
            - type: 'null'
    ConnectCurrencyTotal:
      properties:
        currency:
          type: string
          title: Currency
          description: >-
            Currency of the associated monetary value, normally an ISO 4217 code
            such as NGN.
        amount:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Amount
          description: Monetary amount in the associated currency, in base currency units.
      type: object
      required:
        - currency
        - amount
      title: ConnectCurrencyTotal
  securitySchemes:
    RanglerApiKey:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.