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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 1 0 0

How to get all currency exchange rate using REST API (from Currency, To Currency, Exchange Rate and Exchange Date ) Let me know DSS API Name to get these exchange rate

dss-rest-apidatascope-selectdssforex
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

· Write an Answer
Upvotes
Accepted
11.3k 26 9 14

@abhishek.tripathi,

To get all currency exchange rate, you need to know the instrument id providing currency exchange rate, and extract data with IntradayPricing Report template. Below is the sample OnDemand extraction request to extract intraday data for Chain RIC <WX=>, Major current cross rates and <FX=> World spot.

For more information regarding RIC name and content, I advise you to open a content-related enquiry via MyRefinitiv.

POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes
{
    "ExtractionRequest": {
        "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.IntradayPricingExtractionRequest",
        "ContentFieldNames": [
            "Bid Price",
            "Ask Price"
        ],
        "IdentifierList": {
            "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
            "InstrumentIdentifiers": [
                {
                    "IdentifierType": "ChainRIC",
                    "Identifier": "FX="
                },
                {
                    "IdentifierType": "ChainRIC",
                    "Identifier": "WX="
                }
            ],
            "ValidationOptions": null,
            "UseUserPreferencesForValidationOptions": true
        }
    }
}
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.