---
title: "get market config"
method: GET
path: "/api/v1/config"
tags: ["Trading Market Data"]
---

# get market config

`GET /api/v1/config`

## Request

- Base URL: `https://rwa-api.anchored.finance/rwa/trading`
- URL: `https://rwa-api.anchored.finance/rwa/trading/api/v1/config`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in header `x-api-nonce`
  - API key in header `x-api-ts`
  - API key in header `x-api-sign`
  - API key in header `x-api-chain-id`
  - API key in header `x-api-p`
- TypeScript: <https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/docs/api/v1/config/get.ts> (a function with typed inputs; its response is checked against the schema)

get market config

## Response `200`

OK

- BaseResponseOnChainConfigRespDto: Base Response
  - `code` integer: if not 200, it means error
  - `errMsg` string: if code not 200,this is error message
  - `data` OnChainConfigRespDto: Exchange config response DTO
    - `cashierBuffer` CashierBufferRespDto
      - `chainId` 1 | 143 | 8453 | 42161 | 4663 | 56 | 11155111 | 10143 | 84532 | 421614 | 46630
      - `productType` 'FUND' | 'Common' | 'MondayTrade' | 'Anchored' | 'Synfutures'
      - `credit buffer address` string
      - `instant threshold divisor` string
      - `credit buffer` string
      - `credit buffer capacity` string
      - `total balance` string
    - `exchangeFeeConfig` ExchangeFeeConfigRespDto: Exchange fee config response DTO
      - `chainId` 1 | 143 | 8453 | 42161 | 4663 | 56 | 11155111 | 10143 | 84532 | 421614 | 46630: Chain ID
      - `productType` 'FUND' | 'Common' | 'MondayTrade' | 'Anchored' | 'Synfutures': Product type
      - `mintFeeRate` string: Mint fee rate, human-readable. Example: 0.001 means 0.1%
      - `protocolFeeRate` string: Protocol fee rate, human-readable. Example: 0.001 means 0.1%
      - `minOrderValue` string: Minimum) order value in USD units (18 decimals), human-readable
      - `txHash` string: Transaction hash of the latest update
      - `updatedAt` integer: Timestamp of the latest update (unix seconds)
    - `cashierTokenConfig` object: Cashier token config, key is token address
  - `uuid` string: every request has a uuid
  - `t` integer: server time

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api.md) - [All operations](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/revisions/8df20ab57300?raw)
