Skip to content

1.2 - Return Structure

{
     "StatusCode": 200,
     "Status": "ESUCC or EFAIL",
     "Message": "Request OK. ",
     "Debug": null,
     "Result": {}
}

Example

{
     "StatusCode": 200,
     "Status": "ESUCC",
     "Message": "Request OK. Request OK. {0}",
     "Debug": null,
     "Result": {
          "data": [
               {
                    "symbol_code": "1COV",
                    "symbol_name": "Covestro AG",
                    "exchange": "Xetra",
                    "exchange_code": "GR",
                    "symbol_type": "Common Stock",
                    "country_name": "Germany",
                    "date": "2016-06-01 00:00:00",
                    "open": 38.2,
                    "high": 38.48,
                    "low": 37.925,
                    "close": 38.0,
                    "adjusted_close": 27.9884,
                    "volume": 654099,
                    "isin": "0",
                    "cusip": "0"
               },
               {
                     "symbol_code": "1COV",
                     "symbol_name": "Covestro AG",
                     "exchange": "Xetra",
                     "exchange_code": "GR",
                     "symbol_type": "Common Stock",
                     "country_name": "Germany",
                     "date": "2016-06-02 00:00:00",
                     "open": 37.855,
                     "high": 38.87,
                     "low": 37.855,
                     "close": 38.87,
                     "adjusted_close": 28.6292,
                     "volume": 785354,
                     "isin": "0",
                     "cusip": "0"
                 }
             ]
         }
     }
}

On Failure

{
     "StatusCode": 401,
     "Status": "EFAIL",
     "Message": "Invalid Timestamp or Request too old.",
     "Debug": null,
     "Result": null
}

Note (checked against the API on 2026-11-11)

Today this operation is served at https://api.infotrie.com/api/idata/get_financial_underlying_eod, with your InfoTrie API key in the X-API-Key header; the legacy AppKey header is refused with a 401. The same data, without the envelope, is at https://api.infotrie.com/api/market_data/get_financial_underlying_eod.

On success the envelope is StatusCode 200, Status ESUCC, Message always Request OK. Request OK. {0}, Debug null, and Result the data. An error raised by the operation (a missing, unknown or malformed parameter: 400) comes in the same envelope, with Status EFAIL, Message Request Failed. followed by the reason, and Result null. A request refused before it reaches the operation (no or an invalid API key: 401; a key without the operation's scope: 403; over the rate limit: 429) gets {"status": "error", "message": "..."} instead of the envelope. There is no timestamp check: the 401 under On Failure is no longer sent.

Result holds only data: one bar per trading day in the window, with the fields of the example, in no set order. A missing price or volume comes back as 0, not null. (The example above closes one brace too many.)