DEV Community

neuralmint
neuralmint

Posted on

Reddit Crypto Sentiment Scraper — 60 Lines of Python, No API Keys Needed

So you want to know what the crowd actually thinks about a crypto project before you ape in.

Not some YouTuber shilling his bags. Not a tweet from an influencer who got paid. Just raw, unfiltered Reddit sentiment — scraped, scored, and served in seconds.

Here's a Python tool I built that does exactly that. 60 lines of real logic. No API keys needed. Works right now.

What It Does

Feed it a coin name or ticker:

python3 crypto_sentiment.py Solana --days 3
Enter fullscreen mode Exit fullscreen mode

It hits 5 crypto subreddits, pulls the latest posts, runs VADER sentiment analysis, and spits out:

  • Sentiment score (-1 to +1)
  • Bullish / Bearish / Neutral label
  • Top posts by engagement with live links

JSON mode for piping into your own dashboards:

python3 crypto_sentiment.py BTC --days 1 --json
Enter fullscreen mode Exit fullscreen mode

Why I Built This

I was tired of checking Reddit manually. Open 5 tabs, scroll past 50 memes, try to gauge the mood. No.

One command and I know: r/CryptoCurrency is neutral on Solana (+0.025), r/CC is bearish on XRP (-0.45), and everyone's calling the latest shitcoin a rug.

Data beats vibes.

The Tech

├── Reddit JSON API (no auth needed, just a UA header)
├── VADER sentiment (SOTA for social media, no ML training)
├── Rate-limited (0.5s between requests — be nice to Reddit)
└── Pure stdlib + requests (or stick with urllib)
Enter fullscreen mode Exit fullscreen mode

The whole thing is ~150 lines. No Docker. No GPU. No bullshit.

Want It?

> Get the script on GitHub <

MIT license. Fork it, break it, improve it. If you make something cool with it, tag me.

Support

If this saved you time or made you some money:

SOL: 4TGyiYBjaYhFFPNYyCoJjf16ctUsWVBiMR1FXQxEfhWi
ETH: 0xe07f177E0725c11EEc8BeA34C5b5193CaF2a1A6a

Or just drop a ⭐ on the repo. That's free.


Follow me for more Python tools — no fluff, no newsletters, just code that works.

Top comments (0)