Tick History - Criteria Search - Pull all RICs starting with 0#

Options

Hello,


I am trying to extract all Chains for given exchange using criteria search but keep getting error.

What am i missing in the code?


Request:

https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/HistoricalCriteriaSearch HTTP/1.1?Prefer=respond-async&Content-Type=application/json

{

"Request": {

"RicPattern": "^0#",

"ExchangeCodes": 31,

"Range": {

"Start": "2024-09-30T00:00:00.000Z",

"End": "2024-10-01T00:00:00.000Z"

}

}

}


Response:

{"error":{"code":"465beace-a31d-4973-a517-f159512cd8b5","message":"Resource not found for the segment

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Asif Khan

    Thank you for reaching out to us.

    I can run it properly in Postman.

    The request message is:

    {
        "Request": {
            "RicPattern": "^0\\#",
            "ExchangeCodes": ["31"],
            "Range": {
                "Start": "2024-09-30T00:00:00.000Z",
                "End": "2024-10-01T00:00:00.000Z"
            }
        }
    }

    1727765502404.png

    You can test it with Postman. You can download LSEG Tick History REST Tutorials Postman collection from the LSEG developer portal.