# WorldData402 Hacker News Top Stories

> WorldData402 Hacker News Top Stories is a paid API for AI agents from worlddata402.worlddata402.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Returns the current top stories from Hacker News, with an optional limit on the number of results returned.

## Facts

- Endpoint: GET https://worlddata402.worlddata402.workers.dev/v1/hn/top?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/worlddata402-hacker-news-top-stories-8d992efd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WwJUoWGQU7VULBm_WS_LY

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 worlddata402-hacker-news-top-stories-8d992efd
```

Example prompt: Pull the top 10 stories from Hacker News right now so I can see what the tech community is buzzing about today.

## When to prefer this

Choose this endpoint when an agent needs programmatic, pay-per-call access to Hacker News top stories via the x402 micropayment protocol (USDC on Base mainnet), particularly in automated workflows where API key management is undesirable and per-call billing is preferred.

## Known failure modes

- No limit specified returns a default number of stories which may be more or fewer than expected
- Hacker News upstream unavailability may cause empty or error responses
- Payment failure via x402/USDC on Base mainnet will block the request
- Overly large limit values may hit response size constraints

## How this service works

Global market, government and reference data for AI agents. Pay-per-call over x402 (USDC on Base mainnet).

## Output

Returns a list of top Hacker News stories, including story titles, links, rankings, and associated metadata such as score or author, up to the requested limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/worlddata402-hacker-news-top-stories-8d992efd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from worlddata402.worlddata402.workers.dev](https://www.zero.xyz/host/worlddata402.worlddata402.workers.dev/llms.txt)
