# Hacker News Search via Algolia (x402.agentutility.ai)

> Hacker News Search via Algolia (x402.agentutility.ai) is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Searches the Hacker News Algolia index for stories, comments, and polls, filtering by author, points, and date range, with relevance or recency sorting.

## Facts

- Endpoint: POST https://x402.agentutility.ai/hacker-news-search
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hacker-news-search-via-algolia-x402-agentutility-ai-0d158808
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A1PmmvdmzX97CGrFTGztB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hacker-news-search-via-algolia-x402-agentutility-ai-0d158808 -d '<json body>'
```

Example prompt: Search Hacker News for Show HN posts about AI developer tools from the past 3 months, sorted by most points, and only include stories with at least 50 points.

## When to prefer this

Use this endpoint when you need structured, filterable access to Hacker News content — especially for startup intelligence, YC news, Show HN tracking, or developer sentiment — and want to combine text search with point thresholds and date ranges. Prefer it over a generic web search when the target audience is specifically the HN tech/founder community and you need structured metadata (points, comment counts, authors) rather than raw HTML.

## Known failure modes

- Query returns zero results if the search terms are too narrow or date range excludes relevant content
- Minimum points filter too high may exclude all results for niche topics
- Invalid ISO-8601 date format causes request rejection
- API payment failure via x402/USDC results in 402 response and no data returned
- Algolia index may have a slight delay on very recent posts

## How this service works

Search Hacker News for startup news, YC news, Show HN launches, and founder discussion through the Algolia HN index. Send a query, then filter stories, comments, or polls by author, minimum points, and ISO-8601 date range; sort by relevance or newest first. Returns titles, authors, points, comment counts, timestamps, URLs, and matching text. Use it as a startup news search API, YC news search, Show HN tracker, or developer news feed.

## Output

Returns a list of matching Hacker News items, each containing the title, author username, points score, number of comments, publication timestamp, original URL, and any matching text snippet from the story or comment body.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "rust async",
  "source": "https://hn.algolia.com/api/v1/search",
  "results": [
   {
    "id": "39800000",
    "url": "https://without.boats/blog/async-rust-3/",
    "title": "Async Rust in three parts",
    "author": "boats",
    "points": 412,
    "created_at": "2024-03-15T14:22:01.000Z",
    "comments_count": 137
   }
  ],
  "total_hits": 4567
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hacker-news-search-via-algolia-x402-agentutility-ai-0d158808/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
