Historical instruments Bulk Search ?

samara
samara Explorer

I want to verify the instruments for particular day before placing the extraction request through API. i can see the option is avalible in GUI. Is there any way to do it in API ?

Best Answer

  • Christiaan Meihsl
    Answer ✓

    @samara, iIf your purpose is just to validate that the instruments exist you could use the following API call:

    Method: POST

    Endpoint: https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/InstrumentListValidateIdentifiersWithOptions

    Body:

    {
    "InputsForValidation": [
    {
    "Identifier": "CARR.PA",
    "IdentifierType": "Ric"
    },
    {
    "Identifier": "EUR=",
    "IdentifierType": "Ric"
    }
    ],
    "Options": {
    "AllowDuplicateInstruments": false,
    "AllowHistoricalInstruments": true,
    "AllowInactiveInstruments": true,
    "AllowOpenAccessInstruments": false,
    "AllowUnsupportedInstruments": false,
    "ExcludeFinrAsPricingSourceForBonds": false,
    "UseConsolidatedQuoteSourceForCanada": false,
    "UseConsolidatedQuoteSourceForUsa": false,
    "UseDebtOverEquity": false,
    "UseExchangeCodeInsteadOfLipper": false,
    "UseUsQuoteInsteadOfCanadian": false
    }
    }

    If you want to validate historical and inactive instruments ensure you set these 2 parameters true:

        "AllowHistoricalInstruments": true,
    "AllowInactiveInstruments": true,