---
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 — `GlobalMarketConfig`
    - `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 — `AssetSpec` 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` 'native' | 'token', required
      - `group_key` string, required
    - `nept` AssetSpec, required — `AssetSpec` 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` 'native' | 'token', required
      - `group_key` string, required
    - `extra` object, required
      - `text` object, nullable — Human-readable field variants. Must provide `?with-text=true`
        - `staking_health_modifier` string, required
        - `flash_loan_fee` string, required
        - `time_window_nanos` string, required
        - `stake_collateral_ratio` string, required
        - `stake_flash_loan_ratio` string, required
        - `liquidation_fee` string, required
  - `error` ErrorData
    - `scope` 'user' | 'client' | 'server', required
    - `kind` 'invalid_request' | 'validation' | 'entity_not_found' | 'contract' | 'internal', required
    - `message` string, required — Error message
    - `fields` FieldValidationError[], nullable — List of names and error messages for invalid fields. Always set when `error.kind == 'validation'`. Always NULL/unset for all other cases.
      - `field` string, required
      - `message` string, required
  - `status` integer, required — Request status
  - `status_text` string, required — Request status text

---

[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/4b5b35e288d8/schema)
