Skip to content

v0.8.0 — Reddit Scraper API

Choose a tag to compare

@0xGhostCasper 0xGhostCasper released this 28 May 09:53
· 96 commits to main since this release

What's New

Reddit Scraper API

Adds client.reddit.* namespace covering 22 endpoints across search, posts, subreddits, users, and wiki:

Search

  • client.reddit.search.posts(q, ...) — global or subreddit-scoped post search with full Reddit syntax (title:, author:, subreddit:, flair:, AND/OR/NOT)
  • client.reddit.search.subreddits(q, ...), client.reddit.search.users(q, ...)
  • client.reddit.search.domain_posts(domain, ...) — posts linking to an external domain

Posts

  • client.reddit.posts.trending(...), .get(post_id)
  • .comments(post_id, depth=...) — full nested comment trees with configurable depth (0-10)
  • .duplicates(post_id, ...) — cross-post detection

Subreddits

  • client.reddit.subreddits.get(name), .posts(...), .rules(...), .moderators(...), .wiki_pages(...), .wiki_page(...), .popular(...), .new(...)

Users

  • client.reddit.users.get(name), .posts(...), .comments(...), .moderated(...), .trophies(...)

Response models

  • RedditPost (66 fields), RedditComment (34), RedditSubreddit (48), RedditUser (27)
  • Every datetime ships in both Unix timestamp (*_utc) and ISO 8601 UTC string (*_at) format
  • Frozen Pydantic models with extra="ignore" for forward compatibility

See CHANGELOG.md for the full diff.