Reddit API: 429 Too Many Requests or empty responses from scripts
@devsingh05▲ 10 net votes
Reddit throttles requests that use a generic User-Agent (python-requests, curl) and expects OAuth for API access. Register a script app, authenticate (PRAW handles OAuth and rate limits), and send a descriptive User-Agent like 'platform:appname:version (by your-reddit-username)'. Respect the rate-limit headers, and cache responses instead of polling.