---
title: "Get lend/collateral/debt grouped by asset"
method: GET
path: "/api/v1/markets/merged"
tags: ["Market"]
---

# Get lend/collateral/debt grouped by asset

`GET /api/v1/markets/merged`

## Query parameters

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

## Response `200`

Success response

- MergedMarketListResponse
  - `data` MergedMarket[], required
    - `asset_info` AssetInfo, required — Asset identifiers with associated metadata
      - `asset` AssetSpec, required — 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` union, required
          - 'native'
          - 'token'
        - `group_key` string, required
      - `metadata` AssetMetadata, required — Additional metadata for assets
        - `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 — 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
          - `kind` 'regular', required
          - `neptune_receipt_asset` AssetSpec, required — 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` union, required
              - …
            - `group_key` string, required
        - object
          - `kind` 'neptune_receipt_token', required
          - `origin_asset` AssetSpec, required — 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` union, required
              - …
            - `group_key` string, required
        - object
          - `kind` 'liquid_staking_token', required
          - `origin_asset` AssetSpec, required — 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` union, required
              - …
            - `group_key` string, required
    - `lend` LendMarketData, required
      - `rate` MarketRate, required
        - `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, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `apy` string, required
            - `apr` string, required
      - `state` LendMarketState, required
        - `principal` 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, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `redemption_ratio` string, required
            - `receipt_total_supply` string, required
            - `principal` string, required
          - `value` object, nullable, required — USD values for the corresponding amounts above. Will not be null when query param `with_value` is `true`. ### Note This variant group contains an additional `price` field (set to the number used in value calculation). The embedded text group will contain the text variant if `with_text` was specified as well.
            - `price` string, required — Price used in value calculations
            - `principal` string, required
            - `extra` object, required
              - …
    - `borrow_collateral` BorrowCollateralMarketData, required
      - `config` BorrowCollateralConfig, required
        - `enabled` boolean, required — Collateral enabled state
        - `collateral_cap` string, nullable, required — The optional, global/shared maximum deposit limit for this collateral.
        - `allowable_ltv` string, required — The loan to value ratio at which we allow collateral withdrawals or borrows.
        - `liquidation_ltv` string, required — The loan to value ratio at which the collateral can be liquidated.
        - `min_discount` string, required — The minimum dynamic discount.
        - `max_discount` string, required — The maximum dynamic discount
        - `extra` object, required
          - `text` object, nullable, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `allowable_ltv` string, required
            - `collateral_cap` string, required
            - `min_discount` string, required
            - `max_discount` string, required
            - `liquidation_ltv` string, required
          - `value` object, nullable, required — USD values for the corresponding amounts above. Will not be null when query param `with_value` is `true`. ### Note This variant group contains an additional `price` field (set to the number used in value calculation). The embedded text group will contain the text variant if `with_text` was specified as well.
            - `price` string, required — Price used in value calculations
            - `collateral_cap` string, nullable, required
            - `extra` object, required
              - …
      - `state` BorrowCollateralState, required
        - `shares` string, required — Total amount of this asset which is actively collateralized
        - `balance` string, required
        - `extra` object, required
          - `text` object, nullable, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `shares` string, required
            - `balance` string, required
          - `value` object, nullable, required — USD values for the corresponding amounts above. Will not be null when query param `with_value` is `true`. ### Note This variant group contains an additional `price` field (set to the number used in value calculation). The embedded text group will contain the text variant if `with_text` was specified as well.
            - `shares` string, required
            - `price` string, required — Price used in value calculations
            - `balance` string, required
            - `extra` object, required
              - …
    - `borrow_debt` BorrowDebtMarketData, required
      - `rate` MarketRate, required
        - `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, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `apy` string, required
            - `apr` string, required
      - `config` BorrowDebtConfig, required
        - `enabled` boolean, required — Market enabled state
        - `borrow_cap` string, nullable, required — The global max amount which can be borrowed
        - `interest_fee` string, required — The protocol (base) interest rate that is charged to borrowers.
        - `borrow_halt_utilization` string, required — The maximum utilization ratio at which new borrow positions can be opened.
        - `extra` object, required
          - `text` object, nullable, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `interest_fee` string, required
            - `borrow_halt_utilization` string, required
            - `borrow_cap` string, required
          - `value` object, nullable, required — USD values for the corresponding amounts above. Will not be null when query param `with_value` is `true`. ### Note This variant group contains an additional `price` field (set to the number used in value calculation). The embedded text group will contain the text variant if `with_text` was specified as well.
            - `price` string, required — Price used in value calculations
            - `borrow_cap` string, nullable, required
            - `extra` object, required
              - …
      - `state` BorrowDebtState, required
        - `shares` string, required
        - `balance` string, required
        - `utilization_accumulator` string, required — Asset utilization tracker.
        - `time_last_distributed_interest` string, date-time, required — Timestamp used to keep track of the last time interest was distributed.
        - `extra` object, required
          - `text` object, nullable, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
            - `shares` string, required
            - `balance` string, required
            - `time_last_distributed_interest` string, required
          - `value` object, nullable, required — USD values for the corresponding amounts above. Will not be null when query param `with_value` is `true`. ### Note This variant group contains an additional `price` field (set to the number used in value calculation). The embedded text group will contain the text variant if `with_text` was specified as well.
            - `shares` string, required
            - `balance` string, required
            - `price` string, required — Price used in value calculations
            - `extra` object, required
              - …
  - `count` integer, required — Total number of objects irrespective of any pagination parameters.
  - `error` unknown, required
  - `status` integer, required — HTTP status. Successful responses are guaranteed to be < `400`. Conversely, error responses are guaranteed to be >= `400`.
  - `status_text` string, required — HTTP status text

## Other responses

- `500` — Server error response
- `default`

## Changes

- **2026-04-17** `05e0ec4b9b94` — 16 breaking, 16 info
  - removed the required property `data/items/borrow_collateral/anyOf[#/components/schemas/BorrowCollateralMarketData]/state/allOf[#/components/schemas/BorrowCollateralState]/collateral_sum` from the response with the `200` status
  - removed the required property `data/items/borrow_collateral/anyOf[#/components/schemas/BorrowCollateralMarketData]/state/allOf[#/components/schemas/BorrowCollateralState]/extra/text/collateral_sum` from the response with the `200` status
  - removed the required property `data/items/borrow_collateral/anyOf[#/components/schemas/BorrowCollateralMarketData]/state/allOf[#/components/schemas/BorrowCollateralState]/extra/value/collateral_sum` from the response with the `200` status
  - removed the required property `data/items/borrow_collateral/anyOf[#/components/schemas/BorrowCollateralMarketData]/state/allOf[#/components/schemas/BorrowCollateralState]/extra/value/extra/text/collateral_sum` from the response with the `200` status
  - …28 more
- …earlier changes not shown

[Full history](https://skmtc.dev/cryptechdev/apis/neptune-api-v2/changes/api/v1/markets/merged/get.md)

---

[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/05e0ec4b9b94/schema)
