# How do I get a list of all users from the API?

**URL:** <https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [21.Январь.2015 09:34:11 UTC](https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261 "2015-01-21T09:34:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [04.Февраль.2016 13:26:00 UTC](https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261/8 "2016-02-04T13:26:00Z")

</div>

Whilst not immediately obvious…

It is possible to get a list of all users via the groups API endpoint available to admins.

You’ll have to iterate over the following groups:

- `trust_level_0`
- `trust_level_1`
- `trust_level_2`
- `trust_level_3`
- `trust_level_4`

But they do support both `limit` and `offset` parameters:

```plaintext
/groups/trust_level_0/members.json?limit=50&offset=50

```

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-get-a-list-of-all-users-from-the-api/24261)._
