---
title: "Get analytics for current market state"
method: GET
path: "/api/v1/analytics/market/state"
tags: ["Analytics"]
---

# Get analytics for current market state

`GET /api/v1/analytics/market/state`

## Response `200`

Success response

- MarketStateAnalyticsObjResponse
  - `data` MarketStateAnalytics, required
    - `borrower_active` integer, required
    - `borrower_account_active` integer, required
    - `lender_active` integer, required
    - `loans_originated` MarketStateLoanValue, required — Analytics for accumulated value of originated loans
      - `total_value` union, required
        - string
        - number
      - `breakdown` object[], required
        - `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
        - `value` union, required
          - string
          - number
    - `flash_loan_volume_total` string, required
    - `assets` object[], required
      - `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
      - `lend_interest_paid` string, required
  - `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-03-31** `09b5978b7e7d` — 2 breaking, 10 info
  - added `subschema #9: JSON invalid, subschema #10: JSON decode, subschema #11: JSON body deserialize failure` to the `error/allOf[#/components/schemas/ErrorDataVariants]/anyOf[subschema #1: General/common error -> subschema #2: General/common error]/allOf[#/components/schemas/ErrorData]/kind/allOf[#/components/schemas/ErrorKind]/` response property `oneOf` list for the response status `500`
  - added `subschema #9: JSON invalid, subschema #10: JSON decode, subschema #11: JSON body deserialize failure` to the `error/allOf[#/components/schemas/ErrorDataVariants]/anyOf[subschema #1: General/common error -> subschema #2: General/common error]/allOf[#/components/schemas/ErrorData]/kind/allOf[#/components/schemas/ErrorKind]/` response property `oneOf` list for the response status `default`
  - added `#/components/schemas/ValidationErrorKind` to the `error/allOf[#/components/schemas/ErrorDataVariants]/anyOf[subschema #2: Validation error -> subschema #1: Validation error]/allOf[#/components/schemas/ValidationErrorData]/kind` response property `allOf` list for the response status `500`
  - added `#/components/schemas/ValidationErrorKind` to the `error/allOf[#/components/schemas/ErrorDataVariants]/anyOf[subschema #2: Validation error -> subschema #1: Validation error]/allOf[#/components/schemas/ValidationErrorData]/kind` response property `allOf` list for the response status `default`
  - …8 more
- …earlier changes not shown

[Full history](https://skmtc.dev/cryptechdev/apis/neptune-api-v2/changes/api/v1/analytics/market/state/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)
