news.ycombinator.com API: get_post_stats
news.ycombinator.com via Parse · news_media
Compute engagement statistics (points and comments) for a set of stories. Returns max, min, median, mean, stdev, and top stories by points and comments. Uses Algolia search sorted by relevance. Scraper for Hacker News stories, comments, users, jobs, and engagement statistics using Firebase and Algolia APIs. Fulfilled by Parse from news.ycombinator.com.
- developer-tools
- jobs
- news-media
- news-ycombinator-com
- parse
- platform-key
- social-media
Price and execution
- Price
- $0.04 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- news_media
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/1ad7a614-cdcd-4bd0-87e6-2cc68e58d555/get_post_stats
- Interface artifact
- sha256:f5004cad8a44280ddcbb098502f0b02f7b597a6c0759374a598751d8093e2780
- Manifest digest
- sha256:998bf3b81986ea9edb13d475ddcdb9edafe80b62e74fd7884255efa5588edc7e
Request fields
- limit (integer): Number of posts to analyze (max 500)
- timeframe (string): Time filter. When specified, story_type in response becomes 'search'.: Allowed values: today, last_24h, last_3d, last_7d, last_week, last_14d, last_30d, last_month
- story_type (string): Story category: Allowed values: top, new, best, ask, show
Example queries
- {"limit":"20","timeframe":"today","story_type":"top"}