# Saylor Innovations Hacker News Search

> Saylor Innovations Hacker News Search is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Search Hacker News stories and comments by keyword, returning titles, points, comment counts, dates, and links sorted by relevance or recency

## Facts

- Endpoint: GET https://saylorinnovations.com/api/hn/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-hacker-news-search-5b57bebf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0sAdEj5gJluQwYez46pjt

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 saylor-innovations-hacker-news-search-5b57bebf
```

Example prompt: Search Hacker News for the top 10 stories about 'WebAssembly' and show me the titles, points, comment counts, and links.

## When to prefer this

Choose this endpoint when you need structured, queryable access to Hacker News content — stories or comments — with metadata like points and comment counts, without scraping HN directly. Ideal for agents monitoring developer community sentiment, researching how a technology or company is perceived in tech circles, or surfacing trending discussions. Prefer this over raw web scraping for reliability and structured output.

## Known failure modes

- Missing required 'q' parameter returns an error
- Limit out of range (>30 or <1) may be clamped or rejected
- Query returning zero results yields an empty hits array with total_matches: 0
- Network or upstream HN/Algolia outage may cause 5xx errors
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Hacker News search - stories or comments matching a query with points, comment counts, dates and links, newest or most relevant first

## Output

A JSON object containing the interpreted query string, sort order applied, data source, total match count, number of results returned, and an array of hit objects each with: story title, canonical article URL, HN thread URL, author name, points, comment count, and UTC creation timestamp.

## 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",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Words to search for"
      },
      "limit": {
       "type": "string",
       "description": "optional 1-30, default 10"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "hits"
     ],
     "properties": {
      "hits": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": [
           "string",
           "null"
          ],
          "description": "Canonical URL"
         },
         "title": {
          "type": [
           "string",
           "null"
          ],
          "description": "Title"
         },
         "author": {
          "type": "string",
          "description": "Author name"
         },
         "hn_url": {
          "type": "string",
          "description": "Hn URL"
         },
         "points": {
          "type": [
           "number",
           "null"
          ]
         },
         "comments": {
          "type": [
           "number",
           "null"
          ]
         },
         "created_at": {
          "type": "string",
          "description": "Created at (UTC unless a time zone is given)"
         }
        }
       }
      },
      "sort": {
       "type": [
        "string",
        "null"
       ],
       "description": "Sort order applied"
      },
      "type": {
       "type": [
        "string",
        "null"
       ],
       "description": "Type or kind"
      },
      "query": {
       "type": "string",
       "description": "The query as the server interpreted it"
      },
      "source": {
       "type": [
        "string",
        "null"
       ],
       "description": "Data source th
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-hacker-news-search-5b57bebf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
