---
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`

- object
  - `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` ErrorData, required
    - `scope` union, required
      - 'user'
      - 'client'
      - 'server'
    - `kind` union, required
      - 'invalid_request'
      - 'validation'
      - 'entity_not_found'
      - 'contract'
      - 'internal'
    - `message` string, required — Error message
    - `fields` FieldValidationError[], nullable, required — List of names and error messages for invalid fields. Never NULL when `error.kind == 'validation'`. Always NULL for all other cases.
      - `field` string, required
      - `message` string, required
  - `status` integer, required — Request status
  - `status_text` string, required — Request status text

## Changes

- **2026-03-01** `9048b9a34641` — 8 breaking, 17 info
  - added `subschema #1: Invalid request, subschema #2: Validation error, subschema #3: Requested entity not found, subschema #4: Contract error, subschema #5: Internal server error` to the `error/anyOf[#/components/schemas/ErrorData]/kind/allOf[#/components/schemas/ErrorKind]/` response property `oneOf` list for the response status `200`
  - added `subschema #1: Native token, subschema #2: CW20 token` to the `data/anyOf[#/components/schemas/MarketStateAnalytics]/assets/items/asset/group` response property `oneOf` list for the response status `200`
  - added `subschema #1: Native token, subschema #2: CW20 token` to the `data/anyOf[#/components/schemas/MarketStateAnalytics]/loans_originated/breakdown/items/asset/group` response property `oneOf` list for the response status `200`
  - added `subschema #1: User error, subschema #2: Client error, subschema #3: Server error` to the `error/anyOf[#/components/schemas/ErrorData]/scope/allOf[#/components/schemas/ErrorScope]/` response property `oneOf` list for the response status `200`
  - …21 more

[Change 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/9048b9a34641/schema)
