Pricing
from $1.00 / 1,000 results
Go to Apify Store
Hackernews Thread Fetcher
๐ฐ Fetch Hacker News thread data using the official Firebase API - no authentication required! Perfect for tech news monitoring and community insights.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
5 months ago
Last modified
Categories
Share
Hacker News Thread Fetcher
๐ฐ Fetch Hacker News thread data using the official Firebase API - no authentication required! Perfect for tech news monitoring and community insights.
๐บ What It Extracts
- Thread Metadata: ID, title, author, score, URL, submission time
- Comment Data: All comments with author, text, score, and timestamps
- Thread Structure: Parent-child relationships between comments
- Statistics: Total comment count and thread metadata
๐ Key Features
| Feature | Description |
|---|---|
| ๐ฅ Firebase API | Uses official Hacker News Firebase API |
| ๐ No Authentication | Zero friction - no API keys required |
| ๐ Complete Threads | Fetches all comments and nested replies |
| โก Fast Performance | Direct API access for quick data retrieval |
| ๐ Flexible Input | Accepts item ID or thread URL |
| ๐ Structured Output | Clean JSON format with thread hierarchy |
๐ฅ Input
Required (One of)
itemId(integer): Hacker News item ID- Example:
12345678
- Example:
threadUrl(string): Hacker News thread URL- Example:
"https://news.ycombinator.com/item?id=12345678"
- Example:
๐ค Output
Returns comprehensive thread data:
Thread Metadata
{"item":{"id":12345678,"title":"Thread Title","author":"username","score":150,"url":"https://example.com/article","time":1704067200,"timeDate":"2024-01-01T00:00:00.000Z","descendants":45,"type":"story"}}
Comments Array
{"comments":[{"id":12345679,"author":"commenter","text":"Comment text...","score":10,"time":1704067300,"timeDate":"2024-01-01T00:01:40.000Z","parent":12345678,"kids":[12345680]}],"totalComments":45}
๐ก Use Cases
- โ Tech News Monitoring - Track trending topics and discussions
- โ Community Insights - Analyze comment sentiment and engagement
- โ Content Research - Find relevant discussions and insights
- โ Trend Analysis - Monitor popular topics over time
- โ Social Listening - Track discussions about specific topics
- โ Data Analysis - Collect data for research and analytics
โ๏ธ Technical Details
- API Source: Official Hacker News Firebase API
- No Authentication: Public API - no keys required
- Data Format: JSON responses from Firebase
- Error Handling: Validates item IDs and handles missing threads
- Performance: Fast API-based extraction without browser overhead
๐ Example Usage
Using Item ID
{"itemId":12345678}
Using Thread URL
{"threadUrl":"https://news.ycombinator.com/item?id=12345678"}
โ ๏ธ Important Notes
- Uses Hacker News Firebase API - no authentication needed!
- Item IDs can be found in the URL:
https://news.ycombinator.com/item?id=12345678 - Threads with deleted comments will show
nullfor deleted comment fields - The API is rate-limited but generally very permissive
