Response Format

JSON vs CSV Response

The API supports JSON and CSV return formats. The default return format is JSON. JSON is generally easier to work with in code, while CSV is more suitable for downloading the data to a spreadsheet or other data analysis tools.

You can specify the return format by adding the return_format query parameter to your request. For example, to get the data in CSV format, you would add ?return_format=csv to the end of your request.

JSON

There are two JSON return formats: array_of_objects and array_of_arrays. The array_of_objects format is the default format. The array_of_arrays format is useful for minimizing the size of the response.

CSV

The CSV return format is useful for downloading the data to a spreadsheet.

Last updated

Was this helpful?