| title | rdt-cli — Reddit in Your Terminal (Reverse-Engineered API) | |||||
|---|---|---|---|---|---|---|
| domain | ops | |||||
| subdomain | scraping | |||||
| tags |
|
|||||
| source | github.com/public-clis/rdt-cli | |||||
| status | published | |||||
| confidence | 0.85 | |||||
| created | 2026-07-01 | |||||
| verified_date | ||||||
| domain_expert |
Reddit's official API closed self-service registration in 2025-11. Anonymous .json endpoints are blocked (403). Need a way to access Reddit programmatically.
Reddit aggressively blocks automated access:
- Anonymous
.jsonendpoints return 403 - Official API requires manual approval for new apps
- PRAW (Python Reddit API Wrapper) only works with existing credentials
A CLI that uses Reddit's reverse-engineered API with browser fingerprint impersonation.
# Install
pipx install rdt-cli
# Login (extracts browser cookies)
rdt login
# Browse
rdt sub python --sort hot
rdt search "MCP agent" --sort top --time year
rdt read t3_abc123
# Export
rdt search "query" --json -o results.json
rdt search "query" --yaml- Chrome 133 fingerprint consistency
sec-ch-uaheader alignment- Gaussian jitter on requests
- Exponential backoff on rate limits
# Compact output (fewer tokens)
rdt search "query" --compact
# Structured output
rdt search "query" --yaml
rdt search "query" --json
# Non-TTY defaults to YAML automaticallyrdt status --json
# Returns: authenticated, cookie_count, capabilitiespipx install rdt-clisucceedsrdt statusreturns valid JSON- After
rdt login,rdt search "test"returns results --compactoutput is significantly shorter
- Requires login (browser cookies) — no anonymous access
- v0.4.1 on PyPI, v0.4.2 on Git (use git source for latest)
- For network-blocked regions: needs proxy (
HTTPS_PROXYenv var) - Agent-Reach installs this automatically for Reddit support
- Source: github.com/public-clis/rdt-cli (445 stars)