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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
20 2 1 5

News in DataScope Select REST API?

I would like to access news - both All News and TRNA (News Analytics) using the DSS REST API. I cannot see an example or reference to this in the REST API documentation.

dss-rest-apidatascope-selectdss
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
648 4 4 6
POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes
Authorization: Token <your_auth_token_goes_here>
Prefer: respond-async
Content-Type: application/json; odata=minimalmetadata
{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.NewsAnalyticsExtractionRequest",
        "ContentFieldNames": [
            "Stock RIC",
            "Relevance",
            "Sentiment",
            "Sentiment - Negative",
            "Sentiment - Neutral",
            "Sentiment - Positive",
            "Item Type",
            "Item Genre",
            "Headline",
            "PNAC",
            "Take Date Time",
            "Story Date Time",
            "Attribution",
            "Topics",
            "Related RICs",
            "Sentiment Words",
            "Total Words",
            "First Mention",
            "Total Sentences",
            "Broker Action",
            "Products",
            "Market Commentary"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "Identifier": "IBM.N",
                    "IdentifierType": "Ric"
                }
            ],
            "ValidationOptions": null,
            "UseUserPreferencesForValidationOptions": false
        },
        "Condition": {
            "ReportDateRange": "Delta",
            "DaysAgo": 1,
            "HoursAgo": 20,
            "MinutesAgo": 40,
            "NewsAnalyticsRelevanceOperator": "GreaterThanOrEqualTo",
            "NewsRelevanceValue": 0.5,
            "NewsAnalyticsPrevailingSentiment": "Positive",
            "NewsAnalyticsNovelty": "Novelty5Day",
            "NewsFilterNoveltyOperator": "GreaterThanOrEqualTo",
            "NewsNoveltyValue": 20,
            "NewsTopicsCodes": [
                "GDP",
                "ECI",
                "MCE"
            ],
            "IncludeImbalace": true,
            "NewsAnalyticsSource": "ArticlesAndAlerts",
            "NewsAttributionsCodes": [
                "RTRS",
                "JSE"
            ]
        }
    }
}


icon clock
10 |1500

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

Click below to post an Idea Post Idea