How to get the latest stable version of Firefox? How to get the latest version of firefox? This URL was found, but is there no API? I would like to get the latest version, e.g. 58.0.2 so this could be used for other purposes. Just latest is insufficient as I require the version in one of my ansible roles to lookup the checksum.



At the moment I am considering to parse https://www.mozilla.org/en-US/firefox/releases/
I pulled this from the Firefox Chef cookbook (in particular this .rb file). This an example of the request they use to get the latest version based on OS and language. 

https://download.mozilla.org/?product=firefox-latest#&amp;os=win#&amp;lang=#en-US


It adheres to the following format:

https://download.mozilla.org/?product=firefox-{VERSION_NUMBER}#&amp;os={OS_ABBREVIATION}#&amp;lang=#{LANGUAGE_ABBREVIATION}


I searched around for official api documentation, but couldn't find anything. If I do, I will post a link to it in this answer.