---
title: "Get lending markets"
method: GET
path: "/api/v1/markets/lend"
tags: ["Market"]
---

# Get lending markets

`GET /api/v1/markets/lend`

## Query parameters

- `with_text` boolean — Include text variation fields
- `with_value` boolean — Calculate and include USD values for amounts, where applicable

## Response `200`

- object
  - `data` LendMarket[], nullable — List contents
    - `asset_info` AssetInfo, required — `AssetInfo`
      - `asset` AssetSpec, required — `AssetSpec` Provides a unique identifier for an asset for use throughout the Neptune API. IDs are unique across asset domains (contract tokens, native denoms, etc)
        - `id` string, required
        - `group` 'native' | 'token', required
        - `group_key` string, required
      - `metadata` AssetMetadata, required — `AssetMetadata`
        - `name` string, required — Full name of the asset
        - `symbol` string, required — Symbol of the asset, e.g.: `NEPT` `INJ`
        - `symbol_denom` string, required — Denom symbol for the asset (e.g. `inj` for `INJ`, `sat` for `BTC`)
        - `decimals_denom` integer, required — Denom exponent, or num. of decimal places that shift between denom/standard amounts (e.g. `18` for `INJ`)
        - `decimals_display` integer, required — Number of decimals used when displaying amounts of this asset (this is subjective and used for generating text representations)
      - `classification` union, required — `AssetClassification` --- The asset's classification metadata. Assets are classfied to provide context on their usage throughout the Neptune API (e.g. regular assets, neptune receipt tokens, LSTs, etc.) Each asset belongs to only a single classification type. This object contains metadata pertaining to the given classification. While some fields may be common among the distinct classifcations, each classification is distinct and subject to independent change.
        - object
          - `neptune_receipt_asset` AssetSpec — `AssetSpec` Provides a unique identifier for an asset for use throughout the Neptune API. IDs are unique across asset domains (contract tokens, native denoms, etc)
            - `id` string, required
            - `group` 'native' | 'token', required
            - `group_key` string, required
          - `kind` 'regular', required
        - object
          - `origin_asset` AssetSpec, required — `AssetSpec` Provides a unique identifier for an asset for use throughout the Neptune API. IDs are unique across asset domains (contract tokens, native denoms, etc)
            - `id` string, required
            - `group` 'native' | 'token', required
            - `group_key` string, required
          - `kind` 'neptune_receipt_token', required
        - object
          - `origin_asset` AssetSpec — `AssetSpec` Provides a unique identifier for an asset for use throughout the Neptune API. IDs are unique across asset domains (contract tokens, native denoms, etc)
            - `id` string, required
            - `group` 'native' | 'token', required
            - `group_key` string, required
          - `kind` 'liquid_staking_token', required
    - `rate` MarketRate — `MarketRate`
      - `apr` string, required — Market rate in APR standard as a decimal percentage
      - `apy` string, required — Market rate in APY standard as a decimal percentage
      - `extra` object, required
        - `text` object, nullable — Human-readable field variants. Must provide `?with-text=true`
          - `apr` string, required
          - `apy` string, required
    - `state` LendMarketState, required — `LendMarketState`
      - `principal_sum` string, required — The total amount of the asset deposited for lending in the market.
      - `receipt_total_supply` string, required
      - `redemption_ratio` string, required
      - `extra` object, required
        - `text` object, nullable — Human-readable field variants. Must provide `?with-text=true`
          - `redemption_ratio` string, required
          - `receipt_total_supply` string, required
          - `principal_sum` string, required
        - `value` object, nullable — USD values for the corresponding amounts above. Must provide `?with-value=true`
          - `principal_sum` string, required
          - `extra` object, required
            - `text` object, nullable — Human-readable variants of USD values. Must provide `?with-text=true&with-value=true`
              - …
  - `count` integer, nullable — Total number of objects in all pages
  - `error` ErrorData
    - `scope` 'user' | 'client' | 'server', required
    - `kind` 'invalid_request' | 'validation' | 'entity_not_found' | 'contract' | 'internal', required
    - `message` string, required — Error message
    - `fields` FieldValidationError[], nullable — List of names and error messages for invalid fields. Always set when `error.kind == 'validation'`. Always NULL/unset for all other cases.
      - `field` string, required
      - `message` string, required
  - `status` integer, required — Request status
  - `status_text` string, required — Request status text

---

[API](https://skmtc.dev/cryptechdev/apis/neptune-api-v2.md) · [All operations](https://skmtc.dev/cryptechdev/apis/neptune-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cryptechdev/neptune-api-v2/revisions/4b5b35e288d8/schema)
