# Hacker News Tech Pulse API

> Hacker News Tech Pulse API is a paid API for AI agents from gateway.stride20k.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns the current Hacker News front page as 30 ranked, normalized JSON stories including title, URL, points, author, comment count, and timestamp

## Facts

- Endpoint: GET https://gateway.stride20k.com/news/tech-pulse
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hacker-news-tech-pulse-api-c48188cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hbJV9a5uhbIeEzSg0vOnQ

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-tech-pulse-api-c48188cb
```

Example prompt: Pull the current Hacker News front page and give me the top 30 ranked tech stories with their titles, links, point scores, and comment counts.

## When to prefer this

Use this endpoint when you need a ready-made, normalized JSON snapshot of the Hacker News front page without building your own Algolia HN integration. Ideal for tech trend detection agents, content pipeline seeding, topic monitoring dashboards, and news digest generation. The 2-minute cache makes it cost-effective for frequent polling. Prefer this over raw HN/Algolia calls when you need consistent field names and rank ordering out of the box.

## Known failure modes

- Upstream Algolia HN API unavailable — returns error with no story data
- Stale cache — response may be up to 2 minutes old, not reflecting the very latest front page
- HN front page has fewer than 30 stories — count field will reflect actual number returned
- Network timeout reaching upstream — returns error response

## How this service works

Tech news API: the current Hacker News front page — 30 ranked stories as normalized JSON: rank, story id, title, outbound article URL (or HN discussion link for self-posts), points, author, comment count, ISO 8601 time. Single upstream call via the official Algolia HN API. Use for tech trend detection, topic monitoring, news agents, and content-pipeline seeding. Cached up to 2 minutes.

## Output

A JSON object containing an array of up to 30 ranked Hacker News front-page stories, each with rank, story ID, title, outbound URL (or HN discussion link for self-posts), a boolean isSelfPost flag, points, author username, comment count, and ISO 8601 submission time. Also includes metadata: whether the response was cached, the upstream source label, and the ISO 8601 fetch timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "count": 30,
   "stories": [
    {
     "id": 48780870,
     "url": "https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/giant-trees/",
     "rank": 1,
     "title": "Giant trees have no trouble pumping water to top branches",
     "author": "hhs",
     "points": 117,
     "isSelfPost": false,
     "submittedAt": "2026-07-03T20:00:00.000Z",
     "commentCount": 24
    }
   ]
  },
  "meta": {
   "cached": false,
   "source": "Hacker News (Algolia search API)",
   "fetchedAt": "2026-07-04T00:00:00.000Z",
   "attribution": null
  },
  "endpoint": "/news/tech-pulse"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hacker-news-tech-pulse-api-c48188cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stride20k.com](https://www.zero.xyz/host/gateway.stride20k.com/llms.txt)
