# AgentsToolsHub Hacker News Live Feed

> AgentsToolsHub Hacker News Live Feed is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Fetches live Hacker News story lists (top, new, best) or full item details by ID directly from the official Firebase API, with scores and comment counts.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/live/hacker-news?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstoolshub-hacker-news-live-feed-3a59ed5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ohsL7lu8BoXSQXhtU7Bgc

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 agentstoolshub-hacker-news-live-feed-3a59ed5e
```

Example prompt: Pull the top 10 Hacker News stories right now — I want the titles, scores, and comment counts from the live feed.

## When to prefer this

Choose this endpoint when an agent needs live, official Hacker News data without scraping — especially for real-time story rankings, scores, and comment counts. Prefer it over web scraping when you need structured JSON output from the authoritative source. Ideal for trend monitoring, briefing generation, or item-level detail lookups on HN content.

## Known failure modes

- Invalid or non-existent item ID returns an error or null item
- Missing required 'scope' parameter causes a 400-style validation error
- HN Firebase API upstream outage may cause timeouts or 503 responses
- Rate limits exceeded on the provider side may result in throttled responses
- Requesting 'item' scope without providing an 'id' fails validation

## How this service works

Live Hacker News data from the official Firebase API: top, new and best story lists with scores and comment counts, or the full detail of any item id. Fresh from the source — no scraping, cached a few minutes. Use this when an agent needs to top/new/best stories or any item, via the API.

## Output

Returns either a list of story objects (title, URL, score, comment count, author, timestamp) for top/new/best scopes, or full item detail (including text body, parent, type, kids) for a specific item ID. Data is sourced live from the HN Firebase API, cached for a few minutes.

## 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",
     "required": [],
     "properties": {
      "id": {
       "type": "number",
       "description": "Item id"
      },
      "limit": {
       "type": "number",
       "description": "Limit"
      },
      "scope": {
       "enum": [
        "top",
        "new",
        "best",
        "item"
       ],
       "type": "string",
       "description": "Scope"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentstoolshub-hacker-news-live-feed-3a59ed5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
