ニュース
Hacker News Scraper - Stories, Points & Comments
Scrape Hacker News stories by keyword with points, comment counts, author, URL, tags and timestamps. Sort by relevance or newest. Export to JSON, CSV or Excel.
hacker-news-scraper.json 200 OK
{ "objectID": "22238335", "title": "Why Discord is switching from Go to Rust", "author": "Sikul", "points": 1582, "numComments": 642, "url": "https://blog.discordapp.com/why-discord-is-swi…", "storyUrl": "https://news.ycombinator.com/item?id=22238335", "domain": "blog.discordapp.com", "tags": ["story","author_Sikul","story_22238335"] }
得られるもの
各実行で、型が揃ったきれいなレコードを返します。CRM・スプレッドシート・データベースにそのまま使えます。
- 結果ごとに 1 レコード、重複排除・正規化済み
- JSON・CSV・Excel の安定したスキーマ、または Apify API で読み取り
- クラウドで従量課金。インストールも保守も不要
返される項目
Object IDTitleAuthorPointsNum CommentsUrlStory UrlDomainTagsCreated AtTop Comments
出力サンプル
実際の 1 レコード例。受け取る形そのままです。
| Object ID | Title | Author | Points |
|---|---|---|---|
| 22238335 | Why Discord is switching from Go … | Sikul | 1582 |
| 40172033 | Leaving Rust gamedev after 3 years | darthdeus | 1484 |
| 25610741 | A half-hour to learn Rust | selvan | 1444 |
GET /hacker-news-scraper
{ "objectID": "22238335", "title": "Why Discord is switching from Go to Rust", "author": "Sikul", "points": 1582, "numComments": 642, "url": "https://blog.discordapp.com/why-discord-is-swi…", "storyUrl": "https://news.ycombinator.com/item?id=22238335", "domain": "blog.discordapp.com", "tags": ["story","author_Sikul","story_22238335"] }
関連スクレイパー
よくある質問
Can I get the newest stories instead of the most relevant?
Yes. Set the sort option to newest first to get stories in reverse chronological order.
Does it include the discussion link?
Yes. Every record includes a direct link to the Hacker News thread and, when present, the linked article URL.
How many stories can I collect?
As many as match your keyword; set Max Items to control the total.
How fresh is the data?
Points and comment counts are read live at run time, so each record reflects the moment of the run (see observedAt).