Hacker News API for AI agents

Scrollport gives AI agents 3 tools to search Hacker News, from Hacker News, through one MCP, CLI or HTTP connection. Each costs $0.0050 per request, paid per use from one prepaid wallet with no subscription, provider accounts or API keys.

Updated

What is the best Hacker News API for AI agents?

Start with Search to find Hacker News stories and comments by keyword. Then use Thread to read a story's discussion, or User Profile for a user's karma and bio.

Start with

Search

by Hacker News$0.0050 per request

Best for: stories and comments by keyword

You ask your agent

“Find the Hacker News post “My YC app: Dropbox - Throw away your USB drive”.”

You get

Title
My YC app: Dropbox - Throw away your USB drive
Type
story
State
available
Author
dhouston
Points
104
Created at
2007-04-04 19:55 UTC
Source URL
https://news.ycombinator.com/item?id=8863
Comment count
71

Then

  • A story's discussion: Thread by Hacker News$0.0050 per request
  • A user's karma and bio: User Profile by Hacker News$0.0050 per request

Compare all 3 Hacker News API tools

ToolWhat it returnsPrice
SearchHacker NewsSearch public Hacker News stories, comments, jobs and polls with bounded time, type and sort filters.$0.0050/request
ThreadHacker NewsRetrieve one public Hacker News item with a bounded nested comment tree and explicit truncation state.$0.0050/request
User ProfileHacker NewsRetrieve one public Hacker News username with karma, plain-text bio and canonical profile link.$0.0050/request

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Then help me search Hacker News with Scrollport's Hacker News API tools. Start with Search (tool ID: hacker-news.search) unless another Scrollport tool fits my request better. Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Questions about Hacker News API

Is the Hacker News API free?

Hacker News sets the terms for the official Hacker News API. Through Scrollport there is nothing to register with Hacker News: these tools start at $0.0050 per request, paid per use from a prepaid wallet, and connecting your first agent adds $1 of trial credit.

Learn more about Hacker News research

Frame the technical question

Describe the product decision, pain point, launch or technical claim you want to investigate and the useful time period. Give known stories, authors or terms as seeds, then let the agent discover the relevant submissions and complete discussions.

What can Hacker News research reveal?

Threads can reveal practitioner concerns, technical arguments, launch reactions and source links. Visibility reflects timing and community voting, so it should not be treated as representative market sentiment.

Keep comments attached to their thread

Ask the agent to retain story and comment links, parent context and timestamps, identify disagreement and distinguish firsthand evidence from speculation.

Example prompt

This prompt uses threads as contextual technical evidence.

Example prompt to give your agent

Use Scrollport's Hacker News research tools to investigate discussions about [TOPIC] between [DATES]. Include relevant stories and comment threads with source links and context, identify recurring technical claims and credible disagreement, and state the sampling and community limitations. Show me the price before the paid run.