# Hacker News Search via x402

> Hacker News Search via x402 is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Search Hacker News stories, comments, and discussions by keyword query, paid per-call via x402 micropayment protocol

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/search/hn?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hacker-news-search-via-x402-dc5c1356
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__kL-b3vekKszwK0W__IRr

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-via-x402-dc5c1356
```

Example prompt: Search Hacker News for discussions about 'WebAssembly' and show me the top results.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to Hacker News search without managing API keys or subscriptions. It is ideal for lightweight, sporadic HN lookups within an agent workflow where micropayment via USDC is feasible. Prefer it over scraping or direct Algolia HN API calls when operating in an x402-enabled environment that already handles crypto payment headers.

## Known failure modes

- Missing required 'q' parameter returns an error
- Empty or very broad query may return too many low-relevance results
- Query returning no results yields an empty hits array
- Payment failure (insufficient USDC balance or x402 auth issue) blocks the call
- Rate limiting or server unavailability on the Render-hosted service may return 5xx errors

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

A JSON object containing Hacker News search results matching the query, likely including story titles, URLs, authors, scores, comment counts, and submission dates, sourced from the HN corpus.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hacker-news-search-via-x402-dc5c1356/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
