# How to reliably & programmatically get the latest version number of Discourse?

**URL:** https://meta.discourse.org/t/how-to-reliably-programmatically-get-the-latest-version-number-of-discourse/388336
**Category:** Development
**Created:** [November 13, 2025, 2:23am UTC](https://meta.discourse.org/t/how-to-reliably-programmatically-get-the-latest-version-number-of-discourse/388336 "2025-11-13T02:23:56Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![FelicianoTech](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/felicianotech/32/120007_2.png) [@FelicianoTech](https://meta.discourse.org/u/FelicianoTech)
#### Post date: [November 14, 2025, 10:17pm UTC](https://meta.discourse.org/t/how-to-reliably-programmatically-get-the-latest-version-number-of-discourse/388336/9 "2025-11-14T22:17:26Z")

</div>

> [@RGJ](#):
>
> You can use the version check that’s in the [Discourse code](https://github.com/discourse/discourse/blob/main/lib/discourse_hub.rb#L6-L15).
> 
> `https://api.discourse.org/api/version_check?installed_version=X`

This. This is exactly what I was looking for but my Google-fu was failing me. Thank you!

This API shows v3.6.0 beta 2 as the latest (the as GitHub tags) and not beta 3 which is what my forum is running. I don’t understand how that happen but that’s a different problem. 😆

Thank you for the help.

---

_[View the full topic](https://meta.discourse.org/t/how-to-reliably-programmatically-get-the-latest-version-number-of-discourse/388336)._
