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

# List Lending Market Metrics

> Returns the timeseries metrics available for the lending-markets dataset. The market grain deliberately carries fewer metrics than the protocol and instance grains.



## OpenAPI

````yaml GET /metrics/v2/protocols/lending-markets/metrics
openapi: 3.0.0
info:
  description: OpenAPI specification for the entire Messari API
  title: Messari API - Metrics V2
  version: 1.0.0
servers:
  - description: Messari API
    url: https://api.messari.io
security: []
paths:
  /metrics/v2/protocols/lending-markets/metrics:
    get:
      tags:
        - metrics/protocols/lending
      summary: List lending market metrics
      description: >-
        Returns the timeseries metrics available for the lending-markets
        dataset. The market grain deliberately carries fewer metrics than the
        protocol and instance grains.
      operationId: getLendingMarketsMetricsV2
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/TimeseriesCatalog'
                  error:
                    type: string
                required:
                  - data
                type: object
              example:
                error: null
                data:
                  datasets:
                    - slug: lending-markets
                      granularities:
                        - 1d
                      metrics:
                        - name: Timestamp
                          slug: time
                          description: Timestamp of the data point.
                          is_timestamp: true
                        - name: Deposits (USD)
                          slug: depositsUsd
                          description: >-
                            Total deposits (supply and collateral) in USD across
                            the market's tokens. Sourced from Blockworks
                            Research.
                          is_timestamp: false
                        - name: Borrowed (USD)
                          slug: borrowedUsd
                          description: >-
                            Total outstanding borrows in USD across the market's
                            tokens. Sourced from Blockworks Research.
                          is_timestamp: false
                        - name: TVL (USD)
                          slug: tvl24HourUsd
                          description: >-
                            TVL in USD, deposits minus borrows. Sourced from
                            Blockworks Research.
                          is_timestamp: false
          description: Default response
        '400':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                  error:
                    type: string
                required:
                  - data
                type: object
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                  error:
                    type: string
                required:
                  - data
                type: object
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                  error:
                    type: string
                required:
                  - data
                type: object
          description: Internal Server Error
      security:
        - apiKey: []
components:
  schemas:
    TimeseriesCatalog:
      properties:
        datasets:
          items:
            $ref: '#/components/schemas/TimeseriesDataset'
          type: array
      required:
        - datasets
      type: object
    TimeseriesDataset:
      type: object
      description: Schema for TimeseriesDataset
      properties: {}
      additionalProperties: true
  securitySchemes:
    apiKey:
      in: header
      name: X-Messari-API-Key
      type: apiKey

````