data sources
choose the live reddit api or the arctic shift archive.
| source | access | use it for |
|---|---|---|
live | reddit data api with app-only oauth | current listings and scores, reddit search, and expanding hidden replies in live threads |
archive | arctic shift, a third-party archive that requires no credentials | historical posts, comment text search, and date or author filters |
auto | selects live when credentials resolve and archive otherwise | a default based on your local configuration |
select a source
--source takes precedence over REDDIT_CLI_SOURCE, then the top-level
source setting in config.toml. the default is auto. the cli selects
the source once before a request. if the source fails, read the hint and
rerun with a different --source when that source supports the request.
auth, cache, and skills ignore --source.
reddit data api shutdown
reddit stopped accepting new public data api access on october 31, 2026. unregistered apps lose access starting january 12, 2027. all public access ends in march 2027. the arctic shift archive uses a separate service. project spec
backend support matrix
unsupported combinations return E_UNSUPPORTED before a request.
the table shows supported options and the endpoints each source uses.
| command or flag | live | archive |
|---|---|---|
sub --sort hot/rising/controversial/top | yes | no |
sub --sort new | yes | /posts/search?subreddit=&sort=desc |
sub --time | yes | no |
about | /r/S/about | /subreddits/search?subreddit=S. first exact match or E_NOT_FOUND. |
search --type posts | /search or /r/S/search | /posts/search?query=. requires --sub or --author. |
search --type comments | no | /comments/search?body=. requires --sub or --author. |
search --type subs | /subreddits/search?q= | /subreddits/search?subreddit_prefix=&sort_type=subscribers. one page. |
search --type users | /users/search?q= | /users/search?author_prefix=&sort_type=total_karma. one page. |
search --author/--since/--until | no | yes |
search --sort | all values | new descending. treats relevance as new. |
search --time | yes | no. use --since and --until. |
search --comments K (up to 100) | yes | fetches roots via /comments/search?link_id=&parent_id=, up to five pages per post, and sorts by score locally. a note reports truncation at the cap. |
thread | /comments/ID and /api/morechildren | /posts/ids?ids= and /comments/tree?link_id=t3_ID&limit=9999 |
thread --sort/--depth/--limit | yes | fetches the tree with limit=9999, then applies top, new, or old sort and depth and limit locally. pruning sets complete to false and adds a note with the count dropped. |
thread --full/--max-requests | yes | the cli fetches the archive tree without expansion and adds a note if you pass either flag. |
user overview, posts, or comments | /user/U/about and a listing | /users/search?author=U and /posts/search?author= or /comments/search?author=. overview merges activity by time. |
user --sort hot/top/controversial and --time | yes | no |
user --since/--until | no | yes |
live threads default to confidence sort. archive threads default to top.
archive caveats
arctic shift captures scores and comment counts at posting time and refreshes
them once about 36 hours later. when its second-capture marker is absent,
the cli reports score, num_comments, and upvote_ratio as null.
post search uses a simple keyword match. comment search uses postgres
full-text search with websearch_to_tsquery syntax. if a busy subreddit or
user times out, narrow the dates or add a subreddit or author filter.
archive caveats appear in meta.notes.