CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 09:19:04 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=b778fb0a-4b81-4d4c-a775-25806ff1790a; expires=Mon, 27 Jul 2026 09:19:04 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 2520e6b1-311c-4821-af1a-50ca97d1208e
x-providence-cookie: b778fb0a-4b81-4d4c-a775-25806ff1790a
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=HYC4sjbIXCUsjAnrc5UFVgrLE.9fYt0AbdFU8PblkJw-1753607944-1.0.1.1-PP5yq1aCqdhBrHsdgBXxMjeoqyRLPN2MonERYd2JJirhkvgmN1kZrIK2VY1O2dN4CHpMNJqLWdA2ZWJftTT1J6omFATaqdn24sZHkRoe0IY; path=/; expires=Sun, 27-Jul-25 09:49:04 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo49z41s5EsLshkg; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 08:19:04 GMT; HttpOnly
set-cookie: _cfuvid=KPsm.VfJrWBACB7HLLFHiODYPiK8OwkRTIbF03ezjII-1753607944568-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 965b0d93cdf4860e-BLR
content-encoding: gzip
Usage of /posts/{ids} [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 /posts/{ids} GET
Discussion
Fetches a set of posts by ids.
This method is meant for grabbing an object when unsure whether an id identifies a question or an answer. This is most common with user entered data.
{ids}
can contain up to 100 semicolon delimited ids. To find ids programmatically look for post_id
, answer_id
, or question_id
on
post, answer, and question objects respectively.
The sorts accepted by this method operate on the following fields of the post object:
- activity –
last_activity_date
- creation –
creation_date
- votes –
score
activity
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 posts.
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