For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
11 1 4 5

Rating data for equities in DSS

HI,

Are you able to provide an API script example of how to pull Moodys ratings for an Equity?

Thanks

Preshan

dss-rest-apidssdatascope-selectrest-apicredit-ratings
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
4.4k 10 6 9

Hi @preshan.govinder

Moody's Rating is a bond credit rating, not equity rating.

That being said, you can get Moody's Rating for bond from either "Composite" or "Terms and Conditions" template.

For example,

HTTP request example

POST /RestApi/v1/Extractions/Extract HTTP/1.1
Host: hosted.datascopeapi.reuters.com
Prefer: respond-async
Content-Type: application/json
Authorization: Token ###
{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.CompositeExtractionRequest",
        "ContentFieldNames": [
           "Moodys Rating"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "00209TAB1=RRPS",
                    "IdentifierType": "Ric"
                }
            ]
        }
    }
}
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.