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

> Returns the timeseries metrics available for the lending-instances dataset. The dataset carries the same ten Blockworks Research lending metrics as the protocol-grain lending dataset, at product x chain grain.



## OpenAPI

````yaml GET /metrics/v2/protocols/lending-instances/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-instances/metrics:
    get:
      tags:
        - metrics/protocols/lending
      summary: List lending instance metrics
      description: >-
        Returns the timeseries metrics available for the lending-instances
        dataset. The dataset carries the same ten Blockworks Research lending
        metrics as the protocol-grain lending dataset, at product x chain grain.
      operationId: getLendingInstancesMetricsV2
      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-instances
                      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 product's markets. Sourced from Blockworks
                            Research.
                          is_timestamp: false
                        - name: Borrowed (USD)
                          slug: borrowedUsd
                          description: >-
                            Total outstanding borrows in USD across the
                            product's markets. 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
                        - name: Interest (USD)
                          slug: interest24HourUsd
                          description: >-
                            Daily interest paid by borrowers in USD. Sourced
                            from Blockworks Research.
                          is_timestamp: false
                        - name: Net Interest Income (USD)
                          slug: netInterestIncome24HourUsd
                          description: >-
                            Daily net interest income in USD, the interest kept
                            by the protocol. Sourced from Blockworks Research.
                          is_timestamp: false
                        - name: Flash Loan Fees (USD)
                          slug: flashLoanFees24HourUsd
                          description: >-
                            Daily flash loan fees in USD. Sourced from
                            Blockworks Research.
                          is_timestamp: false
                        - name: Liquidation Fees (USD)
                          slug: liquidationFees24HourUsd
                          description: >-
                            Daily liquidation fees in USD. Sourced from
                            Blockworks Research.
                          is_timestamp: false
                        - name: Royalties (USD)
                          slug: royalties24HourUsd
                          description: >-
                            Daily royalty fees in USD. Sourced from Blockworks
                            Research.
                          is_timestamp: false
                        - name: Fees (USD)
                          slug: fees24HourUsd
                          description: >-
                            Daily total fees in USD, interest plus flash loan,
                            liquidation and royalty fees. Sourced from
                            Blockworks Research.
                          is_timestamp: false
                        - name: Revenue (USD)
                          slug: revenueUsd
                          description: >-
                            Daily revenue in USD, net interest income plus flash
                            loan, liquidation and royalty fees. 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

````