Hacker News Scraper
Pricing
from $0.30 / 1,000 story or comments
Hacker News Scraper
Search Hacker News stories, Show HN, Ask HN and comments by keyword and date, with points, comment counts and links, using the official HN search API.
Hacker News Scraper
Pricing
from $0.30 / 1,000 story or comments
Search Hacker News stories, Show HN, Ask HN and comments by keyword and date, with points, comment counts and links, using the official HN search API.
You can access the Hacker News Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
$echo '{< "searchQueries": [< "web scraping"< ],< "maxItemsPerQuery": 30<}' |<apify call rsiddiq95/hacker-news-scraper --silent --output-datasetThe Apify CLI is the official tool that allows you to use Hacker News Scraper locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: