HN/Reddit Sentiment Analyzer avatar

HN/Reddit Sentiment Analyzer

Pricing

Pay per usage

Go to Apify Store
HN/Reddit Sentiment Analyzer

HN/Reddit Sentiment Analyzer

Fetch posts from Hacker News and Reddit, run VADER sentiment analysis, and output structured results with sentiment scores, keywords, and metadata. Perfect for brand monitoring, trend detection, and market research.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Oaida Adrian

Oaida Adrian

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Fetches posts from Hacker News and Reddit, runs VADER sentiment analysis, and outputs structured results.

What It Does

  • Hacker News: Fetches top or new stories via the Firebase API
  • Reddit: Fetches posts from any subreddit (hot, new, top, rising)
  • Sentiment Analysis: VADER scores for positive, negative, neutral, and compound
  • Keywords: Top keywords extracted from each post
  • Aggregation: Overall sentiment breakdown and average compound score

Input Options

OptionDescription
sourceshackernews, reddit, or both
subredditComma-separated subreddits (required for reddit)
sortByReddit sort: hot, new, top, rising
hnSortHN sort: top or new
maxPostsMax posts to analyse (default: 50)
sentimentFilterFilter by positive, negative, or neutral
minScoreMinimum upvotes required

Output

Each dataset item includes:

{
"source": "hackernews",
"title": "Show HN: I built a sentiment analyzer",
"sentiment": "positive",
"sentimentScores": {
"positive": 0.4521,
"neutral": 0.5479,
"negative": 0.0,
"compound": 0.6486
},
"keywords": ["sentiment", "analyzer", "built"],
"score": 125,
"commentsCount": 42
}

Use Cases

  • Brand monitoring: Track sentiment about your product on HN and Reddit
  • Trend detection: Spot negative sentiment before it goes viral
  • Market research: Understand community feeling about technologies
  • Content curation: Filter positive or negative discussions