CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 04:35:47 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=278bc1f8-64d0-4efa-8ed5-4a600f100518; expires=Mon, 27 Jul 2026 04:35:47 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 597ca8f6-042c-4c60-a8b1-db9e733fd34b
x-providence-cookie: 278bc1f8-64d0-4efa-8ed5-4a600f100518
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=dQkhz0K2dyqkdUxLWlhnUBjZi0hz4aiRsOU_OpGpzSY-1753590947-1.0.1.1-6ZfrNJ4NA8KRQi3x033nZa9nuFc9GaPphUQoOLbFZdFxs6Z.wnUKRTobKCeBs5BxJNctqmGsC0ApUpmZ.JOLgaLRB8VkTRPyKrMnlLWEtAk; path=/; expires=Sun, 27-Jul-25 05:05:47 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo48hUbS3rFRoL3v; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 03:35:47 GMT; HttpOnly
set-cookie: _cfuvid=w3o.OeL0ysHaAWjL6h.V12942xVSXBKbs_PfNsTFX1U-1753590947889-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 96596e9e98b8d3d4-BLR
content-encoding: gzip
Usage of /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 /comments GET
Discussion
Gets all the comments on the site.
If you're filtering for interesting comments (by score, creation date, etc.) make use of the sort paramter with appropriate min and max values.
If you're looking to query conversations between users, instead use the /users/{ids}/mentioned and /users/{ids}/comments/{toid} methods.
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