# API - Get count of latest

**URL:** <https://meta.discourse.org/t/api-get-count-of-latest/91580>\
**Category:** Product Support\
**Created:** [July 4, 2018, 5:28pm UTC](https://meta.discourse.org/t/api-get-count-of-latest/91580 "2018-07-04T17:28:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rbrlortie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rbrlortie/32/166740_2.png) [@rbrlortie](https://meta.discourse.org/u/rbrlortie)\
**Post date:** [July 4, 2018, 5:28pm UTC](https://meta.discourse.org/t/api-get-count-of-latest/91580/1 "2018-07-04T17:28:16Z")

</div>

Hi,

We need to display statistics about our Discourse instance on our main website.

We managed to display the total number of posts (call site.json, loop categories and addition all topic\_count together).

However, we can’t seem to find a way to get the latest post amount.

Is there a way that we missed? Some helpful API call that would return only the latest (24h but we can settle for 48h) content?

Thanks,

---

_[View the full topic](https://meta.discourse.org/t/api-get-count-of-latest/91580)._
