By default, Discover returns results in a JSON format. However, you can specify a csv output format using the format query parameter in your API request.
For example, to retrieve results in CSV format, you can make a request like this:
Code
The response will be a CSV file containing the results of your query, which you can easily open in spreadsheet applications like Microsoft Excel or Google Sheets for further analysis.
All fields are flattened in the CSV output. Note that currentPosition is an array in the default (JSON) output; in CSV format, each position will be represented as a separate column (e.g. currentPosition_aggkCompanyId_9, currentPosition_companyType_9, currentPosition_name_9, etc.).
This will only work with advanced discover. The basic discover endpoints do not support the format query parameter.
