CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 13:36:03 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=e7a34558-bd7d-4079-a350-ebc7a7c11c8c; expires=Mon, 27 Jul 2026 13:36:02 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: bd784497-3bbb-4eeb-9b76-6a1ac576b1bf
x-providence-cookie: e7a34558-bd7d-4079-a350-ebc7a7c11c8c
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=rPPyfZGi9BTacYRT5QGiIjgR6bIcLJcGAM9Vdfldwi0-1753623363-1.0.1.1-yRBRxSRCMZB9Fs092LWtxySX0zqszZJDLBiEDBxBogrqAoc8SoetDDMzinh1VdAVJ0LIebhmLo.Q_bmDZDCx8njz3JAV._mIx_9sP7hZwNU; path=/; expires=Sun, 27-Jul-25 14:06:03 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo496MVYcDgKLujz; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 12:36:03 GMT; HttpOnly
set-cookie: _cfuvid=WZ9BqJgQ76pCZBJbpnGrKu48ss0HuEWMaRM2XURGrQI-1753623363026-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 965c85fe0bb28839-BLR
content-encoding: gzip
Usage of /answers/{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 /answers/{ids}/comments GET
Discussion
Gets the comments on a set of answers.
If you know that you have an answer id and need the comments, use this method. If you know you have a question id, use /questions/{id}/comments. If you are unsure, use /posts/{id}/comments.
{ids}
can contain up to 100 semicolon delimited ids. To find ids programmatically look for answer_id
on answer 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