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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
username | string | No | - | Reddit username, with or without u/ (case-insensitive). Give this or user_id. |
user_id | string | No | - | Reddit account id (t2_…). Alternative to username. |
page_token | string | No | - | Opaque page token from a previous response’s next_page_token. Omit for the first page. |
type | string | No | all | posts, comments, or all (one timeline, newest first). Allowed: posts, comments, all. |
sort | string | No | new | new (default), top, controversial. hot is not supported by Reddit profiles. Allowed: new, top, controversial. |
time | string | No | default | Time 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_type | string | No | all | Keep 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_score | integer | No | - | 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_comments | integer | No | - | 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_after | string | No | - | 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_before | string | No | - | 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_pages | integer | No | - | 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_details | boolean | No | false | Comment 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_html | boolean | No | false | Adds body_html (the rendered HTML body) to every post and comment. Default: left out; body_text carries the same text. |
translate_to | string | No | none | Reddit’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 …).
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Activity; null with error.code not_found / suspended / deleted. |
data.items | array of objects | Timeline items in Reddit’s order. |
data.items[].type | string | post or comment. |
data.items[].post | object / null | Set when type = post. |
data.items[].comment | object | Set when type = comment. |
data.items[].comment.comment_id | string | Comment fullname, e.g. t1_c60o0iw. |
data.items[].comment.permalink | string | Comment path, e.g. /r/IAmA/comments/z1c9z/comment/c60o0iw/. |
data.items[].comment.post_url | string | Absolute link of the comment on Reddit (https://www.reddit.com + permalink), ready to open. |
data.items[].comment.post_id | string | Post fullname (t3_…). |
data.items[].comment.subreddit | string | Subreddit name (u_{name} for profile posts). |
data.items[].comment.author | string | Username; [deleted] is reported as null with is_author_deleted true. |
data.items[].comment.author_id | string | Author account id (t2_…). |
data.items[].comment.score | integer | Net upvotes; null when Reddit hides the score. |
data.items[].comment.is_score_hidden | boolean | Reddit hides the score (new comment in a sub that delays scores). |
data.items[].comment.created_at | string | ISO-8601 UTC creation time. |
data.items[].comment.type | string | Kind 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_op | boolean | Written by the post author. |
data.items[].comment.distinguished | string | moderator or admin when distinguished; else null. |
data.items[].comment.is_stickied | boolean | Pinned at the top of the thread. |
data.items[].comment.is_collapsed | boolean | Collapsed by default in Reddit’s UI. |
data.items[].comment.is_archived | boolean | Thread archived. |
data.items[].comment.is_deleted | boolean | Deleted by its author (body gone). |
data.items[].comment.is_author_deleted | boolean | The author’s account is deleted (body may remain). |
data.items[].comment.is_removed | boolean | Removed by a moderator (body replaced by Reddit’s notice). |
data.items[].comment.body_text | string | Comment as plain text. |
data.items[].comment.post_title | string | Title of the post the comment belongs to. |
data.items[].comment.post_permalink | string | Path of that post. |
data.items[].comment.parent_author | string | Username replied to; null for a top-level comment. |
data.has_next_page | boolean | More items available. |
data.next_page_token | string | Token for the next page; null at the end. |
data.resolved_filters | object | type, sort, time as applied. |
data.resolved_filters.type | object | Activity type as applied (all by default). |
data.resolved_filters.type.input | string / null | What the caller sent. |
data.resolved_filters.type.resolved | string | What was applied on Reddit (null when not applied). |
data.resolved_filters.type.source | string | param (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.sort | object | Sort as applied. |
data.resolved_filters.sort.input | string / null | What the caller sent. |
data.resolved_filters.sort.resolved | string | What was applied on Reddit (null when not applied). |
data.resolved_filters.sort.source | string | param (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.time | object / null | Time window as applied (top / controversial only). |
data.billed_requests | integer | Requests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1). |
request_params | object | Echo of the parameters you sent |
Error Responses
Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:
| |
| Status Code | Cause | Description |
|---|---|---|
| 400 | Invalid or missing parameter | Plain-English message per field. Not billed |
200 with status: false | Item not available | error.code is not_found, suspended, deleted. data is null. Billed 1 request |
| 503 | Reddit temporarily unreachable | "error": "Service temporarily unavailable". Not billed, retry later |
200 with status: false | Bad page token | error.code is invalid_page_token: pass next_page_token from the previous answer unchanged |
Code Examples
| |
| |
| |
Related Endpoints
- User Search : Search Reddit accounts by name or keyword
- User Details : Reddit account profile by username or id
- User Subreddits : Communities a Reddit account is active in