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

# Account Balance Historical

> Retrieves the historical (time series) account balances for the specified address.



## OpenAPI

````yaml get /addresses/{hash}/account-balances/historical
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /addresses/{hash}/account-balances/historical:
    get:
      summary: Account Balance Historical
      description: >-
        Retrieves the historical (time series) account balances for the
        specified address.
      operationId: get-historical-account-balances
      parameters:
        - name: hash
          in: path
          description: The address to retrieve the account balances for
          schema:
            type: string
            default: '0x06012c8cf97bead5deae237070f9587f8e7a266d'
          required: true
        - name: blockNumber
          in: query
          description: FIlter by account balances at block number
          schema:
            type: integer
            format: int32
        - name: startDate
          in: query
          description: FIlter by account balances which happened after this date
          schema:
            type: string
            format: date-time
        - name: endDate
          in: query
          description: FIlter by account balances which happened before this date
          schema:
            type: string
            format: date-time
        - name: value
          in: query
          description: FIlter by account balances where the balance is equal to this value
          schema:
            type: integer
            format: int32
        - name: valueGt
          in: query
          description: >-
            FIlter by account balances where the balance is greater than this
            value
          schema:
            type: integer
            format: int32
        - name: valueGte
          in: query
          description: >-
            FIlter by account balances where the balance is greater than or
            equal to this value
          schema:
            type: integer
            format: int32
        - name: valueLt
          in: query
          description: FIlter by account balances where the balance is less than this value
          schema:
            type: integer
            format: int32
        - name: valueLte
          in: query
          description: >-
            FIlter by account balances where the balance is less than or equal
            to this value
          schema:
            type: integer
            format: int32
        - name: includePrice
          in: query
          description: >-
            Indicates whether or not to include price data with the results.
            Options: true, false.
          schema:
            type: boolean
        - name: currency
          in: query
          description: >-
            The currency of the price information (usd or btc.) - only used in
            conjunction with includePrice.
          schema:
            type: string
        - name: page
          in: query
          description: The page number to return.
          schema:
            type: integer
            format: int32
            default: 0
        - name: size
          in: query
          description: Number of records per page
          schema:
            type: integer
            format: int32
            default: 50
        - name: timeFormat
          in: query
          description: >-
            **[Optional]** Time format of the timestamps in the return
            payload.<BR/>**[Defaults]** `milliseconds | ms* | iso | iso8601 | hr
            | human_readable`
          schema:
            type: string
        - name: x-amberdata-blockchain-id
          in: header
          description: The id of the blockchain
          schema:
            type: string
            enum:
              - bitcoin-mainnet
              - bitcoin-abc-mainnet
              - ethereum-mainnet
              - litecoin-mainnet
              - polygon-mainnet
            default: ethereum-mainnet
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                    default: 0
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      data:
                        type: array
                        description: >-
                          Array of rows, each row is an array of values in the
                          same order as metadata.columns
                        items:
                          type: array
                          minItems: 5
                          maxItems: 5
                          items:
                            oneOf:
                              - type: string
                              - type: integer
                          example:
                            - '0x06012c8cf97bead5deae237070f9587f8e7a266d'
                            - '7446815'
                            - 1553638828000
                            - 0
                            - '65183168478133965282'
                      metadata:
                        type: object
                        properties:
                          columns:
                            type: array
                            items:
                              type: string
                            example:
                              - address
                              - blockNumber
                              - timestamp
                              - timestampNanoseconds
                              - value
                          totalRecords:
                            type: integer
                            example: 1118325
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````