Reddit threads frequently surface founder pain that SERP misses. This tutorial builds a validation pipeline that ranks ideas by Reddit demand-density signal.
Prerequisites
- Python 3.10+
- Scavio API key
Walkthrough
Step 1: Define an idea phrase grid
Multiple framings of the same problem.
FRAMINGS = [
'tool to <X>',
'how do you <X>',
'<X> is too hard',
'wish there was <X>',
]Step 2: Run Reddit search per framing
Parallel calls.
import os, requests
H = {'x-api-key': os.environ['SCAVIO_API_KEY']}
def reddit(q):
return requests.post('https://api.scavio.dev/api/v1/reddit/search', headers=H, json={'query': q}).json()Step 3: Score by post density and engagement
More relevant threads + higher upvotes = stronger signal.
def score(idea):
total = 0
for f in FRAMINGS:
r = reddit(f.replace('<X>', idea))
for p in r.get('posts', [])[:10]:
total += int(p.get('score', 0)) + int(p.get('comment_count', 0))
return totalStep 4: Compare across ideas
Highest score = strongest demand signal.
ideas = ['ai validation tool', 'reddit research tool', 'ai job agent']
ranked = sorted([(i, score(i)) for i in ideas], key=lambda x: -x[1])Step 5: Pull top 5 threads per idea
Read what people are actually saying.
# For the top idea, return the 5 highest-engagement threads with URL + title for human review.Python Example
# Per validation: 4 framings × 1 call = 4 credits = $0.017. Cheap enough to run on every idea.JavaScript Example
// Same in TS.Expected Output
Validation rankings driven by community demand signal, not just SERP volume. Top idea has top-5 quote-worthy threads ready for the founder to read.