---
title: "Get trading configuration by key"
method: GET
path: "/api-regulated/v1/trading-configs/{key}"
tags: ["Configuration"]
---

# Get trading configuration by key

`GET /api-regulated/v1/trading-configs/{key}`

## Request

- Base URL: `https://api.currencyguard.com`
- URL: `https://api.currencyguard.com/api-regulated/v1/trading-configs/{key}`
- Auth: HTTP bearer

Retrieves a specific configuration value by its key. Note: This endpoint may be deprecated in a future release.

## Path parameters

- `key` string, required

## Response `200`

Configuration retrieved

- TradingConfigurationDTO: A trading configuration setting resolved for a given scope
  - `name` string: Configuration key identifier
  - `configType` 'BIGDECIMAL' | 'STRING' | 'INTEGER' | 'BOOLEAN' | 'JSON': Type of the configuration value
  - `configDefault` string: Default value from application configuration
  - `description` string: Human-readable description of this configuration
  - `allowedRoles` string: Comma-separated list of roles allowed to access this configuration
  - `globalOnly` boolean: True when the setting is a property of the platform rather than of a PSP relationship, and so can never be overridden for a single regulated entity
  - `value` string: The value in force for the requested scope
  - `regulatedEntityId` string, uuid: Regulated entity this value was read from. Null when it is the platform-wide default.
  - `source` 'GLOBAL' | 'OVERRIDE': Whether the value is this entity's own override or the inherited platform default
  - `versionNumber` integer: Version number of the value row
  - `updatedBy` string: Username of the person or entity that last updated the value
  - `updatedAt` string: Timestamp of the last update in UTC
  - `createdAt` string: Timestamp of creation in UTC

## Other responses

- `400`: Invalid configuration key — [`http/malformed-request`](/problems/http/malformed-request/)
- `401`: Not authenticated — [`security/authentication-failed`](/problems/security/authentication-failed/)
- `403`: Access denied - insufficient privileges — [`security/insufficient-permissions`](/problems/security/insufficient-permissions/)
- `404`: Configuration not found or not accessible — [`http/resource-not-found`](/problems/http/resource-not-found/)
- `500`: Server error — [`server/internal-error`](/problems/server/internal-error/)

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
