> ## 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 Metrics Historical

> Retrieves the historical metrics for the specified ERC token symbol.



## OpenAPI

````yaml get /tokens/metrics/{symbol}/historical
openapi: 3.1.0
info:
  title: blockchain-api
  version: '2'
servers:
  - url: https://api.amberdata.com/blockchains
security:
  - sec0: []
paths:
  /tokens/metrics/{symbol}/historical:
    get:
      summary: Token Metrics Historical
      description: Retrieves the historical metrics for the specified ERC token symbol.
      operationId: token-metrics-historical
      parameters:
        - name: symbol
          in: path
          description: The symbol of the token contract.
          schema:
            type: string
            default: link
          required: true
        - name: startDate
          in: query
          description: Filter by data after this date.
          schema:
            type: string
            format: date-time
        - name: endDate
          in: query
          description: Filter by data before this date.
          schema:
            type: string
            format: date-time
        - name: timeInterval
          in: query
          description: >-
            The time interval to return the historical data in: by day (d), by
            hour (h) or by minute (m)
          schema:
            type: string
            default: h
        - 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
            default: iso
        - name: x-amberdata-blockchain-id
          in: header
          description: The id of the blockchain
          schema:
            type: string
            enum:
              - ethereum-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:
                      records:
                        type: array
                        description: Array of daily transfer metrics
                        items:
                          type: object
                          properties:
                            timestamp:
                              type: string
                              format: date-time
                              example: '2020-05-31T00:00:00.000Z'
                            priceUSD:
                              type: string
                              example: '1.5779'
                            transfersTotal:
                              type: string
                              example: '1708'
                            transferedValueTotal:
                              type: string
                              example: '3776546.97171975838093617'
                            transferedValueAverage:
                              type: string
                              example: '2211.093074777376101251'
                            transferedValueTotalUSD:
                              type: string
                              example: '5959161.3814'
                            transferedValueAverageUSD:
                              type: string
                              example: '3488.9704'
                      totalRecords:
                        type: integer
                        example: 365
        '401':
          description: '401'
          content:
            text/plain:
              examples:
                Result:
                  value: Unauthorized
        '404':
          description: '404'
          content:
            text/plain:
              examples:
                Address Not Found:
                  value: Unknown address or address is not a contract
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````