Skip to content

Get Client Configuration

Get Client Configuration The client Configuration provides information about various exchange segments available and different instrument types supported at uTrade. Furthermore, it includes information about the available Publish Formats, such as Binary and JSON, as well as Broadcast Modes, categorized as Partial and Full. Additionally it provides information about various message codes supported.

Method: GET

{{SERVER_URL}}/api/V2/marketData/clientConfig

Headers

Content-Type Value
Authorization {{MARKET_AUTH_TOKEN}}

Response: 200

{
    "code": 200,
    "description": "Fetched configuration successfully",
    "result": {
        "ExchangeSegments": {
            "BSECDS": 13,
            "BSECM": 11,
            "BSEFO": 12,
            "ESMNSE": 5,
            "MCX": 51,
            "NSECDS": 3,
            "NSECM": 1,
            "NSEFO": 2
        },
        "PublishFormat": [
            "BINARY",
            "JSON"
        ],
        "BroadCastMode": [
            "PARTIAL",
            "FULL"
        ],
        "InstrumentType": {
            "1": "Futures",
            "2": "Options",
            "8": "Equity",
            "Equity": 8,
            "Futures": 1,
            "Options": 2
        },
        "MessageCode": {
            "candleDataEvent": 1505,
            "instrumentPropertyChangeEvent": 1105,
            "ltpEvent": 1512,
            "marketDepthEvent": 1502,
            "marketStatusEvent": 1507,
            "openInterestEvent": 1510,
            "touchlineEvent": 1501
        }
    },
    "type": "success"
}