Hacker News Stories Jobs and Comments

From OpenData Knowledge Wiki

Hacker News Stories Jobs and Comments is a public web data collector published by OpenData Best as the Apify Actor lentic_clockss/hacker-news-scraper (worker ID hackernews-com).[1] Hacker News stories, Ask HN, Show HN, jobs, polls and nested comments by keyword search, live feeds or item IDs, one row per entity.[2] It belongs to the Social media & ads category and is available on 6 channels listed below.

Overview

A spreadsheet of Hacker News posts, either from lists such as Front page, Ask HN, Show HN or Jobs, or from the results of a keyword search.

Each row is one public Hacker News item, such as a post or comment. Enter Search words, or leave them empty and choose Hacker News lists such as Front page, Ask HN, Show HN or Jobs, then choose Item types to keep.

Collection modes: Keyword search, Live feeds, Known item IDs.

All publishing channels

ChannelLinkAccess details
OpenData ShopHacker News feed | Ask, Show, Jobs[3]free sample CSV · 中文商品页
Apify Storelentic_clockss/hacker-news-scraper[1]Publisher page apify.com/lentic_clockss; API, schedules, n8n, Make and Clay
RapidAPI HubHacker News Stories Jobs and Comments[4]RapidAPI team: Jobs and Talent Data; subscribe and call with a RapidAPI key
API.marketNot listed—
AI MCP serverOpenAPI 3.1 description[5]Single-source endpoint https://ai.opendata.best/s/hackernews-com/mcp; all sources with OpenData wallet billing https://ai.opendata.best/mcp; $0.005 per row
x402 micropaymentsOpenAPI description[6]Pay-per-call endpoint https://x402.opendata.best/s/hackernews-com/v1/search; USDC on Base, no account or API key; $0.002 per row, up to 20 rows per call
APIHub.io gatewayOpenAPI 3.0 description[7]Gateway host ah-hackernews-com.opendata.best
Workflows and docsn8n-nodes-opendata-actors (OpenData Catalog node, source hackernews-com) · opendata-best-mcp · pi-opendata-mcpspecification page · GitHub card · Hugging Face preview card

Every channel uses the same collector and bills per delivered row; MCP, x402 and API.market MCP endpoints are addresses for clients (POST requests), not web pages.

Key output fields

38 documented output fields; the most used are itemId, type, by, time, createdAt, title, text, url. The first 30 are listed; the specification page lists all of them with the sample preview.

FieldTypeDescription
itemIdstring
rowTypestring
idstring
typestring
bystring | null
timeinteger | null
createdAtstring | null
titlestring | null
textstring | null
urlstring | null
hnUrlstring
parentIdstring | null
kidsarray | nullDirect child item IDs, limited to the first 50; an empty array means no children. Null in keyword-search rows because child lists are not available there.
kidsCountinteger | nullTotal direct children before truncation, including zero when there are none. Null in keyword-search rows; descendants is the published total comment count when…
partsarray | nullPoll-option item IDs, limited to the first 50; an empty array means no options. Null in keyword-search rows because option lists are not available there.
partsCountinteger | nullTotal poll options before truncation, including zero when there are none. Null in keyword-search rows.
rootTitlestring | null
scoreinteger | null
descendantsinteger | null
deletedboolean
deadboolean
sourceFeedsarray
rootItemIdstring
depthinteger | nullDistance from rootItemId (0 for the root). In keyword-search mode story/job/poll hits are 0 and comment/pollopt hits are null because the search source does no…
sourceSearchQuerystring | null
searchRankinteger | null
sourcestring
scrapedAtstring
phonesarrayCurrently empty because phone extraction is not verified. Numeric item IDs, dates, versions, and time-zone offsets are not treated as phone numbers.
emailsarrayPublic email addresses attributable to the item author. The Hacker News platform footer address is excluded.

Use with Claude and Gemini

The source is a tool on the OpenData MCP server.[8] Claude and Gemini CLI connect to the shared endpoint https://ai.opendata.best/mcp and sign in with OAuth or an OpenData API key; the single-source endpoint is https://ai.opendata.best/s/hackernews-com/mcp. Setup guides: Claude · Gemini.

Claude Code

claude mcp add --transport http opendata https://ai.opendata.best/mcp
# then run /mcp in Claude Code and choose Authenticate

Gemini CLI

gemini mcp add --transport http opendata https://ai.opendata.best/mcp
# then run /mcp auth opendata in Gemini CLI

Example input

Example input

{
  "searchQuery": "AI agents",
  "recordTypes": [
    "story",
    "comment"
  ],
  "maxResults": 5
}

Billing

  • One delivered row is one billable unit on every channel. A confirmed empty result, an input error, a source failure or a timeout creates no billable rows.
  • Apify: $0.0015 per row on the Free plan plus a $0.005 start event; runs stop at maxTotalChargeUsd.
  • MCP server: $0.005 per row from a prepaid OpenData wallet.
  • x402: $0.002 per row in USDC on Base.
  • OpenData Shop: $5.00 per 1,000 rows for the first 1,000 and $3.00 per 1,000 after, $1.00 minimum; missing rows are credited back.
  • RapidAPI, API.market and APIHub.io: billed under the marketplace plan you subscribe to.

Frequently asked questions

What does Hacker News Stories Jobs and Comments return?

Hacker News stories, Ask HN, Show HN, jobs, polls and nested comments by keyword search, live feeds or item IDs, one row per entity. Each row describes one entity; 38 output fields are documented.

Where can I use Hacker News Stories Jobs and Comments?

On OpenData Shop, Apify Store, RapidAPI Hub, AI MCP server, x402 micropayments, APIHub.io gateway.

How is it billed?

Per delivered row on every channel; empty results, input errors, source failures and timeouts are not billed.

See also

References

  1. Hacker News Scraper - Stories, Jobs & Comments on the Apify Store https://apify.com/lentic_clockss/hacker-news-scraper
  2. Specification page for hackernews-com https://kaneliu120.github.io/datasets/hackernews-com/
  3. Hacker News feed | Ask, Show, Jobs on OpenData Shop https://shop.opendata.best/products/hacker-news-feed
  4. Hacker News Stories Jobs and Comments on RapidAPI https://rapidapi.com/opendata-best-jobs-and-talent-data/api/hacker-news-stories-jobs-and-comments
  5. OpenAPI description of the hackernews-com MCP tool https://ai.opendata.best/s/hackernews-com/openapi.json
  6. x402 OpenAPI description for hackernews-com https://x402.opendata.best/s/hackernews-com/openapi.json
  7. APIHub.io gateway OpenAPI for hackernews-com https://ah-hackernews-com.opendata.best/s/hackernews-com/openapi.json
  8. OpenData Best remote MCP server https://ai.opendata.best/

Directories: Apify Actors and Workers (127) · RapidAPI APIs (112) · API.market APIs (40) · APIHub.io gateways (92) · Workflow and agent integrations · Categories: Real estate · E-commerce · Social media & ads · Food delivery · Travel · Local business · B2B & suppliers · Jobs & talent · Events & tickets · Apps & developers · Data quality & web tools