All appsNews

Hacker News API

Read Hacker News: pull the Top, New, Best, Ask HN, Show HN, and Jobs story feeds, search stories and comments, fetch any item or a whole comment thread, and look up a user's profile. No key needed. Call it from Lodol with no code and send what it returns to any other app.

actions
5

Actions

Steps a workflow can run in Hacker News.

  • Get storiesFetch a Hacker News story feed (Top, New, Best, Ask HN, Show HN, or Jobs) as full story records. Returns the stories in the feed's own ranking order.
  • Get itemFetch a single Hacker News item (a story, comment, job, or poll) by its numeric id. A full news.ycombinator.com item URL is also accepted.
  • Get userFetch a Hacker News user's public profile by username: their karma, account age, about text, and submitted-item ids. Usernames are case-sensitive.
  • Search Hacker NewsSearch Hacker News stories and comments by keyword, through Hacker News Search. Narrow it to one kind of post or one author, and sort by relevance or newest first.
  • Get story with commentsFetch a Hacker News story and every comment under it in one go, in reading order, each with how deeply it is nested.

Automate Hacker News with Lodol.

Connect Hacker News, then hand Lodol the job in Slack, Claude or ChatGPT.

Free plan, no credit card