@chandan.bhaskar0
You can use the /Extractions/ExtractRaw endpoint to extract data in CSV format.
When the extraction is complete, you will get a JobID.
Then, you can use the JobID with the /Extractions/RawExtractionResults('<job id>')/$value endpoint to download a CSV file.
I hope that this information is of help.
Thanks for reaching out to us.
Is it for an on-demand extraction or a scheduled extraction?
If it is a scheduled extraction, you can specify it when creating a report template.
If it is an on-demand extraction, please share the request message that you are using.
Typically, if you use the /Extractions/ExtractWithNotes endpoint, the output will be in JSON format. If you use the /Extractions/ExtractRaw endpoint, the output will be in CSV.
I am using the below end point for my on demand price history extarction
https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractWithNotes