# SiteSignal Hacker News Trending

> SiteSignal Hacker News Trending is a paid API for AI agents from phases-prot-shine-royal.trycloudflare.com, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Fetches up to 20 current top stories from Hacker News with rank, score, comment count, timestamps, and source links.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/hackernews-trending
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-hacker-news-trending-70d8b681
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_REBGAYlXWcZaLmM07o72h

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 sitesignal-hacker-news-trending-70d8b681
```

Example prompt: Pull the top 15 stories from Hacker News right now — I want each one's rank, score, comment count, and a link to the original source.

## When to prefer this

Choose this endpoint when you need a quick, structured snapshot of current Hacker News front-page stories with enriched metadata (score, comments, timestamps, links) in a single call — especially useful for newsletters, developer dashboards, or agent briefings that need ranked tech news with source attribution, without scraping HN directly.

## Known failure modes

- Hacker News API unavailable or rate-limited — upstream fetch fails
- limit parameter out of range (must be 1–20) — validation error
- Cloudflare tunnel instability causing intermittent 502/503 responses
- Stale data if upstream HN API is slow to reflect new rankings

## How this service works

Return up to twenty current top stories from the official Hacker News API with rank, score, comments, timestamps, and source links.

## Output

Returns up to 20 Hacker News top stories, each including rank position, title, score (upvotes), comment count, submission timestamp, the HN story link, and the original source URL.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 20,
       "minimum": 1
      }
     }
    }
   },
   "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/sitesignal-hacker-news-trending-70d8b681/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phases-prot-shine-royal.trycloudflare.com](https://www.zero.xyz/host/phases-prot-shine-royal.trycloudflare.com/llms.txt)
