By the time a topic reaches a big subreddit's front page, everyone has seen it. The useful signal is earlier: a post in a small community that is collecting votes much faster than its neighbors. Reddit does not hand you that as a number, but you can compute it.
This guide builds a scanner that watches a few niche subreddits, ranks fresh posts by how fast they are collecting points, and prints a short list of what is heating up. It uses two feeds from the SteadyAPI Reddit API and about 75 lines of Python.
Prerequisites
- A SteadyAPI API key from steadyapi.com. Read the cost section before you schedule anything on the Free plan.
- Python 3.8+ with
requests.
The idea: points per hour, not points
A post with 400 points sounds big. If it is 20 hours old, it is a slow burn. A post with 40 points that is 2 hours old is moving as fast. Dividing score by age gives a rough speed, and speed is what separates "rising" from "popular".
You need two things from the API:
GET /v1/reddit/posts(weight 2) withsubredditandsortType. Thenewfeed gives you everything recent. Therisingfeed is Reddit's own list of posts gaining traction.created_utc,scoreandnum_commentson each post. They arrive as plain numbers inbody.
Each call returns up to 25 posts, and meta.cursor is there if you want a second page. This scanner uses one page per feed.
What the feeds actually look like
Before writing the ranking, I pulled new and rising for the same subreddit and compared them. In r/webdev, 22 of the 25 posts in rising were also in new. In a small or medium community, the rising list is mostly the newest posts, so "is it in rising" is a weak signal on its own. Speed does the real work, and the rising flag is a tiebreaker.
Two details in the data matter for your code:
- Some items arrive without a score. In my runs, roughly a third of the items came back with only a handful of fields, and
scoreandnum_commentswerenull. The scanner skips those. Do not divide without checking. - Titles contain HTML entities. A title with an ampersand arrives as
&. Run it throughhtml.unescapebefore you print it.
The scanner
import html
import os
import time
from datetime import datetime, timezone
import requests
BASE = "https://api.steadyapi.com"
API = f"{BASE}/v1/reddit"
HEADERS = {"Authorization": f"Bearer {os.environ['STEADYAPI_KEY']}"}
SUBREDDITS = ["selfhosted", "LocalLLaMA", "webdev", "homeassistant"]
MAX_AGE_HOURS = 12
def feed(subreddit, sort):
for attempt in range(3):
r = requests.get(
f"{API}/posts",
headers=HEADERS,
params={"subreddit": subreddit, "sortType": sort},
timeout=60,
)
if r.status_code in (429, 500, 502, 503):
time.sleep(2 ** attempt)
continue
r.raise_for_status()
data = r.json()
if data.get("success") is False:
raise ValueError(f"r/{subreddit}: {data['message']}")
return data["body"]
raise RuntimeError(f"r/{subreddit} {sort} failed after retries")
def scan():
now = datetime.now(timezone.utc).timestamp()
found = {}
for sub in SUBREDDITS:
new_posts = feed(sub, "new")
rising_posts = feed(sub, "rising")
rising_ids = {p["id"] for p in rising_posts}
for post in new_posts + rising_posts:
# Skip stickied posts and any item that arrives without a score.
if post.get("stickied") or post.get("score") is None:
continue
age = max((now - post["created_utc"]) / 3600, 0.5)
if age > MAX_AGE_HOURS:
continue
found[post["id"]] = {
"sub": sub,
"title": html.unescape(post["title"]),
"score": post["score"],
"comments": post["num_comments"],
"per_hour": post["score"] / age,
"rising": post["id"] in rising_ids,
"url": "https://www.reddit.com" + post["permalink"],
}
return list(found.values())
def show(post):
tag = "rising" if post["rising"] else "new "
print(f" {tag} {post['per_hour']:5.1f} pts/h {post['score']:>4} pts "
f"{post['comments']:>3} comments {post['title'][:58]}")
if __name__ == "__main__":
posts = scan()
print(f"{len(posts)} posts under {MAX_AGE_HOURS}h old in {len(SUBREDDITS)} subreddits\n")
for sub in SUBREDDITS:
print(f"r/{sub}")
for post in sorted((p for p in posts if p["sub"] == sub), key=lambda p: -p["per_hour"])[:3]:
show(post)
print("\nfastest across all subreddits")
for post in sorted(posts, key=lambda p: -p["per_hour"])[:3]:
show(post)
print(f" {post['url']}")
Posts are keyed by id, so a post that appears in both feeds is counted once. The max(..., 0.5) stops a post that is a few minutes old from looking infinitely fast.
Sample output
This is real output from a test run, trimmed to three subreddits. Your numbers will differ, because the feeds change by the minute.
60 posts under 12h old in 4 subreddits
r/selfhosted
rising 19.0 pts/h 40 pts 11 comments Pi-Dock-Wifi: a Raspberry Pi 5 router with two Wi-Fi cards
rising 5.2 pts/h 8 pts 3 comments Own Everything & Be Happy, Ep. 1 | DIY Router Guide
rising 4.8 pts/h 24 pts 6 comments Media Server Dashboard v2
r/LocalLLaMA
rising 58.6 pts/h 370 pts 86 comments New Qwen3.8-27B Unsloth Dynamic V3.1 GGUFs
rising 55.4 pts/h 334 pts 67 comments Open source self driving is here!
rising 46.8 pts/h 212 pts 93 comments Microsoft files a patent application to train AI models on
r/webdev
rising 9.6 pts/h 45 pts 39 comments Update: It's genuinely (not?) depressing
rising 0.2 pts/h 1 pts 10 comments Alternatives to AG-Grid?
rising 0.0 pts/h 0 pts 19 comments Is AI actually that much faster than using a component lib
The numbers only make sense inside one community. 58 points per hour is fast for r/LocalLLaMA and enormous for r/selfhosted. Compare each post with its own subreddit's usual speed, not with other subreddits.
The last two r/webdev rows show why num_comments is worth keeping. A post with 0 points and 19 comments is drawing attention that its score does not show. Print comments next to points, and consider adding comments per hour to your ranking.
Make it a watcher
Run the scanner on a schedule and alert on a threshold, such as 3x the median per_hour for that subreddit. A few practical notes:
- Poll no faster than every 15 minutes. SteadyAPI caches identical listing requests for about 15 minutes, so a faster poll returns the same data.
- Remember what you have already reported. Store post ids in a file or a database and alert once per post.
- Keep the subreddit list short. Every subreddit adds two calls per run. Pick communities where your topic actually shows up.
- Do not trust
topfor this. In my tests,sortType=topreturned only a short recent window (11 posts for r/learnpython, with no cursor), so it is a different tool.
Cost
One run of this scanner makes 8 calls: two feeds for each of four subreddits. Each call has weight 2, so a run costs 16 requests. Hourly runs use about 11,500 requests a month, which fits the Developer plan ($39.99/mo, 50,000 requests) and is over the Starter plan's 10,000. The Free plan's 500 requests a month covers about 31 runs. The standard rate limit is 10 requests per second per account, and only HTTP 200 responses count toward your quota.
Bonus: ask the question directly
If you use Claude Code, Cursor, VS Code, or any MCP client, you can connect it to https://api.steadyapi.com/mcp with your API key. Then you can ask what is rising in a subreddit in plain English, before you build any scheduler.
Conclusion
You pulled the new and rising feeds for several subreddits, turned score and age into points per hour, and printed the fastest posts in each community. The ranking is simple on purpose, so you can tune it to your topic.
Create a free account at steadyapi.com (no card required) and point the scanner at the communities you care about. The API documentation lists every Reddit parameter with ready-made examples in cURL, JavaScript, PHP, and Python.