# x402helper.xyz HN Search — Hacker News Free-Text Query

> x402helper.xyz HN Search — Hacker News Free-Text Query is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-31).

Searches Hacker News posts and projects by free-text query over a configurable look-back window, returning structured results via x402 micropayment.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/dev/hn?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-xyz-hn-search-hacker-news-free-text-query-8cd86135
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hEba1QXJUgy3JSNJppzzw

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 x402helper-xyz-hn-search-hacker-news-free-text-query-8cd86135
```

Example prompt: Search Hacker News for anything about 'Rust async runtimes' over the last 180 days and show me what comes up.

## When to prefer this

Use this endpoint when you need to search Hacker News specifically for developer community sentiment, project mentions, or tech discussions, and you want a configurable look-back window. It is better than generic web search when HN-specific community signal is the goal, and better than manual HN search when integrating results into an automated agent workflow.

## Known failure modes

- Missing required 'query' parameter returns an error
- Payment not completed or insufficient USDC balance causes 402 rejection
- 'days' value exceeding 3650 or below 1 returns a validation error
- Empty result set when no HN posts match the query in the given window
- Network timeout if the upstream HN search index is slow

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with a 'success' boolean and a 'result' object containing Hacker News posts or project entries matching the free-text query within the specified look-back window, likely including titles, URLs, scores, and timestamps.

## 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": [
      "query"
     ],
     "properties": {
      "days": {
       "type": "integer",
       "default": null,
       "maximum": 3650,
       "minimum": 1,
       "description": "Look-back window in days (default 365)"
      },
      "query": {
       "type": "string",
       "default": null,
       "description": "Free-text search query (project/topic name)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402helper-xyz-hn-search-hacker-news-free-text-query-8cd86135/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
