Search

Search public Hacker News stories, comments, jobs and polls with bounded time, type and sort filters.

by Hacker NewsReady to run$0.0050 per request · $0.50 per 100 requests

Example

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
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "hacker-news.search",
  "input": {
    "sort": "relevance",
    "type": "story",
    "limit": 5,
    "query": "My YC app: Dropbox - Throw away your USB drive"
  }
}

Response

{
  "sort": "relevance",
  "type": "story",
  "items": [
    {
      "id": "8863",
      "type": "story",
      "state": "available",
      "title": "My YC app: Dropbox - Throw away your USB drive",
      "author": "dhouston",
      "points": 104,
      "created_at": "2007-04-04T19:55:01.000Z",
      "source_url": "https://news.ycombinator.com/item?id=8863",
      "comment_count": 71
    }
  ],
  "captured_at": "2026-08-21T00:00:00.000Z",
  "returned_results": 1
}

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. Help me use Search (tool ID: hacker-news.search). 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.

Other tools for this job

Compare all 3 →
  • ThreadHacker News$0.0050 per request
  • User ProfileHacker News$0.0050 per request

Questions

Is Search by Hacker News free?

Scrollport has no free tier: it costs $0.0050 per request ($0.50 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Hacker News?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Hacker News, so you don't sign up with Hacker News or manage an API key.

Details

About this tool

Search Hacker News public content by query, relevance or recency, optional content type and optional creation-time bounds. Returns at most 50 normalized items with string IDs, author, plain text, timestamps, scores, hierarchy, external links and canonical Hacker News links. It does not promise complete historical coverage or perform unrestricted crawling.

All inputs and outputs

Input

created_fromstring · optional

format: date-time

created_tostring · optional

format: date-time

limitinteger · optional

Maximum number of results to return.

minimum: 1 · maximum: 50

querystring · required

Search terms used to find relevant records.

minLength: 1 · maxLength: 500

sortstring · optional

Sort order for the results.

enum: relevance, date

typestring · optional

enum: all, story, comment, job, poll

Output

captured_atstring

When the data was retrieved.

itemsarray

Result records.

returned_resultsnumber

Number of results returned.

sortstring
typestring
Errors and limits
  • invalid_input: The query, content type, time range, sort or result limit was outside the bounded Hacker News search contract.example: {"query":"My YC app: Dropbox - Throw away your USB drive","type":"story","sort":"relevance","limit":5}