Option to download a sonarcloud scanned report

Hi Team,

I’m looking for an option to download scan results for all the projects with in SonarCloud. Is there any option (or) a way to download the report for all the scanned results?

This is for management visibility and work with developers to resolve the scanned issues.

A quick response is much appreciated in this regard.


Also, it would be nice to have a feature to select results of specific branch from multiple branches of same project

Also, is there any API from where we can pull reports for all the projects and their respective branches information such as code smells, vulnerabilities and so on…?

If yes, please provide the API URL and required parameters to pull the data.

There used to be an API link at the bottom of the SonarCloud pages … it is now in the top right corner under the help icon.

SonarQube used to have an option for a PDF report, but that was a very long time ago. I do not think SonarCloud ever got this option. Something I have considered looking into is to use something like selenium to automate the generation of reports to send weekly/monthly, but the UI tends to change so it would be quite a bit of upkeep to do.

Your best bet is to use the API and generate your own reports: https://sonarcloud.io/web_api

1 Like

I see currently sonarcloud proivdes API’s( GET api/project_branches/list) for individual projects. I’m not sure If it does have an API which can pull information(code smells, vulnerabilities and so on) for all the projects that I have created.


Have you tried this via the UI? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.



Wen you say UI, do you mean inspecting the API calls via developer console logs? Yes, I did that, I do not find any specific API which can fetch information(code smells, vulnerabilities and so on) for all the projects. If you know anything, please provide the steps.


You’ll need to build your report manually with data you retrieve from the APIs. You should find the data you want in the UI and then see what calls were used to fetch that data.