GET /post/batch

Post Batch

Look up to 200 posts in one request. Reddit Scraper API endpoint /post/batch: parameters, JSON response fields and code examples.

Up to 200 posts at once by id, in the order sent: title, community, link, current score, comment count, NSFW flag, thumbnail and created time; ids Reddit no longer has are listed in missing_ids. with_details=true (at most 25 ids) adds the full post card. Billed 1 request per post found (minimum 1), +1 per post detailed with with_details=true. /post/comments and /post/export already return the full post card with the thread: use /post/batch only for a metadata or status refresh.

HTTP Request

GET /post/batch

Cost (in requests): 1 per post found; +1 per post detailed. Every successful answer reports its cost in data.billed_requests.

Parameters

ParameterTypeRequiredDefaultDescription
post_idsstringYes-Post ids, with or without t3_, 1–200 (1–25 with with_details). Comma-separated, duplicates removed, request order kept in the answer. Large batches (over about 100 ids) can return part of the ids in not_attempted; send those again (they are not billed).
with_detailsbooleanNofalseAdds these fields per post (left out without it): author, author_id, upvote_ratio, flair, body_text, body_media, media, poll, subreddit_type, author_flair, author_type, author_avatar_url, is_author_nsfw, is_brand_affiliate, distinguished, is_locked, is_archived, is_stickied, is_crosspost, crosspost_parent_id, crosspost_parent_subreddit, crossposts_count, shares_count, removed_by, removal_category, thumbnail_width, thumbnail_height, is_spoiler, is_subreddit_nsfw, is_subreddit_quarantined, subreddit_icon_url. Caps the batch at 25 ids. Billed: +1 request per post detailed.
include_htmlbooleanNofalseAdds body_html (the rendered HTML body) to every post and comment. Default: left out; body_text carries the same text.
translate_tostringNononeReddit’s own machine translation of the post titles into this language (default none: original language). Availability varies by post and page: check is_translated on each row. See the allowed values in the API overview .

Response

