---
title: "Get market params"
method: GET
path: "/api/v1/markets/config"
tags: ["Market"]
---

# Get market params

`GET /api/v1/markets/config`

## Query parameters

- `with_text` boolean — Include text variation fields

## Response `200`

- object
  - `data` GlobalMarketConfig, required
    - `time_window_nanos` integer, required — Number of nanoseconds that an oracle price is valid for.
    - `partial_liquidation_threshold` string, required — Minimum account value to avoid complete liquidation.
    - `target_liquidation_health` string, required — The account health target for a liquidation. should be ~= 1.02 must be >= 1.0
    - `liquidation_fee` string, required — The coefficient use to calculate the liquidation protocol fee. should be ~= 0.01 must be <= 1.0
    - `flash_loans_enabled` boolean, required — Whether flash loans are enabled or not
    - `flash_loan_fee` string, required — The coefficient used to calculate the flash loan fee. should be ~= 0.01 must be <= 1.0
    - `staking_health_modifier` string, required — The maximum health increase provided by staking. should be ~= 0.05 and must be <= 1.0
    - `stake_collateral_ratio` string, required — The required ratio of weighted staked NEPT to collateral value to obtain the maximum staking health modifier. should be ~= 0.1 must be <= 1.0
    - `stake_flash_loan_ratio` string, required — The required ratio of weighted staked NEPT to flash loan value should be ~= 0.05 must be <= 1.0
    - `dynamic_discount_width` string, required — The required change in account health below 1.0 to achieve the maximum discount. should be ~= 0.02 must be <= 1.0
    - `hinj` 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
    - `nept` 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
    - `extra` object, required
      - `text` object, nullable, required — Human-readable field variants. Will not be null when query param `with_text` is `true`.
        - `time_window_nanos` string, required
        - `stake_collateral_ratio` string, required
        - `flash_loan_fee` string, required
        - `stake_flash_loan_ratio` string, required
        - `liquidation_fee` string, required
        - `staking_health_modifier` 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, 24 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/GlobalMarketConfig]/hinj/allOf[#/components/schemas/AssetSpec]/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/GlobalMarketConfig]/nept/allOf[#/components/schemas/AssetSpec]/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`
  - …28 more

[Change history](https://skmtc.dev/cryptechdev/apis/neptune-api-v2/changes/api/v1/markets/config/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/8f59b54c563a/schema)
