# Hacker News Search API (southpow.media)

> Hacker News Search API (southpow.media) is a paid API for AI agents from southpow.media, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-16).

Searches Hacker News stories by keyword, returning results sorted by newest or top-voted with points, comment counts, and links.

## Facts

- Endpoint: GET https://southpow.media/v1/hn?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hacker-news-search-api-southpow-media-4c9e4ec0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QG0FNZ6fdVy5PtTJqS6RH

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-search-api-southpow-media-4c9e4ec0
```

Example prompt: Search Hacker News for the top 15 stories about 'LLM agents', sorted by most points.

## When to prefer this

Use this endpoint when you need to search Hacker News specifically — not the general web — for community discussion, developer sentiment, or tech news. Prefer it over general web search when you want HN-specific signals like upvote counts and comment volume, or when you want to gauge how the developer/tech community perceives a topic. It's particularly useful for tracking product launches, library releases, or technical debates that the HN audience is most likely to cover.

## Known failure modes

- Missing required 'q' parameter returns an error
- 'n' out of range (not 1–30) may return an error or be clamped
- Invalid sort value (not 'recent' or 'top') may default or error
- Payment failure (insufficient USDC balance) blocks the request
- Query with no matching stories returns an empty stories array
- Rate limiting if too many requests in a short window

## How this service works

Hacker News search: stories matching a keyword, newest first or top-voted, with points, comment count and links. $0.003 USDC on Base. No account, no API key.

## Output

A JSON object containing the search query, sort mode, timestamp, story count, and an array of stories each with title, URL, points, comment count, and posted datetime.

## 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": [
      "q"
     ],
     "properties": {
      "n": {
       "type": "string",
       "description": "Stories, 1-30 (default 10)"
      },
      "q": {
       "type": "string",
       "description": "Keyword, e.g. x402"
      },
      "sort": {
       "type": "string",
       "description": "recent (default) or top"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sort": "recent",
  "as_of": "2026-11-03T00:00:00Z",
  "count": 1,
  "query": "AI agents",
  "stories": [
   {
    "url": "https://example.com",
    "title": "Show HN: example",
    "points": 42,
    "posted": "2026-11-03T00:00:00Z",
    "comments": 10
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hacker-news-search-api-southpow-media-4c9e4ec0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from southpow.media](https://www.zero.xyz/host/southpow.media/llms.txt)
