news.ycombinator.com API: get_top_posts
news.ycombinator.com via Parse · news_media
Get stories from Hacker News by category. Returns formatted story data including title, URL, author, points, and comment count. Stories are returned in the same order as the HN front page for the given category. 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.20 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_top_posts
- Interface artifact
- sha256:6420035844556b7b602e8354cf122e5193a1a85384a27d4b8f09debf4d7b484a
- Manifest digest
- sha256:1bf357a1bc0fe2ff8b2ed45d8f95796f8d23da622489d076451fd0d1828f900f
Request fields
- limit (integer): Maximum number of stories to return (max 500)
- story_type (string): Story category to fetch: Allowed values: top, new, best, ask, show
Example queries
- {"limit":"5","story_type":"top"}