Go to example tasks

Hacker News Scraper - Front Page & Comments

Created byApify

Apify

Fetch the Hacker News front page or any thread as clean Markdown. Useful for trend monitoring, newsletters and LLM summaries. A lightweight Hacker News API alternative.

Try for free
Web Fetch
Web Fetchapify/web-fetch
URL
Status
Title
Markdown
Text
Number
Boolean
List
Object

Input

URL(required):https://news.ycombinator.com/item?id=4058874
Output formats:markdown

Output fields

URL
Status
Title
Markdown

How it works

Sign up on Apify or log in

The Web Fetch Actor is ready to run with the inputs already set for "Hacker News Scraper - Front Page & Comments". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Hacker News Scraper - Front Page & Comments" task

The Web Fetch Actor will start running based on the input automatically. You can also change all the input fields, like URL and output formats, to match your specific use case.

Receive the "Hacker News Scraper - Front Page & Comments" 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 URL, status, title, 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 "Hacker News Scraper - Front Page & Comments" task via API.

Image

Integrate "Hacker News Scraper - Front Page & Comments" into your workflow

Connect "Hacker News Scraper - Front Page & Comments" with 100+ integrations, or run it via API or MCP.

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

Frequently asked questions

Yes. There’s the official Firebase API and the Algolia HN Search API. The Firebase API returns IDs that you have to walk one item at a time. This task returns the whole page or thread in one call.

Yes. Pass any news.ycombinator.com/item?id=… URL to get the post and its comments as Markdown.

The front page, Ask HN, Show HN, newest, best, and any individual thread.

Yes. Each run fetches the live page. Algolia, by comparison, is indexed periodically.