# Access to stats via API?

**URL:** <https://meta.discourse.org/t/access-to-stats-via-api/62418>\
**Category:** Product Support\
**Created:** [10.Май.2017 12:49:00 UTC](https://meta.discourse.org/t/access-to-stats-via-api/62418 "2017-05-10T12:49:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jerdog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerdog/32/122843_2.png) [@jerdog](https://meta.discourse.org/u/jerdog)\
**Post date:** [09.Февраль.2018 23:26:43 UTC](https://meta.discourse.org/t/access-to-stats-via-api/62418/5 "2018-02-09T23:26:43Z")

</div>

This endpoint is good, but not seeing any others being exposed, or at least Docs doesn’t reveal them.

Does anyone know if any others are exposed? I am thinking a lot of us, or at least some of us, have organizations which keep a data warehouse with stats and being able to access reports via the API would be helpful for them.

Edit: any of the reports from the Dashboard can be viewed in json format by just appending `.json` to the URL, i.e. `/admin/reports/visits.json` - and that’s helpful. However there isn’t a way that I have found to allow you to set the timeframe for the data.

Edit2: and it looks like you can get some customised timeframes ala `/admin/reports/visits.json?category_id=all&end_date=2018-02-08&start_date=2018-01-01` but you do have to adjust the timeframe in the report first to then get the fields you can update

---

_[View the full topic](https://meta.discourse.org/t/access-to-stats-via-api/62418)._
