# Hacker News Engagement Metrics via Algolia Search

> Hacker News Engagement Metrics via Algolia Search is a paid API for AI agents from webtools402.176-109-107-191.sslip.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns Hacker News story count, total/average points and comments, and top stories for a given search query over a configurable time window.

## Facts

- Endpoint: GET https://webtools402.176-109-107-191.sslip.io/dev/hn
- Price: $0.003/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-engagement-metrics-via-algolia-search-b97f12d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zxvFtBW2CDg5GTPuGlzD3

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-engagement-metrics-via-algolia-search-b97f12d3
```

Example prompt: How is 'Deno' performing on Hacker News over the last 180 days — give me the story count, average points, and the top posts.

## When to prefer this

Choose this endpoint when you need quantitative Hacker News engagement data — story count, aggregated points and comments, and top posts — for a project, library, or topic. It is ideal for gauging developer community interest or sentiment without needing an API key, as it wraps the free Algolia HN search API. Prefer this over scraping or manual HN search when you need structured, aggregated metrics.

## Known failure modes

- Missing required 'query' parameter returns an error
- Days value outside 1–3650 range is rejected by schema validation
- Obscure or misspelled queries may return zero stories with empty results
- Network or upstream Algolia API downtime causes 5xx responses
- Payment failure or insufficient USDC balance blocks access

## How this service works

Hacker News engagement / dev-sentiment for a project or topic: story count, total & average points and comments, and the top stories (title/url/points/comments/date). From the keyless HN Algolia search API.

## Output

A structured summary including total story count, total and average points and comments, and a list of top Hacker News stories (title, URL, points, comment count, date) matching the query within the specified time window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "days": {
       "type": "integer",
       "maximum": 3650,
       "minimum": 1,
       "description": "Look-back window in days (default 365)"
      },
      "query": {
       "type": "string",
       "description": "Free-text search query (project/topic name)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hacker-news-engagement-metrics-via-algolia-search-b97f12d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtools402.176-109-107-191.sslip.io](https://www.zero.xyz/host/webtools402.176-109-107-191.sslip.io/llms.txt)
