Hacker-news-api
Endpoints and usage (playground-friendly) GET /stories/{story_type} Purpose: List stories by type. story_type: top | new | best | ask | show | job Query params: limit (optional, default 30, 1–100) Example (playground): set path to /stories/top and query param limit=10 Returned: JSON array of Story objects (id, title, url, text, author, points, comment_count, created_at, type) GET…
Hacker-news-api endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
search /search |
use this api to search hacker news |
| GET |
get story id /story/{story_id} |
Get a specific story by ID |
| GET |
Get user information /user/{username} |
Get user information |
| GET |
Get Comments /story/{story_id}/comments/ |
Get comments for a story |
| GET |
get stories /stories/{story_type} |
Purpose: List stories by type. story_type: top | new | best | ask | show | job Query params: limit (optional, default 30, 1–100) |
Hacker-news-api pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $10 / month | — |
|