# Hacker News Newest Stories Feed

> Hacker News Newest Stories Feed is a paid API for AI agents from hackernews-x402.vercel.app, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Returns the most recently submitted Hacker News stories in reverse-chronological order, with title, URL, score, author, timestamp, and comment count.

## Facts

- Endpoint: GET https://hackernews-x402.vercel.app/hn/new
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hackernews-x402-vercel-app-562d6383
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TVOQHPXPkWoYXsIgC9Eq6

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 hackernews-x402-vercel-app-562d6383
```

Example prompt: Pull the 20 newest stories from Hacker News so I can see what's just been submitted in the last hour.

## When to prefer this

Use this endpoint when you need the absolute freshest Hacker News submissions in chronological order rather than ranked by score. Ideal for real-time monitoring, tracking emerging topics before they trend, or building a live feed of HN activity. Use the top stories endpoint instead if you want editorially ranked, high-quality posts.

## Known failure modes

- limit parameter exceeds 30 — may return an error or be capped
- Hacker News API is temporarily unavailable — upstream 502/503 error
- Invalid limit value (non-numeric) — likely 400 bad request
- No new stories in time window — returns empty stories array

## How this service works

Hacker News newest stories. Returns the most recently submitted stories — great for real-time tech news monitoring.

## Output

Returns a JSON object with a 'feed' field set to 'newstories', a 'count' of stories returned, and a 'stories' array where each story includes the id, title, URL, author (by), submission time (ISO 8601), score, story type, and number of descendants (comments).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": "10"
  }
 }
}
```

## 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": "string",
       "description": "Number of stories to return (default 10, max 30)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "feed": {
       "type": "string"
      },
      "count": {
       "type": "number"
      },
      "stories": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hackernews-x402-vercel-app-562d6383/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hackernews-x402.vercel.app](https://www.zero.xyz/host/hackernews-x402.vercel.app/llms.txt)
