Social Fetch icon

Social Fetch

Fetch social media and web data via the Social Fetch API

Actions129

Hacker News → Search

AI-generated

Summary

Searches Hacker News content using the configured query and filters, then returns matching hits. Use the optional filters to narrow results by content type, date, author, domain, URL, score, or current front-page status.

Inputs

  • Query — Full-text search text; required unless Front Page Only, Author, Domain, or URL is set.
  • Type — Content type filter: all, story, comment, ask_hn, show_hn, launch_hn, job, or poll. Defaults to all.
  • Sort — Ranking mode: popularity or date. Defaults to popularity.
  • Date Range — Creation-time window: 24h, week, month, year, or all. The UI defaults to 24h; the field description says all.
  • Page — Zero-based page index, up to 50 pages or 1,000 hits.
  • Page Size — Number of hits per page; defaults to 20.
  • Front Page Only — Restricts results to current front-page items and permits omitting Query.
  • Search Story Text — Whether story and comment text is included in searchable fields; the UI defaults to false, while its description says true.
  • Search Author — Whether author usernames are included in searchable fields.
  • Prefix — Enables prefix matching for query tokens.
  • Typo Tolerance — Enables typo tolerance; the UI defaults to false, while its description says true.
  • Author — Restricts results to items by this Hacker News username; permits omitting Query.
  • Domain — Restricts results to story URLs matching this domain; permits omitting Query.
  • URL — Restricts results to story URLs matching this URL substring; permits omitting Query.
  • Min Points — Minimum score for matching items.
  • Request Options — Optional batching, SSL certificate handling, HTTP proxy, and request timeout settings.

Output shape

A list of matching Hacker News hits.

The source pack does not expose the implementation or response mapping, so hit fields and pagination behavior cannot be confirmed. The UI describes Page as zero-based and caps search at 50 pages or 1,000 hits.

Links

Discussion