CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 12:22:55 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=d83a4d6b-d4a5-4e9e-9ae2-399e58046353; expires=Mon, 27 Jul 2026 12:22:55 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: b4cbce4a-7c56-4ec2-867e-08cfa2ead73b
x-providence-cookie: d83a4d6b-d4a5-4e9e-9ae2-399e58046353
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=iGvtp8WB1G74S6IZjhRfuX_myo7LyGdt_QlKUvsQ09E-1753618975-1.0.1.1-96DdaQ0s_geIIEMf6babfEr8PcJ0yOpSfnjBfwoPsl4IMfRPCfCOX7.kbDfFZn5A7GiRndZ8wgIj9x3MTeKMqvF68fpPS6LSJoLtWgHiNqk; path=/; expires=Sun, 27-Jul-25 12:52:55 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo48eR8Um3Xb81Vv; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 11:22:55 GMT; HttpOnly
set-cookie: _cfuvid=lbO_LsERDO3.gRrzUyfMTGo8QTOgwRw47gJLBFfJcPs-1753618975625-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 965c1ae3b9b5cb77-BLR
content-encoding: gzip
Usage of /questions/{ids}/comments [GET] -
Stack Exchange API
It is possible to create moderately complex queries using
https://stackoverflow.com/oauth/dialog?client_id=1&key=U4DMV*8nvpm3EOpvf69Rxw((&redirect_uri=https%3a%2f%2fapi.stackexchange.com%2fdocs%2foauth_landing
U4DMV*8nvpm3EOpvf69Rxw((
Usage of /questions/{ids}/comments GET
Discussion
Gets the comments on a question.
If you know that you have an question id and need the comments, use this method. If you know you have a answer id, use /answers/{ids}/comments. If you are unsure, use /posts/{ids}/comments.
{ids}
can contain up to 100 semicolon delimited ids. To find ids programmatically look for question_id
on question objects.
The sorts accepted by this method operate on the following fields of the comment object:
- creation –
creation_date
- votes –
score
creation
is the default sort.It is possible to create moderately complex queries using
sort
, min
, max
, fromdate
, and todate
.
This method returns a list of comments.
Try It
about blog terms of use contact us feedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed under CC BY-SA