Get Stack Overflow user
Get a Stack Overflow user's profile: reputation, badges, activity counts, location, website and profile text.
Headers
Get your API keyAPI key (`sfk_...`)
User id on the chosen site, e.g. `22656`. `-1` is the Community user.
≥ -1 · ≤ 2147483647
Stack Exchange site, by its API name (`askubuntu`, `serverfault`, `math`, `ru.stackoverflow`). Default: `stackoverflow`. The sites endpoint lists them all.
Endpoint-specific response payload.
`not_found` when no user has this id on the site.
one of: found, not_found
The Stack Exchange site the user belongs to.
The user when `lookupStatus` is `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/22656" \
-H "x-api-key: YOUR_API_KEY"Responses
User.