# Saylor Innovations Data Desk – Hacker News Front Page

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

Fetches current Hacker News front page stories (top, new, Ask HN, or Show HN) with rank, points, comment count, and links

## Facts

- Endpoint: GET https://saylorinnovations.com/api/hn/top?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-hacker-news-front-page-8eaa060f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g0il4Hz_A3wVb1QG7sqFw

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-data-desk-hacker-news-front-page-8eaa060f
```

Example prompt: What are the top 20 stories on Hacker News right now? Show me the titles, points, and comment counts.

## When to prefer this

Use this endpoint when you need structured, ranked Hacker News front page data including points and comment counts in a single call, especially when you want to filter by story type (top, new, Ask HN, Show HN) and control result count. Prefer this over scraping HN directly or using the raw HN Firebase API when you want a clean, normalized JSON response with rank ordering already applied.

## Known failure modes

- Invalid 'kind' parameter value (not top/new/ask/show) may return an error or default behavior
- Limit outside 1-30 range may be clamped or rejected
- Hacker News API downtime may result in stale or unavailable data
- Payment failure (x402) blocks access if USDC balance insufficient

## How this service works

Hacker News front page - current top, new, Ask HN or Show HN stories with rank, points, comments and links

## Output

A JSON object containing the story kind requested, the data source, a checked_at timestamp, the number of stories returned, and an array of story objects each with rank, title, URL, HN discussion URL, author, points, comment count, and created_at 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "kind": {
       "type": "string",
       "description": "optional top (default), new, ask or show"
      },
      "limit": {
       "type": "string",
       "description": "optional 1-30, default 15"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "kind",
      "stories"
     ],
     "properties": {
      "kind": {
       "type": "string",
       "description": "Kind of record"
      },
      "source": {
       "type": [
        "string",
        "null"
       ],
       "description": "Data source the values come from"
      },
      "stories": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": [
           "string",
           "null"
          ],
          "description": "Canonical URL"
         },
         "rank": {
          "type": "number",
          "description": "Rank, 1 is highest"
         },
         "title": {
          "type": [
           "string",
           "null"
          ],
          "description": "Title"
         },
         "author": {
          "description": "Author name"
         },
         "hn_url": {
          "type": "string",
          "description": "Hn URL"
         },
         "points": {
          "type": [
           "number",
           "null"
          ]
         },
         "comments": {
          "type": [
           "number",
           "null"
          ]
         },
         "created_at": {
          "description": "Created at (UTC unless a time zone is given)"
         }
        }
       }
      },
      "returned": {
       "type": "number",
       "description": "Number of items in this response"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      }
     }
    }
   }
  }
 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-hacker-news-front-page-8eaa060f/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)
