Stack Overflow / Stack Exchange official API v2.3 full public read surface
Stack Overflow / Stack Exchange official API v2.3 full public read surface
/stackoverflow/v1/questions1 creditPaginated questions by sort/tag; returns score, tags, body, owner/link attribution.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| tag | optional | — | Optional tag filter (one tag, or several joined by ';' for AND). |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/question1 creditSingle question by id plus paginated answers.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Question id (or semicolon/comma-joined ids for batch routes). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/answers1 creditAnswer details by id/ids, or recent answers when no id is supplied.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | optional | — | Optional answer id(s) joined by ';'/','; omit for recent answers. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user1 creditUser profile by id/ids.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Stack Exchange user id (or several joined by ';' or ','). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
/stackoverflow/v1/user_questions1 creditPaginated questions for a user.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Stack Exchange user id (or several joined by ';' or ','). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_answers1 creditPaginated answers for a user.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Stack Exchange user id (or several joined by ';' or ','). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_badges1 creditPaginated badges for a user.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Stack Exchange user id (or several joined by ';' or ','). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
/stackoverflow/v1/search2 creditsAdvanced full-text/tag search, paginated.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| q | required | — | Free-text search query (matched against title and body). |
| tag | optional | — | Optional tag filter (one tag, or several joined by ';' for AND). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/tag_questions1 creditPaginated questions for a tag.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| tag | required | — | Exact tag name (e.g. 'python', 'c++'). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/tag_info1 creditTag info by tag name.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| tag | required | — | Exact tag name (e.g. 'python', 'c++'). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
/stackoverflow/v1/comments1 creditPaginated comments for post id/ids.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Post/answer/comment id (or several joined by ';' or ','). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/answer_comments1 creditOfficial Stack Exchange API route `/answers/{ids}/comments`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/answer_questions1 creditOfficial Stack Exchange API route `/answers/{ids}/questions`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/badges1 creditOfficial Stack Exchange API route `/badges`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/badge1 creditOfficial Stack Exchange API route `/badges/{ids}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/badge_name1 creditOfficial Stack Exchange API route `/badges/name`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/badge_recipients1 creditOfficial Stack Exchange API route `/badges/recipients`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/badge_recipients_by_ids1 creditOfficial Stack Exchange API route `/badges/{ids}/recipients`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/collectives1 creditOfficial Stack Exchange API route `/collectives`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/collective1 creditOfficial Stack Exchange API route `/collectives/{slugs}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| slugs | required | — | Stack Overflow Collective identifier (e.g. 'cloudflare'); join several with ';'. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/collective_questions1 creditOfficial Stack Exchange API route `/collectives/{slugs}/questions`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| slugs | required | — | Stack Overflow Collective identifier (e.g. 'cloudflare'); join several with ';'. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/collective_answers1 creditOfficial Stack Exchange API route `/collectives/{slugs}/answers`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| slugs | required | — | Stack Overflow Collective identifier (e.g. 'cloudflare'); join several with ';'. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/collective_users1 creditOfficial Stack Exchange API route `/collectives/{slugs}/users`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| slugs | required | — | Stack Overflow Collective identifier (e.g. 'cloudflare'); join several with ';'. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/comments_all1 creditOfficial Stack Exchange API route `/comments`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/comment1 creditOfficial Stack Exchange API route `/comments/{ids}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/infofreeOfficial Stack Exchange API route `/info`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
/stackoverflow/v1/posts1 creditOfficial Stack Exchange API route `/posts`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/post1 creditOfficial Stack Exchange API route `/posts/{ids}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/post_comments1 creditOfficial Stack Exchange API route `/posts/{ids}/comments`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/post_revisions1 creditOfficial Stack Exchange API route `/posts/{ids}/revisions`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/post_suggested_edits1 creditOfficial Stack Exchange API route `/posts/{ids}/suggested-edits`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/privilegesfreeOfficial Stack Exchange API route `/privileges`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/question_answers1 creditOfficial Stack Exchange API route `/questions/{ids}/answers`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/question_comments1 creditOfficial Stack Exchange API route `/questions/{ids}/comments`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/question_linked1 creditOfficial Stack Exchange API route `/questions/{ids}/linked`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/question_timeline1 creditOfficial Stack Exchange API route `/questions/{ids}/timeline`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/questions_featured1 creditOfficial Stack Exchange API route `/questions/featured`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/questions_no_answers1 creditOfficial Stack Exchange API route `/questions/no-answers`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/questions_unanswered1 creditOfficial Stack Exchange API route `/questions/unanswered`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/revisions1 creditOfficial Stack Exchange API route `/revisions/{ids}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/search_simple1 creditOfficial Stack Exchange API route `/search`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| intitle | required | — | Text that must appear in the question title. |
| tag | optional | — | Optional tag filter (one tag, or several joined by ';' for AND). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/similar2 creditsOfficial Stack Exchange API route `/similar`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| title | required | — | Title text to find similar/duplicate questions for. |
| tag | optional | — | Optional tag filter (one tag, or several joined by ';' for AND). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/search_excerpts2 creditsOfficial Stack Exchange API route `/search/excerpts`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| q | required | — | Free-text search query (matched against title and body). |
| tag | optional | — | Optional tag filter (one tag, or several joined by ';' for AND). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/suggested_edits1 creditOfficial Stack Exchange API route `/suggested-edits`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/suggested_edit1 creditOfficial Stack Exchange API route `/suggested-edits/{ids}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/tag_synonyms1 creditOfficial Stack Exchange API route `/tags/synonyms`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/tag_faq1 creditOfficial Stack Exchange API route `/tags/{tags}/faq`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| tags | required | — | Tag name(s) for this route (e.g. 'python'); join several with ';'. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/tag_top_answerers1 creditOfficial Stack Exchange API route `/tags/{tag}/top-answerers/{period}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| tag | required | — | Exact tag name (e.g. 'python', 'c++'). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| period = all_time | optional | all_time · month | Time window for top-answerers/top-askers routes (all_time or month). |
/stackoverflow/v1/tag_top_askers1 creditOfficial Stack Exchange API route `/tags/{tag}/top-askers/{period}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| tag | required | — | Exact tag name (e.g. 'python', 'c++'). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| period = all_time | optional | all_time · month | Time window for top-answerers/top-askers routes (all_time or month). |
/stackoverflow/v1/tag_wikis1 creditOfficial Stack Exchange API route `/tags/{tags}/wikis`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| tags | required | — | Tag name(s) for this route (e.g. 'python'); join several with ';'. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/users1 creditOfficial Stack Exchange API route `/users`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/user_comments1 creditOfficial Stack Exchange API route `/users/{ids}/comments`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/user_comments_to_user1 creditOfficial Stack Exchange API route `/users/{ids}/comments/{toid}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| toid | required | — | Recipient user id (the 'to' user for directed comments). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/user_favorites1 creditOfficial Stack Exchange API route `/users/{ids}/favorites`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_mentioned1 creditOfficial Stack Exchange API route `/users/{ids}/mentioned`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/user_network_activity1 creditOfficial Stack Exchange API route `/users/{id}/network-activity`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Single target id for this route (user/error id as applicable). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/user_notifications1 creditOfficial Stack Exchange API route `/users/{id}/notifications`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Single target id for this route (user/error id as applicable). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/user_unread_notifications1 creditOfficial Stack Exchange API route `/users/{id}/notifications/unread`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Single target id for this route (user/error id as applicable). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/user_posts1 creditOfficial Stack Exchange API route `/users/{ids}/posts`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_privileges1 creditOfficial Stack Exchange API route `/users/{id}/privileges`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Single target id for this route (user/error id as applicable). |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/user_questions_featured1 creditOfficial Stack Exchange API route `/users/{ids}/questions/featured`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_questions_no_answers1 creditOfficial Stack Exchange API route `/users/{ids}/questions/no-answers`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_questions_unaccepted1 creditOfficial Stack Exchange API route `/users/{ids}/questions/unaccepted`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_questions_unanswered1 creditOfficial Stack Exchange API route `/users/{ids}/questions/unanswered`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/user_reputation1 creditOfficial Stack Exchange API route `/users/{ids}/reputation`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/user_reputation_history1 creditOfficial Stack Exchange API route `/users/{ids}/reputation-history`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/user_suggested_edits1 creditOfficial Stack Exchange API route `/users/{ids}/suggested-edits`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/user_timeline1 creditOfficial Stack Exchange API route `/users/{ids}/timeline`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/moderators1 creditOfficial Stack Exchange API route `/users/moderators`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/elected_moderators1 creditOfficial Stack Exchange API route `/users/moderators/elected`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| site = stackoverflow | optional | — | Stack Exchange site slug (e.g. stackoverflow, serverfault, superuser, askubuntu, math). Defaults to stackoverflow. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/access_token_invalidate1 creditOfficial Stack Exchange API route `/access-tokens/{accessTokens}/invalidate`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| accessTokens | required | — | One or more access tokens joined by ';'. |
/stackoverflow/v1/access_token1 creditOfficial Stack Exchange API route `/access-tokens/{accessTokens}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| accessTokens | required | — | One or more access tokens joined by ';'. |
/stackoverflow/v1/app_deauth1 creditOfficial Stack Exchange API route `/apps/{accessTokens}/de-authenticate`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| accessTokens | required | — | One or more access tokens joined by ';'. |
/stackoverflow/v1/errorsfreeOfficial Stack Exchange API route `/errors`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/error1 creditOfficial Stack Exchange API route `/errors/{id}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| id | required | — | Single target id for this route (user/error id as applicable). |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/filter_create1 creditOfficial Stack Exchange API route `/filters/create`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| filter | optional | — | Stack Exchange filter id controlling which fields are returned (e.g. 'withbody' to include rendered post bodies). Default withbody. |
/stackoverflow/v1/filter1 creditOfficial Stack Exchange API route `/filters/{filters}`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| filters | required | — | Filter id(s) to inspect, joined by ';'. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/sitesfreeOfficial Stack Exchange API route `/sites`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
| sort | optional | activity · creation · votes · relevance · popular · rank · reputation · name · hot · week · month | Sort key. Valid keys depend on the endpoint (e.g. votes/activity/creation for questions, reputation for users, rank for badges); common keys shown, others pass through to Stack Exchange. |
/stackoverflow/v1/associated_users1 creditOfficial Stack Exchange API route `/users/{ids}/associated`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
/stackoverflow/v1/merge_history1 creditOfficial Stack Exchange API route `/users/{ids}/merges`.
| Parameter | Allowed / range | Description | |
|---|---|---|---|
| ids | required | — | Target id(s) for this route (question/answer/comment/badge/user as applicable); join several with ';' or ','. |
| page = 1 | optional | 1– | 1-based page number. Page forward with meta.next_page. |
| pagesize = 100 | optional | 1–100 | Results per page (1-100, default 100). Larger values are clamped to 100. |
| order = desc | optional | desc · asc | Sort direction for the chosen sort key. |
curl -X POST https://api.reefapi.com/stackoverflow/v1/questions \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"sort":"votes"}'{
"ok": true,
"data": { /* the result */ },
"meta": {
"latency_ms": 240,
"record_count": 12,
"completeness_pct": 100
},
"error": null
}