4
7 Comments

Monitoring specific keywords on Reddit

Hi everyone,

More and more SaaS startups rely on Reddit to monitor their brand, watch competitors, find new customers... If you are a developer yourself, it is possible to build a short program that monitors specific keywords on Reddit. Let me show you how.

In order to get the last 100 Reddit posts, you should make a GET HTTP request to the following API endpoint: https://www.reddit.com/r/all/new/.json?limit=100

In order to get the last 100 Reddit comments, you should make a GET HTTP request to the following API endpoint: https://www.reddit.com/r/all/comments/.json?limit=100

The response from these API endpoints is a JSON object that contains a list of posts or comments. You can then look for the "selftext" keys that actually contain the content of the last submission, and then perform a simple keyword search on this content. Then it's only a matter of fetching the last data on a regular basis.

I guess that some of your already knew about these API endpoints, but for those who didn't I hope the above was helpful!

I also made a comprehensive how-to about this on my website: https://kwatch.io/how-to-monitor-keywords-on-reddit-with-golang

If you are aware of better technical solutions for Reddit monitoring I will be more than happy to hear them!

on February 20, 2024
  1. 1

    Can you suggest how can i increase my reddit karma to post on different communities

    1. 1

      Good question. I would suggest that you target topics that you like, and subscribe to subreddits that match your preferences. Then browse discussions in these subreddits and jump into the discussions when you think you have something interesting to say. You can also create posts in these subreddits asking genuine questions. Such posts are often welcome.

  2. 1

    It's so hard to advertise in Reddit. But seems like it's a big potential traffic pool. Is it?

    1. 1

      Yes, I actually like Reddit for that reason. It's hard to advertise there, but if you manage to do it right the reward is big.

  3. 1

    I can't stand reddit. The moderators are too too strict.

    I created this small free site veilmail.io which stops bots from scraping your email address.

    You create a fun scratch card that people scratch to reveal your email address.

    It's free. So not spam. Just told tell reddit that

  4. 1

    Thank you for sharing this technique and congrats on the kwatch.io platform, I tried it and it's very useful.

  5. 1

    Interesting, thank you. I am using f5bot to monitor Reddit keywords. It looks like a good tool.

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 41 comments Why Early-Stage Founders Should Consider Skipping Prior Art Searches for Their Patent Applications User Avatar 22 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments Codenhack Beta — Full Access + Referral User Avatar 20 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 13 comments