GET /user/activity

User Activity

Posts and comments of a Reddit account (one timeline or each list). Reddit Scraper API endpoint /user/activity: parameters, JSON response fields and code examples.

An account’s public posts and comments (type) in Reddit’s order: post cards, or comment text with score, post title and link, subreddit and the user replied to. Give username or user_id; the page size is fixed at about 25 items by Reddit’s listing (no per_page), continue with next_page_token. Billed 1 request per page read; filters and date ranges read up to max_pages pages. with_details=true adds 1 per 100 comments detailed.

HTTP Request

GET /user/activity

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

Parameters

ParameterTypeRequiredDefaultDescription
usernamestringNo-Reddit username, with or without u/ (case-insensitive). Give this or user_id.
user_idstringNo-Reddit account id (t2_…). Alternative to username.
page_tokenstringNo-Opaque page token from a previous response’s next_page_token. Omit for the first page.
typestringNoallposts, comments, or all (one timeline, newest first). Allowed: posts, comments, all.
sortstringNonewnew (default), top, controversial. hot is not supported by Reddit profiles. Allowed: new, top, controversial.
timestringNodefaultTime window for top and controversial: hour, day, week, month, year, all. default (the default) = no window chosen: top and controversial read all time; other sorts take none. Allowed: default, hour, day, week, month, year, all.
post_typestringNoallKeep only posts of this kind: text, link, image, gif, gallery, video, poll, crosspost, embed or game (comment items are left out). Not valid with type=comments. Reads up to max_pages pages to fill the answer, each billed 1 request (billed_requests says how many). all (default) = no filter. Allowed: all, text, link, image, gif, gallery, video, poll, crosspost, embed, game.
min_scoreintegerNo-Only items (posts and comments) with at least this net score. Reads up to max_pages pages; scanned_count says how many items were examined.
min_commentsintegerNo-Only posts with at least this many comments (comment items are left out). Not valid with type=comments. Reads up to max_pages pages.
posted_afterstringNo-Only items created at or after this time: an ISO 8601 date (2026-01-01, the start of that day, UTC), a datetime (2026-01-01T18:00:00Z) or epoch seconds. Reddit has no date filter: the posts are read newest first and filtered here, so this reaches about the newest 1,000 posts of a listing; for older days of all of Reddit use /post/archive.
posted_beforestringNo-Only items created at or before this time, same formats as posted_after (a bare date includes that whole day). Must not be earlier than posted_after.
max_pagesintegerNo-Most Reddit pages one call reads to fill the page, 1–40. Default 8 with posted_after / posted_before, otherwise 4 (only used with a filter). Every page read is billed; with sort=new the walk stops at the first page older than posted_after.
with_detailsbooleanNofalseComment items only, the first 25 of the page: adds parent_id, edited_at, author_flair (in the comment’s community), is_locked and body_media (left out without it). Billed: +1 request per 100 comments 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 post titles, post bodies and comment bodies 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 /user/activity?username=spez (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
  "status": true,
  "request_id": "57e4b617-5470-d830-e101-f004f2f6",
  "data": {
    "items": [
      {
        "type": "comment",
        "post": null,
        "comment": {
          "comment_id": "t1_19ruo33ofgh8i",
          "permalink": "/r/RDDT/comments/1xiupuc/comment/19ruo33ofgh8i/",
          "post_url": "https://www.reddit.com/r/RDDT/comments/1xiupuc/comment/19ruo33ofgh8i/",
          "post_id": "t3_1xiupuc",
          "subreddit": "RDDT",
          "author": "spez",
          "author_id": "t2_1w72",
          "score": 6,
          "is_score_hidden": false,
          "created_at": "2026-10-29T22:42:06.463000+00:00",
          "type": "text",
          "is_op": false,
          "distinguished": "admin",
          "is_stickied": false,
          "is_collapsed": false,
          "is_archived": false,
          "is_deleted": false,
          "is_author_deleted": false,
          "is_removed": false,
          "body_text": "Pretty simple. For people who are already coming to Reddit every week, we have to give them a reason to come back everyday. If you come for sports and entertainment, or food and fashion, or new and trends, or something fun and funny, can yo…",
          "post_title": "Reddit Announces Q3’26 Earnings (plus AMA!)",
          "post_permalink": "/r/RDDT/comments/1xiupuc/reddit_announces_q326_earnings_plus_ama/",
          "parent_author": "223331_"
        }
      },
      {
        "type": "comment",
        "post": null,
        "comment": {
          "comment_id": "t1_19ruo2bw7d6ps",
          "permalink": "/r/RDDT/comments/1xiupuc/comment/19ruo2bw7d6ps/",
          "post_url": "https://www.reddit.com/r/RDDT/comments/1xiupuc/comment/19ruo2bw7d6ps/",
          "post_id": "t3_1xiupuc",
          "subreddit": "RDDT",
          "author": "spez",
          "author_id": "t2_1w72",
          "score": 8,
          "is_score_hidden": false,
          "created_at": "2026-10-29T22:41:37.623000+00:00",
          "type": "text",
          "is_op": false,
          "distinguished": "admin",
          "is_stickied": false,
          "is_collapsed": false,
          "is_archived": false,
          "is_deleted": false,
          "is_author_deleted": false,
          "is_removed": false,
          "body_text": "At a high level, however people want to communicate on the internet, they should be able to do so on Reddit.\n\nWe’ve continually evolved over the years, from just links to text to images (becoming a home for early memes and GIFs) to video an…",
          "post_title": "Reddit Announces Q3’26 Earnings (plus AMA!)",
          "post_permalink": "/r/RDDT/comments/1xiupuc/reddit_announces_q326_earnings_plus_ama/",
          "parent_author": "Forsaken_Detective_2"
        }
      }
    ],
    "has_next_page": true,
    "next_page_token": "eyJ2IjoxLCJraW5kIjoidXNlcl9hY3Rpdml0eSIsImZwIjoiYWJlYWM2NjM1NCIsInRzIjoxNzk1NTUzODY5LCJwMSI6InQxXzE5cnVvMzNvZmdoOGkiLCJwMXMiOlsidDFfMTlydW8zM29mZ2g4aSIsInQxXzE5cnVvMmJ3N2Q2cHMiLCJ0MV8xOXJ1bzBpM2s1M2hlIiwidDFfMTlydW56bW9mdmNvNSIsInQxXzE5cnVu…",
    "resolved_filters": {
      "type": {
        "input": null,
        "resolved": "all",
        "source": "default"
      },
      "sort": {
        "input": null,
        "resolved": "new",
        "source": "default"
      },
      "time": null
    },
    "billed_requests": 1
  },
  "request_params": {
    "username": "spez"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectActivity; null with error.code not_found / suspended / deleted.
data.itemsarray of objectsTimeline items in Reddit’s order.
data.items[].typestringpost or comment.
data.items[].postobject / nullSet when type = post.
data.items[].commentobjectSet when type = comment.
data.items[].comment.comment_idstringComment fullname, e.g. t1_c60o0iw.
data.items[].comment.permalinkstringComment path, e.g. /r/IAmA/comments/z1c9z/comment/c60o0iw/.
data.items[].comment.post_urlstringAbsolute link of the comment on Reddit (https://www.reddit.com + permalink), ready to open.
data.items[].comment.post_idstringPost fullname (t3_…).
data.items[].comment.subredditstringSubreddit name (u_{name} for profile posts).
data.items[].comment.authorstringUsername; [deleted] is reported as null with is_author_deleted true.
data.items[].comment.author_idstringAuthor account id (t2_…).
data.items[].comment.scoreintegerNet upvotes; null when Reddit hides the score.
data.items[].comment.is_score_hiddenbooleanReddit hides the score (new comment in a sub that delays scores).
data.items[].comment.created_atstringISO-8601 UTC creation time.
data.items[].comment.typestringKind of comment body: text, image or gif; null when it cannot be told (a GIF or video in a /user/activity comment without with_details).
data.items[].comment.is_opbooleanWritten by the post author.
data.items[].comment.distinguishedstringmoderator or admin when distinguished; else null.
data.items[].comment.is_stickiedbooleanPinned at the top of the thread.
data.items[].comment.is_collapsedbooleanCollapsed by default in Reddit’s UI.
data.items[].comment.is_archivedbooleanThread archived.
data.items[].comment.is_deletedbooleanDeleted by its author (body gone).
data.items[].comment.is_author_deletedbooleanThe author’s account is deleted (body may remain).
data.items[].comment.is_removedbooleanRemoved by a moderator (body replaced by Reddit’s notice).
data.items[].comment.body_textstringComment as plain text.
data.items[].comment.post_titlestringTitle of the post the comment belongs to.
data.items[].comment.post_permalinkstringPath of that post.
data.items[].comment.parent_authorstringUsername replied to; null for a top-level comment.
data.has_next_pagebooleanMore items available.
data.next_page_tokenstringToken for the next page; null at the end.
data.resolved_filtersobjecttype, sort, time as applied.
data.resolved_filters.typeobjectActivity type as applied (all by default).
data.resolved_filters.type.inputstring / nullWhat the caller sent.
data.resolved_filters.type.resolvedstringWhat was applied on Reddit (null when not applied).
data.resolved_filters.type.sourcestringparam (applied as given), default, not_found (the value does not exist on Reddit), private / banned / quarantined (a community in the scope that cannot be read: skipped), or not_available (translate_to only: Reddit had no translated listing, the rows are served in their original language).
data.resolved_filters.sortobjectSort as applied.
data.resolved_filters.sort.inputstring / nullWhat the caller sent.
data.resolved_filters.sort.resolvedstringWhat was applied on Reddit (null when not applied).
data.resolved_filters.sort.sourcestringparam (applied as given), default, not_found (the value does not exist on Reddit), private / banned / quarantined (a community in the scope that cannot be read: skipped), or not_available (translate_to only: Reddit had no translated listing, the rows are served in their original language).
data.resolved_filters.timeobject / nullTime window as applied (top / controversial only).
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).
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, suspended, deleted. data is null. Billed 1 request
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later
200 with status: falseBad page tokenerror.code is invalid_page_token: pass next_page_token from the previous answer unchanged

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/user/activity"

params = {
    "username": "spez",
}

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"]

print(data["has_next_page"])
print(data["next_page_token"])
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/user/activity";

const params = new URLSearchParams({
  username: "spez",
});

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();
console.log(data.has_next_page, data.next_page_token);
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/user/activity" \
  --data-urlencode "username=spez" \
  -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