Changing from API to and excel sheet

Is there some way to convert from an API to an Excel file?