# Okta User count without pagination

**URL:** <https://devforum.okta.com/t/okta-user-count-without-pagination/19470>\
**Category:** Questions\
**Created:** [February 18, 2022, 9:04pm UTC](https://devforum.okta.com/t/okta-user-count-without-pagination/19470 "2022-02-18T21:04:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![schowdiah](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@schowdiah](https://devforum.okta.com/u/schowdiah)\
**Post date:** [February 18, 2022, 9:04pm UTC](https://devforum.okta.com/t/okta-user-count-without-pagination/19470/1 "2022-02-18T21:04:50Z")

</div>

I have been trying to use `api/v1/users` endpoint to get the total count of users in the database. Looks like pagination is still the only way, but I am not seeing the `link header` for the next page. The only `links` being seen is `self`, for the current item. I have attempted to inspect the 199th item. Is there any other way currently to get the count, could you please hep?

---

<div class="post-metadata">

**Author:** ![gabriel.sroka](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/gabriel.sroka/32/1292_2.png) [@gabriel.sroka](https://devforum.okta.com/u/gabriel.sroka)\
**Post date:** [December 9, 2022, 8:49pm UTC](https://devforum.okta.com/t/okta-user-count-without-pagination/19470/2 "2022-12-09T20:49:58Z")

</div>

Every user is a member of the “Everyone” group. You can find the group and see how many members it has:

```auto
GET /api/v1/groups?q=Everyone&expand=stats

```

then look at `_embedded.stats.usersCount`. see [Groups | Okta Developer](https://developer.okta.com/docs/reference/api/groups/#request-parameters-3)

---

<div class="post-metadata">

**Author:** ![nikatrewind](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@nikatrewind](https://devforum.okta.com/u/nikatrewind)\
**Post date:** [October 18, 2023, 6:29pm UTC](https://devforum.okta.com/t/okta-user-count-without-pagination/19470/3 "2023-10-18T18:29:25Z")

</div>

Hi folks!

I’m curious if this was useful, particularly in finding the total active user count for an Okta tenant.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 13, 2024, 12:12am UTC](https://devforum.okta.com/t/okta-user-count-without-pagination/19470/4 "2024-02-13T00:12:19Z")

</div>

Closed on February 13, 2024, 12:12am UTC

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