CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 17:53:21 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=26724333-0f60-4ac5-bcf5-2a82d9535c5f; expires=Sat, 25 Jul 2026 17:53:21 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: f1bdb070-765d-48b4-a5a4-dda922b8b047
x-providence-cookie: 26724333-0f60-4ac5-bcf5-2a82d9535c5f
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=m4PM9Qvk7t2rbSkCEYEqhepYK.n4Bfw_IU9iWgHI9Mk-1753466001-1.0.1.1-WtUpVrl1G6qyeKh_ophSOWeEJmk0mpwlqa80ch4WC8Su4KOzgh5T5eMoS0oJNxP7Zr_u1JXIPVCyok2znvmuROHxix.beix7lGLWSyDMFKw; path=/; expires=Fri, 25-Jul-25 18:23:21 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo48TxThGEuJhKkp; SameSite=None; Secure; path=/; expires=Sat, 26-Jul-25 16:53:21 GMT; HttpOnly
set-cookie: _cfuvid=VvSq5vVEs9Qx1GZL8IJN6I8b9dGJQJqBMBIfKkrGwBM-1753466001881-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 964d842d6b858a2a-BLR
content-encoding: gzip
question -
Stack Exchange API
Type question
Discussion
This type represents a question on one of the Stack Exchange sites, such as this famous RegEx question.
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":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753451601,"answer_count":0,"score":1,"last_activity_date":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753455201,"last_activity_date":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753811601,"answer_count":0,"score":1,"last_activity_date":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753462401,"score":1,"last_activity_date":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753466001,"open_beta_date":1753379601,"closed_beta_date":1753293201,"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":1753383201,"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":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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":1753466001,"open_beta_date":1753379601,"closed_beta_date":1753293201,"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":1753451601,"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":1753451601,"answer_count":0,"score":1,"locked_date":1753451601,"last_activity_date":1753422801,"creation_date":1753379601,"last_edit_date":1753448001,"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
about blog terms of use contact us feedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed under CC BY-SA