Stack Overflow hub

Stack Overflow User Tags API

How much one user asks and answers under each tag, with counts and total scores.

GET /v1/stack-overflow/users/{memberId}/tags

1 credit Failed requests are free

About this endpoint

GET /v1/stack-overflow/users/{memberId}/tags returns the tags a user posts under, most active first. Each row has tag, questionCount and questionScore for questions the user asked with the tag, and answerCount and answerScore for answers the user gave on questions with it.

The route is useful for a skills profile or for matching a user to a topic. Page with page.nextCursor while page.hasMore is true. A user with no tag activity is found with an empty list; a user id that does not exist is not_found.

Stack Overflow User Tags API FAQ

What do the four counts mean?

questionCount and questionScore cover questions the user asked with the tag. answerCount and answerScore cover answers the user gave on questions that carry it.

How many credits does a page cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth. Each paginated page is a separate billed request.

Is the list sorted?

Yes, most active first. Use the counts to see whether the activity is mostly questions or answers.

How is an empty list different from not_found?

A real user with no tag activity is lookupStatus found with data.tags empty. A user id that does not exist is lookupStatus not_found.