Usage of /users/{ids} GET

Discussion

Gets the users identified in ids in {ids}.

Typically this method will be called to fetch user profiles when you have obtained user ids from some other source, such as /questions.

{ids} can contain up to 100 semicolon-delimited numeric user IDs. To find IDs programmatically, look for user_id on user or shallow_user objects.

In version 2.3 and later, {ids} can instead contain one username or up to 100 semicolon-delimited usernames. Usernames resolve on the site specified by site. Each list must contain only numeric IDs or only usernames.

The sorts accepted by this method operate on the following fields of the user object:

  • reputation – reputation
  • creation – creation_date
  • name – display_name
  • modified – last_modified_date
reputation is the default sort.

It is possible to create moderately complex queries using sort, min, max, fromdate, and todate.

This method returns a list of users.

Try It

Team slug:
Access token:
https://stackoverflowteams.com