Real response to GET /post/batch?post_ids=t3_1xj9fse,t3_1xm7oif (arrays trimmed to 2 items, long texts cut with …).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  "status": true,
  "request_id": "059135a0-b0c6-93d2-fee6-85710ffd",
  "data": {
    "requested_count": 2,
    "found_count": 2,
    "truncated": false,
    "not_attempted": [],
    "missing_ids": [],
    "billed_requests": 2,
    "items": [
      {
        "post_id": "t3_1xj9fse",
        "title": "PEP 851 – Add list.discard()",
        "type": "text",
        "permalink": "/r/Python/comments/1xj9fse/pep_851_add_listdiscard/",
        "post_url": "https://www.reddit.com/r/Python/comments/1xj9fse/pep_851_add_listdiscard/",
        "url": "https://www.reddit.com/r/Python/comments/1xj9fse/pep_851_add_listdiscard/",
        "domain": "self.Python",
        "subreddit": "Python",
        "subreddit_id": "t5_2qh0y",
        "is_author_deleted": false,
        "score": 216,
        "comments_count": 56,
        "created_at": "2026-10-30T08:05:21.804000+00:00",
        "is_nsfw": false,
        "thumbnail_url": "https://external-preview.redd.it/pep-851-add-list-discard-v0-qsyApzksUdlxqY7z2ubJCNmhQilhXIOl25dSHcQQLB4.png?width=108&crop=smart&auto=webp&s=47770d6b68eb1f776c7d2788912186555f3d08a4"
      },
      {
        "post_id": "t3_1xm7oif",
        "title": "FastAPI Cloud is now generally available",
        "type": "text",
        "permalink": "/r/Python/comments/1xm7oif/fastapi_cloud_is_now_generally_available/",
        "post_url": "https://www.reddit.com/r/Python/comments/1xm7oif/fastapi_cloud_is_now_generally_available/",
        "url": "https://www.reddit.com/r/Python/comments/1xm7oif/fastapi_cloud_is_now_generally_available/",
        "domain": "self.Python",
        "subreddit": "Python",
        "subreddit_id": "t5_2qh0y",
        "is_author_deleted": false,
        "score": 115,
        "comments_count": 15,
        "created_at": "2026-11-02T19:57:30.676000+00:00",
        "is_nsfw": false,
        "thumbnail_url": "https://external-preview.redd.it/fastapi-cloud-is-now-generally-available-v0-KLZ6R5EW72h0IiS6rt9ZP7XKeb06RwwiTZPraC2LfSg.png?width=108&crop=smart&auto=webp&s=282375ef2e2b9691c2758c75c7772be424d3014a"
      }
    ]
  },
  "request_params": {
    "post_ids": "t3_1xj9fse,t3_1xm7oif"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectBatch result.
data.requested_countintegerIds requested after de-duplication.
data.found_countintegerPosts returned; the billing unit.
data.truncatedbooleanTrue when the request ran out of time before every post was looked up; the rest are not looked up, not billed, and listed in not_attempted. Send them again in a new request.
data.not_attemptedarrayRequested ids that were not looked up in time (empty unless truncated). Send them again.
data.missing_idsarrayRequested ids Reddit did not return (deleted, removed or never existed; /post/status tells which).
data.billed_requestsintegerRequests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1).
data.itemsarray of objectsFound posts in request order (ids Reddit does not know are left out and listed in missing_ids).
data.items[].post_idstringPost fullname, e.g. t3_z1c9z.
data.items[].titlestringPost title; null when Reddit shows only its removal placeholder ([ Removed by moderator ]…).
data.items[].typestringtext, link, image, gif, gallery, video, poll, crosspost, embed, game. A text post with inline images is text (its images in body_media). Only with with_details=true on /post/batch and /answers.
data.items[].permalinkstringReddit path, e.g. /r/IAmA/comments/z1c9z/i_am_barack_obama/ (Reddit’s relative value; post_url is the same thread as a full link). Either form can be passed back as url.
data.items[].post_urlstringAbsolute link of the post’s Reddit thread (https://www.reddit.com + permalink), ready to open.
data.items[].urlstringWhere the post points (Reddit’s own url): the outside page for link posts, the image or video file for media posts (https://i.redd.it/…, https://v.redd.it/…), the original post for crossposts, the thread itself for text posts. The post’s own thread is post_url.
data.items[].domainstringLink domain (arstechnica.com). For a text post Reddit fills the placeholder self.{subreddit}, which is not a link domain: /domain/posts refuses it; list text posts with /subreddit/posts?post_type=text.
data.items[].subredditstringSubreddit name without r/.
data.items[].subreddit_idstringSubreddit id (t5_…).
data.items[].is_author_deletedbooleanThe author’s account is deleted (the post may remain).
data.items[].scoreintegerNet upvotes at fetch time.
data.items[].comments_countintegerComment count reported by Reddit.
data.items[].created_atstringISO-8601 UTC creation time, microsecond precision. Left out on /media/search and on /answers without with_details.
data.items[].is_nsfwbooleanMarked NSFW.
data.items[].thumbnail_urlstringThumbnail URL.
request_paramsobjectEcho of the parameters you sent

Error Responses

Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:

1
{ "status": false, "request_id": "99a1e6cd-2e57-9e8f-4e44-2dea7f6d", "error": "Invalid parameter 'post_id': must be a post id such as z1c9z or t3_z1c9z", "request_params": { "post_id": "!!" } }
Status CodeCauseDescription
400Invalid or missing parameterPlain-English message per field. Not billed
200 with status: falseItem not availableerror.code is not_found, deleted (post removed or deleted). data is null. Billed 1 request
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
import requests

url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/post/batch"

params = {
    "post_ids": "t3_1xj9fse,t3_1xm7oif",
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=params)
data = response.json()["data"]

for item in data["items"]:
    print(item["title"], item["subreddit"])
print("Billed requests:", data["billed_requests"])
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
const url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/post/batch";

const params = new URLSearchParams({
  post_ids: "t3_1xj9fse,t3_1xm7oif",
});

const response = await fetch(`${url}?${params}`, {
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  }
});

const { data } = await response.json();
data.items.forEach((item) => console.log(item.title, item.subreddit));
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/post/batch" \
  --data-urlencode "post_ids=t3_1xj9fse,t3_1xm7oif" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI