> ## 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.

# Token Balances Historical

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



## OpenAPI

````yaml get /addresses/{hash}/token-balances/historical
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /addresses/{hash}/token-balances/historical:
    get:
      summary: Token Balances Historical
      description: >-
        Retrieves the historical (time series) token balances for the specified
        address.
      operationId: get-token-balances
      parameters:
        - name: hash
          in: path
          description: The address to retrieve tokens for
          schema:
            type: string
            default: '0x19bf56fca395a600c20f732b05757f30ad24a719'
          required: true
        - name: amount
          in: query
          description: Filters by token balances which value is equal to this amount
          schema:
            type: integer
            format: int32
        - name: amountGt
          in: query
          description: Filter by token balances which value is greater than this amount
          schema:
            type: integer
            format: int32
        - name: amountGte
          in: query
          description: >-
            Filter by token balances which value is greater than or equal to
            this amount
          schema:
            type: integer
            format: int32
        - name: amountLt
          in: query
          description: Filter by token balances which value is less than this amount
          schema:
            type: integer
            format: int32
        - name: amountLte
          in: query
          description: >-
            Filter by token balances which value is less than or equal to this
            amount
          schema:
            type: integer
            format: int32
        - name: blockNumber
          in: query
          description: Filter by blockNumber
          schema:
            type: integer
            format: int32
        - name: startDate
          in: query
          description: Get balance after a start date (Requires endDate)
          schema:
            type: string
            format: date-time
        - name: endDate
          in: query
          description: Get balances before the specified date (Requires startDate)
          schema:
            type: string
            format: date-time
        - name: tokenAddress
          in: query
          description: Filter by the specified token address.
          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: x-amberdata-blockchain-id
          in: header
          description: The id of the blockchain
          schema:
            type: string
            enum:
              - ethereum-mainnet
              - polygon-mainnet
            default: ethereum-mainnet
      responses:
        '200':
          description: '200'
          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:
                      totalRecords:
                        type: integer
                        example: 804219
                        default: 0
                      records:
                        type: array
                        items:
                          type: object
                          properties:
                            blockchainId:
                              type: string
                              example: 1c9c969065fcd1cf
                            amount:
                              type: string
                              example: '1341'
                            address:
                              type: string
                              example: '0x06012c8cf97bead5deae237070f9587f8e7a266d'
                            holder:
                              type: string
                              example: '0xbae25a69a6eb7341ee834be7635e247e22a1e57a'
                            decimals:
                              type: string
                              example: '0'
                            name:
                              type: string
                              example: CryptoKitties
                            symbol:
                              type: string
                              example: CK
                            isERC20:
                              type: boolean
                              example: false
                              default: true
                            isERC721:
                              type: boolean
                              example: true
                              default: true
                            isERC777:
                              type: boolean
                              example: false
                              default: true
                            isERC884:
                              type: boolean
                              example: false
                              default: true
                            isERC998:
                              type: boolean
                              example: false
                              default: true
        '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

````