Hacker News Scraper

ENDPOINTS
GET/stories/details

Story Details

Get one story, job or poll: title, link, text, author, points, comment count and date.

QUERY PARAMS

The story, job or poll to read: its id or its Hacker News link.

Examples:

  • ID: 35154527
  • Link: https://news.ycombinator.com/item?id=35154527
{
  "id": 35154527,
  "type": "story",
  "title": "GPT-4",
  "link": "https://news.ycombinator.com/item?id=35154527",
  "article_link": "https://openai.com/research/gpt-4",
  "domain": "openai.com",
  "text": null,
  "links": [],
  "author": {
    "username": "e0m",
    "link": "https://news.ycombinator.com/user?id=e0m"
  },
  "points": 4091,
  "comment_count": 2507,
  "is_ask_hn": false,
  "is_show_hn": false,
  "is_launch_hn": false,
  "is_on_front_page": false,
  "is_dead": false,
  "is_deleted": false,
  "created_at": "2023-03-14T16:55:34Z",
  "poll_options": null
}