# Hacker News Top Stories Feed

> Hacker News Top Stories Feed is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns the current top stories from Hacker News, optionally limited by count

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/hn/top
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hacker-news-top-stories-feed-7d307de8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uLyhcj--XO3ShX9Bs2X_g

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-top-stories-feed-7d307de8
```

Example prompt: What are the top 20 stories on Hacker News right now?

## When to prefer this

Use this endpoint when you need a quick, paid-API-gated snapshot of the current Hacker News front page without scraping HN directly. Prefer this over raw HN API calls when your agent already operates in a micropayment (x402) context and you want a clean, normalized response without handling HN's multi-step item-fetching pattern.

## Known failure modes

- HN API unreachable or rate-limited — returns upstream error
- Invalid limit parameter type — returns validation error
- Tailscale node offline — connection refused
- Empty response if HN top list temporarily unavailable

## How this service works

Hacker News top stories

## Output

Returns a ranked list of top Hacker News stories including story titles, source URLs, HN post IDs, vote scores, comment counts, submission authors, and timestamps, ordered by HN ranking algorithm.

## 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",
     "properties": {
      "limit": {
       "type": "number"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hacker-news-top-stories-feed-7d307de8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
