Hacker News Newest API
Newest Hacker News submissions, newest first, 30 per page, each with rank, id, title, url, site, points, author, comment_count, age, posted_at (UTC), type and hn_url. data.next holds the next page's params, or null on the last page.
https://api.maviapi.com/v1/sites/hackernews/newest5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
pinteger in query | Optional | 1 | page number, 1 to 17 (30 stories per page). |
Response fields
feede.g."newest"pagee.g.1counte.g.30stories
ranke.g.1ide.g.50665061titlee.g."Geodesic Dome"urle.g."https://en.wikipedia.org/wiki/Geodesic_dome"sitee.g."wikipedia.org"pointse.g.1authore.g."tosh"comment_counte.g.0agee.g."3 minutes ago"posted_ate.g."2026-11-27T10:06:42Z"typee.g."story"hn_urle.g."https://news.ycombinator.com/item?id=50665061"next
pe.g."2"pagination
counte.g.30has_moree.g.falsenext_cursorfetched_ate.g."2026-11-27T10:11:50.733Z"agee.g.0Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/hackernews/newest' \
-H "Authorization: Bearer $MAVI_KEY"Hacker News Newest API questions
What you get, what it costs and how to call it.
What does the Hacker News Newest API return?
Newest Hacker News submissions, newest first, 30 per page, each with rank, id, title, url, site, points, author, comment_count, age, posted_at (UTC), type and hn_url. data.next holds the next page's params, or null on the last page. The response has feed, page, count, stories, next, pagination, fetched_at and age.
Which parameters does the Hacker News Newest API take?
Every parameter of GET /newest is optional. You can pass p.
How much does one Hacker News Newest API call cost?
One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the Hacker News Newest API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/hackernews/newest with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the Hacker News Newest API official?
No. It is an independent, hosted API from maviapi for the public data on news.ycombinator.com, and it is not made, endorsed or supported by Hacker News. Its parameters and response fields are documented on this page.