Skip to content

Hacker News API

This API allows you to seamlessly retrieve the top 10 trending stories currently on the front page of Hacker News. Ideal for building news aggregators or daily developer briefings.

POST /api/v1/hacker-news

This endpoint does not require any JSON body parameters.

FieldTypeRequiredDescription
(None)--Send an empty JSON object {}.
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/hacker-news \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"cached": false,
"data": [
{
"id": 48713832,
"title": "HackerRank open sourced its ATS...",
"url": "https://danunparsed.com/p/hackerrank-open-source-ats",
"content": null,
"author": "sambellll",
"score": 299,
"time": "2026-06-29T01:44:40.000Z",
"comments_count": 92
}
]
}