# API for engaged users

**URL:** https://meta.discourse.org/t/api-for-engaged-users/308987
**Category:** Development
**Tags:** rest-api
**Created:** [May 22, 2024, 10:43am UTC](https://meta.discourse.org/t/api-for-engaged-users/308987 "2024-05-22T10:43:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jakob\_Schumacher](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@Jakob\_Schumacher](https://meta.discourse.org/u/Jakob_Schumacher)
#### Post date: [May 22, 2024, 10:43am UTC](https://meta.discourse.org/t/api-for-engaged-users/308987/1 "2024-05-22T10:43:27Z")

</div>

Hi,  
I would like to make a report with the software R about our instance of discourse. For this I use the API with a read-only key. I am able to query {baseurl}admin/users/list/active.json for example. But I cant find a link where I can get the information of “daily engaged users” or “page views”. Can anybody point me in the right direction?  
Thanks

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [May 22, 2024, 11:10am UTC](https://meta.discourse.org/t/api-for-engaged-users/308987/2 "2024-05-22T11:10:43Z")

</div>

Hi @Jakob_Schumacher - welcome to Discourse Meta 👋 🙂

If you are logged in as admin, you can basically add `.json` to any page - for example:

`https://example-forum.org/admin/reports/daily_engaged_users.json`

`https://example-forum.org/admin/reports/page_view_total_reqs.json?end_date=2024-05-22&start_date=2024-04-22`

**[More links to info on using Discourse REST API](https://meta.discourse.org/t/how-to-get-posts-viewed-by-a-user-via-apis/296028/2)**

---

<div class="post-metadata">

### Author: ![Jakob\_Schumacher](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@Jakob\_Schumacher](https://meta.discourse.org/u/Jakob_Schumacher)
#### Post date: [May 23, 2024, 9:10am UTC](https://meta.discourse.org/t/api-for-engaged-users/308987/3 "2024-05-23T09:10:37Z")

</div>

That works perfectly! Thanks a lot

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 22, 2024, 9:10am UTC](https://meta.discourse.org/t/api-for-engaged-users/308987/4 "2024-06-22T09:10:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
