How to see an overview of the download statistics of all modules on drupal.org?
You can get information about a particular module in both XML and JSON format by accessing URL:

Eg: (For Views Module) :

XML format:

https://www.drupal.org/api-d7/node.xml?field_project_machine_name=views

JSON format:

https://www.drupal.org/api-d7/node.json?field_project_machine_name=views



Reference: https://www.drupal.org/api