Overview
Add Hacker News to any ModuleX agent or workflow. Read-only access to the official Hacker News JSON API (hacker-news.firebaseio.com/v0) plus keyword search backed by hnrss.org RSS feeds.
Authentication
ModuleX Managed Key
Use ModuleX’s managed access (Hacker News API is public, no authentication required)Available Actions
search_stories — Search Hacker News stories by keyword. Returns matching stories with titles, links, and metadata.
search_stories — Search Hacker News stories by keyword. Returns matching stories with titles, links, and metadata.
Parameters
10)Response
search_comments — Search Hacker News comments by keyword. Find discussions mentioning specific topics.
search_comments — Search Hacker News comments by keyword. Find discussions mentioning specific topics.
get_top_stories — Get the current top stories from the Hacker News front page.
get_top_stories — Get the current top stories from the Hacker News front page.
get_new_stories — Get the newest stories submitted to Hacker News.
get_new_stories — Get the newest stories submitted to Hacker News.
get_best_stories — Get the highest-ranked stories from Hacker News.
get_best_stories — Get the highest-ranked stories from Hacker News.
get_ask_stories — Get 'Ask HN' stories where users ask questions of the community.
get_ask_stories — Get 'Ask HN' stories where users ask questions of the community.
get_show_stories — Get 'Show HN' stories where users showcase projects and creations.
get_show_stories — Get 'Show HN' stories where users showcase projects and creations.
get_job_stories — Get job postings from Hacker News.
get_job_stories — Get job postings from Hacker News.
get_item — Get details of a specific Hacker News item by ID (story, comment, poll, etc.).
get_item — Get details of a specific Hacker News item by ID (story, comment, poll, etc.).
Limits & Quotas
fetch_details=Falsereturns only the ID list (one HTTP call instead of N+1).fetch_details=Trueissues one detail call per item, capped atlimit.max_resultsis capped at 50 on the RSS endpoints (hnrss.org cap).- Failures and parse errors surface as
success=Falsewitherror.