# eu-verify Hacker News Top Stories

> eu-verify Hacker News Top Stories is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Fetches the current top stories from Hacker News front page, returning titles, scores, URLs, comment counts, and ages

## Facts

- Endpoint: GET https://data.greeneris.io/v1/dev/hn-top
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-verify-hacker-news-top-stories-57b75b60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z5rf4iS5yf0vHY0heTU9i

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 eu-verify-hacker-news-top-stories-57b75b60
```

Example prompt: What are the top 20 Hacker News stories right now? Only show me ones with at least 50 upvotes.

## When to prefer this

Use this endpoint when you need live Hacker News front page data without scraping, want filtered results by minimum score, need a pay-per-call model with no API key registration, or are building an agent that needs current tech community sentiment or trending developer topics.

## Known failure modes

- HTTP 402 returned if USDC payment via x402 protocol not completed — machine-readable quote is included in response body
- n parameter out of range (must be 1–30) returns validation error
- min_score below 0 returns validation error
- Hacker News Firebase API temporarily unavailable causes upstream error
- Empty result set if min_score threshold is set too high and no stories qualify

## How this service works

Current Hacker News front page via the official Firebase API, fanned out and merged into one payload: id, title, url, score, comment count and age in minutes per story. Query: ?n=20 (1-30 stories) &min_score=100 (optional score floor). Real-time tech signal for launch/incident/buzz detection. 5min cache.

## Output

A JSON object containing a count field, a source attribution string ('Hacker News official Firebase API (live front page)'), and an array of stories each with id, url, score, title, age_min (age in minutes), and comments fields, sorted by score descending.

## 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",
     "properties": {
      "n": {
       "type": "integer",
       "default": 20,
       "maximum": 30,
       "minimum": 1,
       "description": "Number of stories"
      },
      "min_score": {
       "type": "integer",
       "default": 0,
       "minimum": 0,
       "description": "Minimum upvote score"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "source": "Hacker News official Firebase API (live front page)",
  "stories": [
   {
    "id": 48888518,
    "url": "https://example.dev/sqlite-vfs",
    "score": 312,
    "title": "Show HN: A fast SQLite VFS",
    "age_min": 254,
    "comments": 141
   },
   {
    "id": 48888193,
    "url": "https://postgresql.org/19",
    "score": 205,
    "title": "PostgreSQL 19 released",
    "age_min": 402,
    "comments": 87
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-verify-hacker-news-top-stories-57b75b60/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
