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

# Pairs Latest

> Retrieves the latest minute by minute metrics for the specified pair (for example DAI_WETH).



## OpenAPI

````yaml get /metrics/exchanges/{exchange}/pairs/{pair}/latest
openapi: 3.1.0
info:
  title: Defi Market API
  version: '2'
servers:
  - url: https://api.amberdata.com/market/defi
security:
  - sec0: []
paths:
  /metrics/exchanges/{exchange}/pairs/{pair}/latest:
    get:
      summary: Pairs Latest
      description: >-
        Retrieves the latest minute by minute metrics for the specified pair
        (for example DAI_WETH).
      operationId: defi-metrics-pairs-latest
      parameters:
        - name: exchange
          in: path
          description: >-
            Exchange of the asset for which to return the metrics - can be
            specified as:<BR/>- a name: `uniswapv2`<BR/>- an id:
            `0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f`
          schema:
            type: string
            default: uniswapv2
          required: true
        - 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: pair
          in: path
          description: >-
            Pair for which to return the metrics, for example:<BR/>-
            `0xa478c2975ab1ea89e8196811f51a7b7ade33eb11` (DAI_WETH)
          schema:
            type: string
            default: '0xa478c2975ab1ea89e8196811f51a7b7ade33eb11'
          required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: array
                    items:
                      type: object
                      properties:
                        exchangeId:
                          type: string
                          example: '0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f'
                        timestamp:
                          type: string
                          example: '2020-12-29T07:00:00.000Z'
                        address:
                          type: string
                          example: '0x6b175474e89094c44da98b954eedeac495271d0f'
                        feesNative:
                          type: string
                          example: '1.535162374359281676'
                        feesUSD:
                          type: string
                          example: '1.537493485860114379'
                        liquidityTotalNative:
                          type: string
                          example: '79732489.660759360681767727'
                        liquidityTotalUSD:
                          type: string
                          example: '79853561.754983786842105053'
                        pairsTradedTotal:
                          type: integer
                          example: 1
                        tradesTotal:
                          type: integer
                          example: 11
                        priceNative:
                          type: string
                          example: '0.00061015503280647554'
                        volumeTotalNative:
                          type: string
                          example: '511.720791453093891836'
                        volumeTotalUSD:
                          type: string
                          example: '512.497828620038126212'
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      x-default: API_KEY
      name: x-api-key

````