Hacker News Algolia Search avatar

Hacker News Algolia Search

Pricing

from $0.50 / 1,000 hn items

Go to Apify Store
Hacker News Algolia Search

Hacker News Algolia Search

Search Hacker News stories, comments, polls, Ask HN, and Show HN via the official Algolia HN API. No HTML scraping.

Pricing

from $0.50 / 1,000 hn items

Rating

0.0

(0)

Developer

Bryce

Bryce

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Security

Limited permissions

Share

Search Hacker News stories, comments, polls, Ask HN, Show HN, and front-page items via the official HN Algolia API (https://hn.algolia.com/api/v1/).

This Actor is an API client only. It does not scrape news.ycombinator.com HTML.

What you get

FieldDescription
objectID / idHN item id
title / author / urlStory metadata
hnUrlDirect link to the HN item
points / numCommentsScore and comment count
createdAt / createdAtITimestamps
tagsAlgolia _tags (story, comment, …)
storyText / commentTextText bodies when present
sourcesearch or item-lookup

Input

  • query — full-text query (optional)
  • tags — e.g. story, comment, front_page, author_pg, (story,poll)
  • numericFilters — e.g. points>100
  • sort — relevance (/search) or date (/search_by_date)
  • hitsPerPage / maxPages / limit — pagination and hard cap
  • itemIds — optional /items/:id lookups
  • requestDelayMs — polite delay (default 200)

Example

{
"query": "OpenAI",
"tags": "story",
"sort": "relevance",
"hitsPerPage": 20,
"maxPages": 1,
"limit": 20
}

How it works

  1. Calls https://hn.algolia.com/api/v1/search or /search_by_date with query/tags filters.
  2. Optionally fetches https://hn.algolia.com/api/v1/items/:id.
  3. Sends User-Agent: tidydata69-hacker-news-algolia-search (Apify Actor).
  4. Writes one dataset row per item (deduped by objectID).

Pricing (pay-per-event)

EventPriceNotes
apify-actor-start$0.001Synthetic Actor start
item$0.0005One HN item written to the dataset

Limitations & rules

  • No HTML scraping of news.ycombinator.com.
  • Algolia rate limit ~10,000 requests/hour/IP — Actor uses serial requests + delay.
  • Empty query + empty tags + empty itemIds is rejected.

Use cases

  • Track keyword mentions on HN
  • Export front-page / Ask HN / Show HN feeds
  • Enrich datasets with HN discussion metadata