Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get My Top Question Tags
STACK_EXCHANGE_GET_MY_TOP_QUESTION_TAGSTool to retrieve the authenticated user's top 30 tags by question score on a Stack Exchange site. Use when you need to analyze which tags the user has the most expertise in based on their question activity.
Get My Top Tags
STACK_EXCHANGE_GET_MY_TOP_TAGSTool to retrieve the authenticated user's top 30 tags by combined question and answer score on a Stack Exchange site. Use when you need to discover the user's areas of expertise based on their participation in specific topics.
Get My Unaccepted Questions
STACK_EXCHANGE_GET_MY_UNACCEPTED_QUESTIONSTool to retrieve questions owned by the authenticated user that have no accepted answer. Use when you need to find the user's unresolved questions or track which questions still need an accepted answer.
Get My Unanswered Questions
STACK_EXCHANGE_GET_MY_UNANSWERED_QUESTIONSTool to retrieve questions owned by the authenticated user that are not considered answered. Use when you need to find the user's unanswered questions on a Stack Exchange site.
Get Post Comments
STACK_EXCHANGE_GET_POST_COMMENTSTool to retrieve comments on posts identified by IDs, regardless of post type (question or answer). Use when you have post IDs from users or other sources but are unsure of the specific post type. If you know the post is a question, use get_question_comments; if you know it's an answer, use get_answer_comments. This method handles both cases and accepts up to 100 semicolon-delimited post IDs.
Get Posts By IDs
STACK_EXCHANGE_GET_POSTS_BY_IDSTool to retrieve a set of posts by their IDs from a Stack Exchange site. Use when grabbing an object when unsure whether an ID identifies a question or an answer (commonly with user-entered data). Accepts up to 100 semicolon-delimited IDs.
Get Post Suggested Edits
STACK_EXCHANGE_GET_POST_SUGGESTED_EDITSTool to retrieve suggested edits on posts from a Stack Exchange site. Use when you need to fetch pending or historical suggested edits for specific posts by their IDs (up to 100 semicolon-delimited post IDs). Supports sorting by creation, approval, or rejection dates, and filtering by date ranges.
Get Question Answers
STACK_EXCHANGE_GET_QUESTION_ANSWERSTool to retrieve all answers for a set of questions identified by their IDs. Use when you have specific question IDs and need to fetch all answers for those questions (up to 100 semicolon-delimited question IDs). Most useful for polling for new or updated answers (with sort=activity).
Get Question Close Options
STACK_EXCHANGE_GET_QUESTION_CLOSE_OPTIONSTool to fetch flag options that make up close reasons for a specific question. Returns close options that the authenticated user can create for the question. Available flags vary from post to post and user to user.
Get Question Comments
STACK_EXCHANGE_GET_QUESTION_COMMENTSTool to retrieve comments on a set of questions from Stack Exchange. Use when you have question IDs and need to fetch their associated comments. If you know you have an answer ID instead, use the answers endpoint. If unsure whether you have an answer or question ID, use the posts endpoint. Supports filtering by date range, sorting by creation date or votes, and pagination. Returns comment metadata including body, score, owner details, and timestamps.
Get Question Flag Options
STACK_EXCHANGE_GET_QUESTION_FLAG_OPTIONSTool to fetch valid flag options, including close reasons, for a specific question. Returns flags that the authenticated user can create for the question. Available flags vary from post to post and user to user.
Get Questions
STACK_EXCHANGE_GET_QUESTIONSTool to retrieve a list of questions from a Stack Exchange site without requiring tags or keywords. Use when you need to list newest questions overall, most voted questions, or apply date filters across the entire site corpus.
Get Questions By Answer IDs
STACK_EXCHANGE_GET_QUESTIONS_BY_ANSWER_IDSTool to retrieve questions that specific answers belong to on a Stack Exchange site. Use when you have answer IDs and need to find the parent questions they were posted on.
Get Questions By IDs
STACK_EXCHANGE_GET_QUESTIONS_BY_IDSTool to retrieve a set of questions by their IDs from a Stack Exchange site. Use when you need to fetch specific questions by ID (up to 100 semicolon-delimited IDs) for fresh data or polling changes. Supports filtering by date, sorting by activity/creation/votes, and pagination.
Get Question Timeline
STACK_EXCHANGE_GET_QUESTION_TIMELINETool to retrieve timeline events for specified questions on a Stack Exchange site. Use when you need to see the history of events (votes, comments, edits, etc.) that have happened to questions. Voting data is scrubbed to prevent voter identification.
Get Related Tags
STACK_EXCHANGE_GET_RELATED_TAGSTool to retrieve tags most related to the specified tags on a Stack Exchange site. Use when you need to find related or similar tags. Including multiple tags is equivalent to asking for 'tags related to tag #1 and tag #2' (AND logic, not OR).
Get Revisions By IDs
STACK_EXCHANGE_GET_REVISIONS_BY_IDSTool to retrieve revisions for specific posts by their IDs. Use when you need to examine the edit history of posts by providing semicolon-delimited IDs.
Search Questions
STACK_EXCHANGE_GET_SEARCH_RESULTSTool to search the site for questions meeting certain criteria. Use after defining tags or keywords to locate relevant questions. At least one of 'tagged' or 'intitle' must be set. Monitor `quota_remaining` in responses when paginating to avoid exhausting API quota.
Get Site Info
STACK_EXCHANGE_GET_SITE_INFOTool to retrieve comprehensive statistics and information about a Stack Exchange site. Returns data including site customization details, related sites, aggregate statistics (total questions, answers, users, votes), activity rates (questions/answers per minute), and metadata. Use this to discover site-specific information, aggregate statistics, and configuration details. This data is heavily cached; query sparingly (ideally no more than once per hour).
Get Sites
STACK_EXCHANGE_GET_SITESRetrieves a comprehensive list of all Stack Exchange network sites with detailed information including site names, URLs, styling, and api_site_parameter values needed for other API calls. Use this to discover available sites (Stack Overflow, Math, Gaming, etc.) and get their API identifiers before making site-specific queries. Responses include has_more field; increment page until has_more=false to retrieve all sites.