Get several Stack Overflow users
Get up to 100 Stack Overflow users in one call, by id.
Headers
Get your API keyAPI key (`sfk_...`)
User ids, comma-separated, 1 to 100, e.g. `22656,1144035`. Duplicates are dropped. `-1` is the Community user.
Stack Exchange site, by its API name (`askubuntu`, `serverfault`, `math`, `ru.stackoverflow`). Default: `stackoverflow`. The sites endpoint lists them all.
Endpoint-specific response payload.
The Stack Exchange site the users belong to.
One entry per distinct requested id, in the order first asked. Duplicates are dropped.
The user id that was asked for.
Whether the item was found.
one of: found, not_found
The user when found; otherwise null.
User id on this site.
Network-wide account id.
Display name.
Profile URL.
Avatar URL.
Kind of account.
one of: registered, moderator, unregistered, does_not_exist, team_admin, null
Reputation on this site.
Reputation gained over recent periods.
Change today.
Change this week.
Change this month.
Change this quarter.
Change this year.
Badge counts.
Gold badges.
Silver badges.
Bronze badges.
Accept rate in percent; null when not shown.
The location the user chose to show; null when empty.
The website the user chose to show; null when empty.
The profile text the user wrote, as HTML; null when empty or not asked for.
When the account joined this site, ISO 8601 UTC.
Last visit, ISO 8601 UTC.
Last change to the profile, ISO 8601 UTC; null when not shown.
Questions asked.
Answers given.
Profile views.
Votes the user has cast.
Upvotes cast.
Downvotes cast.
Whether the user works for Stack Exchange.
Collectives the user belongs to.
Collective slug.
Collective name.
Collective page.
What the collective is.
Tags the collective covers.
The user's role in it, e.g. `member`.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/stack-overflow/users/batch?ids=22656,6309" \
-H "x-api-key: YOUR_API_KEY"Responses
User batch.