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

# Get v1balancehistory



## OpenAPI

````yaml /openapi/platform.json get /v1/balance/history
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Versioned GOL developer and consumer API. Consumer routes are mounted when
    their runtime integrations are configured.
  version: 0.8.0-rc.1
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/balance/history:
    get:
      tags:
        - Balance
      operationId: getBalanceHistory
      parameters:
        - name: range
          in: query
          required: false
          schema:
            type: string
            enum:
              - 1D
              - 1W
              - 1M
              - 3M
              - 1Y
              - ALL
        - name: accountId
          in: query
          required: false
          schema:
            type: string
        - name: chainIds
          in: query
          required: false
          schema:
            type: string
        - name: chainRefs
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortfolioHistory'
        '400':
          description: invalid_request response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '401':
          description: unauthorized response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '403':
          description: forbidden response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '404':
          description: not_found response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '429':
          description: rate_limited response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '500':
          description: internal_error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
      security:
        - bearerAuth: []
components:
  schemas:
    PortfolioHistory:
      type: object
      properties:
        range:
          type: string
          enum:
            - 1D
            - 1W
            - 1M
            - 3M
            - 1Y
            - ALL
        points:
          type: array
          items:
            $ref: '#/components/schemas/PortfolioPoint'
        asOf:
          format: date-time
          type: string
        currency:
          type: string
          enum:
            - USD
        beginAt:
          type: number
        endAt:
          type: number
        interval:
          type: number
        status:
          type: string
          enum:
            - ready
            - building
            - degraded
        degradedChains:
          type: array
          items:
            type: string
            enum:
              - eip155:8453
              - eip155:84532
      required:
        - range
        - points
        - asOf
        - currency
        - beginAt
        - endAt
        - interval
        - status
        - degradedChains
    ConsumerError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - unauthorized
                - forbidden
                - not_found
                - rate_limited
                - service_unavailable
                - internal_error
                - capability_unavailable
                - conflict
            message:
              type: string
            correlationId:
              type: string
          required:
            - code
            - message
            - correlationId
      required:
        - error
    PortfolioPoint:
      type: object
      properties:
        t:
          type: number
        value:
          type: number
      required:
        - t
        - value
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Opaque owner, CLI, or agent session token. Agent tokens are accepted
        only where marked.

````

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