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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 1 1

CPI / GDP and Commodity Data

Hi

Could anyone please help us finding the following data

1. CPI

2. GDP

3. Commodity Data for - Wheat / Crude Oil/ Sugar

We have access to Data Scope Select API but not sure which API should we use to access Daily and Historical Prices of above mentioned identifiers.


dss-rest-api
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.

Upvotes
Accepted
32.2k 40 11 20

Hello @stefan.beazley ,

I am assuming you are looking to find this data for API access. You will need to know the instrument identifiers (RICs are the easiest) and fields required. The instruments that are available via DSS can be searched up via DSS GUI at https://select.datascope.refinitiv.com/, you will be able to select the required RIC and browse available content conveniently by starting with Search:

dsssearch.gif

Once you have the instruments identified, you can look up the required fields, per request type, a quick approach is text-search in Field Descriptions found in DSS Data Content Guide

In terms of type of the request, I would look into

A request as described can be run from any language and environment that support HTTP REST requests.

For your instruments, a quick example of request to retrieve PriceHistory:

{
                {protocol}}{
                {host}}{
                {api}}Extractions/ExtractWithNotes
{
  "ExtractionRequest": {
    "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.PriceHistoryExtractionRequest",
    "ContentFieldNames": [
      "File Code",
      "RIC",
      "Trade Date",
      "Last Trade Price",
      "Universal Close Price",
      "Alternate Close Price",
      "High Price",
      "Low Price",
      "Open Price",
      "Volume Weighted Average Price",
      "Turnover",
      "Volume",
      "Accumulated Volume Unscaled",
      "Bid Price",
      "Asset Type",
      "Quote ID",
      "Bid Yield",
      "Exchange Code",
      "Currency Code"          
    ],
    "IdentifierList": {
      "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",  
      "InstrumentIdentifiers": [
        { "Identifier": "CPI", "IdentifierType": "Ric" },
      { "Identifier": "GDP", "IdentifierType": "Ric" }
      ],
      "ValidationOptions": { "AllowHistoricalInstruments": true },
      "UseUserPreferencesForValidationOptions": false
    },
    "Condition": {
      "AdjustedPrices": true,
      "QueryStartDate": "2006-05-24T00:00:00.000Z",
      "QueryEndDate": "2006-07-31T00:00:00.000Z"
    }
  }
}

results:

{
    "@odata.context": "https://selectapi.datascope.refinitiv.com/RestApi/v1/$metadata#DataScope.Select.Api.Extractions.ExtractionRequests.ExtractionResult",
    "Contents": [
        {
            "IdentifierType": "Ric",
            "Identifier": "GDP",
            "File Code": null,
            "RIC": "GDP",
            "Trade Date": "2006-05-24",
            "Last Trade Price": null,
            "Universal Close Price": 24.02,
            "Alternate Close Price": null,
            "High Price": 24.7,
            "Low Price": 23.52,
            "Open Price": 24.15,
            "Volume Weighted Average Price": 24.0836,
            "Turnover": -9999401,
            "Volume": null,
            "Accumulated Volume Unscaled": 268400,
            "Bid Price": null,
            "Asset Type": "EQTY",
            "Quote ID": "0x3000000000000000",
            "Bid Yield": null,
            "Exchange Code": null,
            "Currency Code": null
        },
        {
            "IdentifierType": "Ric",
            "Identifier": "GDP",
            "File Code": null,
            "RIC": "GDP",
            "Trade Date": "2006-05-25",
            "Last Trade Price": null,
            "Universal Close Price": 24.5,
            "Alternate Close Price": null,
            "High Price": 25.1,
            "Low Price": 24.1,
            "Open Price": 24.6,
            "Volume Weighted Average Price": 24.5197,
            "Turnover": -9999401,
            "Volume": null,
            "Accumulated Volume Unscaled": 332900,
            "Bid Price": null,
            "Asset Type": "EQTY",
            "Quote ID": "0x3000000000000000",
            "Bid Yield": null,
            "Exchange Code": null,
            "Currency Code": null
        },
        {
            "IdentifierType": "Ric",
            "Identifier": "GDP",
            "File Code": null,
            "RIC": "GDP",
            "Trade Date": "2006-05-26",
            "Last Trade Price": null,
            "Universal Close Price": 24.5,
            "Alternate Close Price": null,
            "High Price": 24.65,
            "Low Price": 24.27,
            "Open Price": 24.56,
            "Volume Weighted Average Price": 24.4691,
            "Turnover": -9999401,
            "Volume": null,
            "Accumulated Volume Unscaled": 341500,
            "Bid Price": null,
            "Asset Type": "EQTY",
            "Quote ID": "0x3000000000000000",
            "Bid Yield": null,
            "Exchange Code": null,
            "Currency Code": null
        },
...


As a customer, and as an alternative to searching instruments and fields yourself, you can also refer directly to Refinitiv content experts at Refinitiv Helpdesk Online -> Content -> DSS to identify the relevant content for you, and then you can use the information for the programmatic integration via DSS HTTP REST.




dsssearch.gif (169.2 KiB)
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.

Upvotes
1 0 1 1

Hi zoya faberov

Thanks for your quick reply

but I am looking for
CPI - Consumer Price Index

GDP : Gross Domestic Product

and other Commodity prices

Wheat

Crude Oil

Sugar

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.

Upvotes
32.2k 40 11 20

Hello @stefan.beazley ,

I have opened a content inquiry on your behave, #10788431 to help you identify and address the question on content.

Please expect our content experts to reach out to you on the email address you have registered with on developers portal.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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