hacker-news-apilisted
Install: claude install-skill nikhonit/social-media-api-skills
# Hacker News API skill
Read public Hacker News data as clean JSON. This Hacker News API skill returns a story, its full comment thread, a user's profile, or keyword search across the site — all at 1 credit, which makes it a good endpoint to smoke-test your key with.
This skill wraps **4 live Hacker News endpoints** from the [ScraperSocial](https://scrapersocial.com) API. Public data only, returned as clean JSON.
## When to use this skill
- A user pastes an HN link and wants the discussion summarised.
- You are researching how a product, company or idea was received by that audience.
- You want to track mentions of a term on Hacker News.
### Do not use this skill when
- **You need the whole firehose or historical bulk.** The official Firebase API and the Algolia HN search API are free and better suited to bulk work.
- **You need to post or vote.** Read-only.
## Setup
```bash
export SCRAPERSOCIAL_KEY=sk_live_... # https://scrapersocial.com/app/keys
```
Signing up at [scrapersocial.com/signup](https://scrapersocial.com/signup) includes 100 free credits, no card required.
## Scripts
| Script | What it does | Input | Credits |
|---|---|---|---|
| `get_profile.js` | Get Hacker News profile. | handle | 1 credit |
| `search.js` | List Hacker News search. | query | 1 credit per story |
| `get_story.js` | Get Hacker News story. | handle | 1 credit |
| `get_story_comments.js` | List Hacker News story comments. | handle | 1 credit per comment |
| `call_endpoint.js` | Call a