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

Success response

- GlobalMarketConfigObjResponse
  - `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`.
        - `flash_loan_fee` string, required
        - `liquidation_fee` string, required
        - `time_window_nanos` string, required
        - `stake_collateral_ratio` string, required
        - `stake_flash_loan_ratio` string, required
        - `staking_health_modifier` 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/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/05e0ec4b9b94/schema)
