Reddit Archive

v0.2.1
io.github.pipeworx-io/reddit-archive Checked 4 days ago Published 1 month ago

Reddit Archive — historical Reddit post and comment search, and subreddit activity over time…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

reddit_history_posts

Historical Reddit POSTS from one subreddit, back to ~2005 — via the Arctic Shift archive, not the live Reddit API (which the `reddit` pack uses and which only reaches ~1,000 recent results with no reliable date filter). PREFER for "Reddit posts about X in/before <year>", "what did r/<sub> post about Y historically", or any request the live reddit pack cannot date-filter. Filter by date range (after/before, ISO dates like "2019-01-01") and/or keyword (query, matched against title+body). Returns id, title, author, created_utc (ISO), score, num_comments, permalink. A subreddit Arctic Shift has…

ParameterTypeDescription
subreddit *stringSubreddit name without the r/ prefix, e.g. "datasets".
afterstringOptional ISO date (e.g. "2019-01-01") — only posts created on/after this date.
beforestringOptional ISO date (e.g. "2020-01-01") — only posts created before this date.
limitnumberMax posts to return (default 25, max 100).
querystringOptional keyword — matched against post title and body text.
sortstring"asc" or "desc" by post date (default "desc", newest first).

reddit_history_comments

Historical Reddit COMMENTS via the Arctic Shift archive — scope to a subreddit, a specific post (link_id), or both; requires at least one. Optionally filter by keyword (query, matched against comment body) and date range (after/before, ISO dates). Returns id, author, created_utc (ISO), score, body, link_id, permalink. No per-author aggregation is provided by this pack — results are the raw comments Arctic Shift's filters match, nothing rolled up into a user profile.

ParameterTypeDescription
afterstringOptional ISO date (e.g. "2019-01-01") — only comments created on/after this date.
beforestringOptional ISO date (e.g. "2020-01-01") — only comments created before this date.
limitnumberMax comments to return (default 25, max 100).
link_idstringReddit post ID to fetch comments under, e.g. "ei9204" (with or without the "t3_" prefix). Provide this and/or subreddit.
querystringOptional keyword — matched against comment body text.
sortstring"asc" or "desc" by comment date (default "desc", newest first).
subredditstringSubreddit name without the r/ prefix, e.g. "datasets". Provide this and/or link_id.

subreddit_activity

Reddit subreddit identity and activity over time, via the Arctic Shift archive: subscriber count, subreddit creation date, all-time post/comment totals, earliest indexed post/comment, and monthly post/comment counts within a date window (default: the last 12 months). A subreddit Arctic Shift has never indexed is reported as a loud not-found error, never a silent empty result.

ParameterTypeDescription
subreddit *stringSubreddit name without the r/ prefix, e.g. "datasets".
afterstringOptional ISO date (e.g. "2024-01-01") for the monthly-activity window; default is 12 months ago.
beforestringOptional ISO date (e.g. "2025-01-01") for the monthly-activity window; default is today.