
Scraping Reddit in 2026: How to Use the Public JSON API (No Scraper Needed)
Reddit hosts 2.8B+ monthly visits across 100,000+ active communities. Whether you're tracking brand mentions, monitoring industry trends, or building datasets, Reddit's data is invaluable. Here's the secret most developers miss: every public Reddit URL has a .json version . No API keys. No OAuth. No scraper libraries. Just append .json to any URL. The .json Trick Take any Reddit URL: https://www.reddit.com/r/Python/new/ Append .json : https://www.reddit.com/r/Python/new.json That's it. You get structured JSON with posts, scores, timestamps, comment counts, and more. Basic Usage with curl curl 'https://www.reddit.com/r/Python/new.json?limit=25' \ -H 'User-Agent: my-script/1.0' Important : Reddit blocks requests without a User-Agent header. Always include one, or you'll get a 429 response. The response structure: { "kind" : "Listing" , "data" : { "children" : [ { "kind" : "t3" , "data" : { "title" : "Post title here" , "author" : "username" , "score" : 42 , "num_comments" : 7 , "url" : "
Continue reading on Dev.to Python
Opens in a new tab


