HN Stories + Comment Trees for LLM Datasets
Omar Eldeeb
Hacker News Scraper
Export Hacker News stories with full nested comment trees — clean structured discussions for RAG, training, and AI data pipelines.
Input
Output fields
Sign up on Apify or log in
The Hacker News Scraper Actor is ready to run with the inputs already set for "HN Stories + Comment Trees for LLM Datasets". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "HN Stories + Comment Trees for LLM Datasets" task
The Hacker News Scraper Actor will start running based on the input automatically. You can also change all the input fields, like scraping mode, max items, and more, to match your specific use case.
Receive the "HN Stories + Comment Trees for LLM Datasets" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as ID, title, author, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "HN Stories + Comment Trees for LLM Datasets" task via API.

Integrate "HN Stories + Comment Trees for LLM Datasets" into your workflow
Connect "HN Stories + Comment Trees for LLM Datasets" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay