Type question
Discussion
This type is heavily inspired by the question page itself, and can optionally return comments and answers accordingly.
The upvoted, downvoted, and favorited fields can only be queried for with an access_token with the private_info scope.
Fields
answer_count
integer
body_markdown 2.2
string
can_answer 2.3
boolean
can_close 2.2
boolean
can_comment 2.3
boolean
can_edit 2.3
boolean
can_flag 2.2
boolean
can_suggest_edit 2.3
boolean
close_vote_count 2.1
integer
comment_count 2.2
integer
content_license 2.2
string
delete_vote_count 2.1
integer
down_vote_count
integer
downvoted 2.2
boolean
private_info
favorite_count
integer
favorited 2.2
boolean
private_info
is_answered
boolean
reopen_vote_count 2.1
integer
score
integer
tags
an array of strings
title
string
up_vote_count
integer
upvoted 2.2
boolean
private_info
view_count
integer
Fields marked with are included in the default filter, those marked with are excluded in the default filter.
Examples
► Typical Question
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"answer_count":0,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Answered Question
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":true,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"answer_count":1,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Question With Accepted Answer
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":true,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"accepted_answer_id":2,"answer_count":1,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Closed Question
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"closed_date":1732165694,"answer_count":0,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","closed_reason":"not a real question","title":"An example post title","body":"An example post body"}
► Locked Question
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"answer_count":0,"score":1,"locked_date":1732169294,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Bountied Question
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"bounty_amount":500,"bounty_closes_date":1732525694,"answer_count":0,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Community Owned Question
{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"answer_count":0,"community_owned_date":1732176494,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Question Migrated From Other Site
{"migrated_from":{"other_site":{"launch_date":1732180094,"open_beta_date":1732093694,"closed_beta_date":1732007294,"site_state":"normal","icon_url":"https://cdn.sstatic.net/stackexchange/Img/apple-touch-icon.png","audience":"example lovers","site_url":"https://example.stackexchange.com","api_site_parameter":"example","logo_url":"https://cdn.sstatic.net/stackexchange/Img/logo.png","name":"Example Site","site_type":"main_site"},"on_date":1732097294,"question_id":4321},"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"answer_count":0,"score":1,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","title":"An example post title","body":"An example post body"}
► Question Migrated To Other Site
{"migrated_to":{"other_site":{"launch_date":1732180094,"open_beta_date":1732093694,"closed_beta_date":1732007294,"site_state":"normal","icon_url":"https://cdn.sstatic.net/stackexchange/Img/apple-touch-icon.png","audience":"example lovers","site_url":"https://example.stackexchange.com","api_site_parameter":"example","logo_url":"https://cdn.sstatic.net/stackexchange/Img/logo.png","name":"Example Site","site_type":"main_site"},"on_date":1732165694,"question_id":4321},"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"is_answered":false,"view_count":31415,"favorite_count":1,"down_vote_count":2,"up_vote_count":3,"closed_date":1732165694,"answer_count":0,"score":1,"locked_date":1732165694,"last_activity_date":1732136894,"creation_date":1732093694,"last_edit_date":1732162094,"question_id":1234,"link":"https://example.stackexchange.com/questions/1234/an-example-post-title","closed_reason":"off topic","title":"An example post title","body":"An example post body"}
Methods That Return This Type
answers/{ids}/questions 2.2
articles/{ids}/linked 2.3
collectives/{slugs}/questions 2.3
questions
questions/{ids}
questions/{ids}/linked
questions/{ids}/related
questions/unanswered
questions/unanswered/my-tags 2.2
questions/no-answers
questions/featured
questions/render 2.2
questions/{id}/flags/add 2.2
questions/{id}/favorite 2.2
questions/{id}/favorite/undo 2.2
questions/{id}/downvote/undo 2.2
questions/{id}/downvote 2.2
questions/{id}/upvote/undo 2.2
questions/{id}/upvote 2.2
questions/{id}/delete 2.2
questions/{id}/edit 2.2
questions/add 2.2
search/advanced 2.1
search
similar
tags/{tags}/faq
users/{ids}/favorites
users/{ids}/questions
users/{ids}/questions/no-answers
users/{ids}/questions/unaccepted
users/{ids}/questions/unanswered
users/{ids}/questions/featured
users/{id}/tags/{tags}/top-questions
me/favorites
me/questions
me/questions/no-answers
me/questions/unaccepted
me/questions/unanswered
me/questions/featured
me/tags/{tags}/top-questions
articles/{ids}/linked 2.3
collectives/{slugs}/questions 2.3
questions
questions/{ids}
questions/{ids}/linked
questions/{ids}/related
questions/unanswered
questions/unanswered/my-tags 2.2
questions/no-answers
questions/featured
questions/render 2.2
questions/{id}/flags/add 2.2
questions/{id}/favorite 2.2
questions/{id}/favorite/undo 2.2
questions/{id}/downvote/undo 2.2
questions/{id}/downvote 2.2
questions/{id}/upvote/undo 2.2
questions/{id}/upvote 2.2
questions/{id}/delete 2.2
questions/{id}/edit 2.2
questions/add 2.2
search/advanced 2.1
search
similar
tags/{tags}/faq
users/{ids}/favorites
users/{ids}/questions
users/{ids}/questions/no-answers
users/{ids}/questions/unaccepted
users/{ids}/questions/unanswered
users/{ids}/questions/featured
users/{id}/tags/{tags}/top-questions
me/favorites
me/questions
me/questions/no-answers
me/questions/unaccepted
me/questions/unanswered
me/questions/featured
me/tags/{tags}/top-questions