Sonar REST API - date of scanning and Coverage on the same RESTAPI

Must-share information (formatted with Markdown):

  • which versions are you using- Community Edition Version 8.3.1 (build 34397)
  • what are you trying to achieve - get coverage of overall and new code in addition to get in the same REST API the date of scanning
  • what have you tried so far to achieve this - execute NEW CODE coverage RESTAPI- but this contain the date of the base period and I need the last time of scanning

execute for OVERALL coverage RESTAPI -

but again in this API - I have no date of scanning


You may want to use API GET api/measures/search_history
i.e something like



Thanks Eric , regarding overall code - U r right? but what about new code ?

Hi miri saidon

Even I’m looking for a RestApi which will give latest scan timestamp or date with the required attributes, Can you please share it if you find it?

Thanks & Regards,

Hey @Karthik

Instead of bumping an old thread, I invite you to open a new thread with specifics about what data you’re looking for.

I’d also encourage you to read this guide.

I will close this thread.