Skip to content
Back to skills

1794 Hackernews 1983e4ee

ASecurity

Search Hacker News via Algolia API (free, no auth required).

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
documentationgobashapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1794-hackernews_1983e4ee --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1794 Hackernews 1983e4ee?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1794 Hackernews 1983e4ee
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1794-hackernews-1983e4ee/badge)](https://www.skillsdirectory.com/skills/tools-only-1794-hackernews-1983e4ee)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Hacker News Search

Search Hacker News via Algolia API (free, no auth required).

## API Endpoint

```
https://hn.algolia.com/api/v1/search
```

## Search Stories

```bash
curl -s "https://hn.algolia.com/api/v1/search?query={keyword}&tags=story&hitsPerPage=50" | \
  jq '.hits[] | {
    title: .title,
    url: .url,
    points: .points,
    comments: .num_comments,
    author: .author,
    date: .created_at,
    hn_url: ("https://news.ycombinator.com/item?id=" + (.objectID | tostring))
  }'
```

## Search by Date (Recent)

```bash
curl -s "https://hn.algolia.com/api/v1/search_by_date?query={keyword}&tags=story&hitsPerPage=50" | \
  jq '.hits[] | {
    title: .title,
    url: .url,
    points: .points,
    comments: .num_comments,
    date: .created_at
  }'
```

## Filter by Time Range

Last 7 days:
```bash
WEEK_AGO=$(date -d '7 days ago' +%s)
curl -s "https://hn.algolia.com/api/v1/search?query={keyword}&tags=story&numericFilters=created_at_i>${WEEK_AGO}&hitsPerPage=50"
```

## Tags

- `story` - Main stories
- `comment` - Comments
- `ask_hn` - Ask HN posts
- `show_hn` - Show HN posts
- `front_page` - Front page items

## Output Format

```markdown
## Hacker News

| # | Title | Points | Comments | Date |
|---|-------|--------|----------|------|
| 1 | [Title](hn_url) | 500 | 200 | 2026-02-01 |
| 2 | [Title](hn_url) | 300 | 150 | 2026-02-01 |

### Top Discussions
1. [Title](url) - 500 points, 200 comments
   > Top comment preview...
```

## Rate Limits

- No authentication required
- 10,000 requests/hour

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.