Stories about AI, 10 results
Search Hacker News stories by keyword.
Updated November 14, 2026
What this example returns
This example returns up to 10 results.
The dataset’s “Overview” view shows 11 columns: Rank, Type, Title, Link, Author, Points, Comments, Created, Text, HN page, and Input. See every output field.
What each setting does
The input this example runs Hacker News Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- Search queries
searchQueries artificial intelligence
Keywords to search across all Hacker News stories and comments (full-text search). Each query returns up to Max results.
- Max results per input
maxResults 10
Maximum stories or comments per search query, list or user (comments under stories are counted separately). 0 = all available. Relevance search lists 1,000 hits per query; past that, the query is read again in date windows, each sorted by relevance.
Default: 20 → this example uses 10
- Sort search results by
sortBy Relevance
Relevance ranks by match quality and popularity (the first 1,000 results in one ranking, more in date windows, newest window first). Date returns the newest first.
- Include comments
includeComments No
Add the comment tree of every story from searches, lists and usernames as extra rows (recordType 'comment', with depth and parent). Item URLs always return their comment tree, capped by the max comments per item.
- Max comments per story
maxCommentsPerItem 5
Cap on comments per story or item. 0 = the whole thread.
Default: 50 → this example uses 5
- Max comment depth
maxCommentDepth 0
1 = direct replies only, 2 = replies to replies, ... 0 = any depth.
- User submissions
userContent Stories
What to return for each username besides the profile (newest first, up to Max results).
{
"searchQueries": [
"artificial intelligence"
],
"storyLists": [],
"maxResults": 10,
"sortBy": "relevance",
"includeComments": false,
"maxCommentsPerItem": 5,
"maxCommentDepth": 0,
"userContent": "stories"
}What it costs
From about $0.008 for 10 results
An estimate at the lowest plan price: 10 × $0.000796 per result (One Hacker News story, comment or user profile saved to the dataset). A run is charged for the events it reports, so one that finds fewer results costs less. Platform usage is included in the event price.
When to use this example
From the Hacker News Scraper readme:
Why are some fields empty?
Hacker News leaves them empty: link posts have no text, Ask HN posts have no url, comments have no points (HN hides them), and deleted comments are skipped.
Known limit
Comment scores are not public on Hacker News, so points is empty for comments.
Other ways to run Hacker News Scraper
- Newest Hacker News stories, 10 resultsThe live list of new stories.
- Newest Rust stories with 100+ points, 10 resultsPopular stories sorted by date.
- Story with its comments, 10 commentsA story and its comment tree from an item link.
About Hacker News Scraper
Scrape Hacker News stories, comments, front-page lists and user profiles. Full-archive search with points, comments, date and author filters, complete comment trees, live rankings. No login needed.
- Price:
- From $0.796 / 1,000 results
- Developer:
- Querystone
- Categories:
- News, Developer tools
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.