Go to example tasks

Every comment on one Hacker News discussion

Give it a Hacker News item link and it returns the story plus its whole comment tree flattened into rows: author, posted time, depth, parentId, storyId, the story title and the comment text, up to 200 comments and ten levels deep. Paste several links to do several threads in one run, or raise commentsMinLength to drop one-liners before they are charged. $0.20 per 1,000 items.

Try for free
Hacker News API: Search, Comments, Users & Who Is Hiring
Hacker News API: Search, Comments, Users & Who Is Hiringinsight.solutions/hacker-news-api
Author
Created at
Depth
Text
+3 fields
Text
Number
Boolean
List
Object

Input

Mode:items
Item URLs:https://news.ycombinator.com/item?id=49716176
Include comments:true
Comments per story:200
Comment depth:10
Minimum comment length:0

Output fields

Author
Created at
Depth
Text
Story title
Parent id
Hacker News URL

How it works

Sign up on Apify01

Create your Apify account to access the Hacker News API: Search, Comments, Users & Who Is Hiring.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay