---
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 — Object data success response
  - `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` — Error response for object data types

## Changes

- **2026-03-30** `5768d4f43166` — 2 info
  - added `#/components/schemas/ErrorDataVariants` to the `error` response property `allOf` list for the response status `500`
  - removed `subschema #1: General/common error, subschema #2: Validation error` from the `error` response property `anyOf` list for the response status `500`
- **2026-03-29** `65d147ca4389` — 2 breaking, 9 info
  - the response property `error` became nullable for the status `200`
  - the `data` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the non-success response with the status `500`
  - removed `#/components/schemas/ErrorData, subschema #2` from the `error` response property `anyOf` list for the response status `200`
  - …7 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/5768d4f43166/schema)
