Skip to content

Hacker News Item API

One Hacker News item (story, Ask/Show HN, job, poll or a single comment) by id: type, title, url, site, text, points, author, comment_count, age, posted_at (UTC), parent_id / story_id / story_title for comments, poll_options for polls, and its whole comment thread as a nested tree (top level in HN order, each comment with id, author, age, posted_at, depth, parent_id, plain text, raw html, deleted flag and replies). thread_source is "algolia" for the full tree, or "firebase" for a bounded live walk when the item is too new to be indexed.

GEThttps://api.maviapi.com/v1/sites/hackernews/item/{id}5 credits per call

Parameters

NameRequiredExampleDescription
idinteger in pathRequired50403097Hacker News item id.

Response fields

idintegere.g.50403097
typestringe.g."story"
titlestringe.g."Every Mac comes with an (undocumented) family member classifier"
urlstringe.g."https://8rank.ai/game/apple-intelligence-personal-knowledge-graph"
sitestringe.g."8rank.ai"
textnull
pointsintegere.g.873
authorstringe.g."infwhispers"
comment_countintegere.g.471
agestringe.g."20 days ago"
posted_atstringe.g."2026-11-07T09:46:03Z"
parent_idnull
story_idnull
story_titlenull
poll_optionsnull
hn_urlstringe.g."https://news.ycombinator.com/item?id=50403097"
comments_totalintegere.g.428
commentsobject[]10 fields
idintegere.g.50403714
authorstringe.g."thomascountz"
agestringe.g."19 days ago"
posted_atstringe.g."2026-11-07T11:47:07Z"
depthintegere.g.0
parent_idintegere.g.50403097
textstringe.g."At one point in my life, I would've found this data fascinating (if it were opt-in, perhaps)! Now, I find it exhausting.\n\nA similar discussion came up recently with Siri Recap[1], where some expressed how useful they thought it was and that, as a party to the conversations it summarizes, there was very little moral or ethical concern. But I have a social concern.\n\nIf I'm having a chat with someone, there's a milieu constructed around the fact that not everything will be remembered verbatim. There are all sorts of social and contextual cues that can easily get lost if listening gets replaced by flat relentless transcription.\n\nWith Recaps and this social graph (were it to be productized), the informal fluidity in the way we relate to one another starts to go away, and the expectations that follow from that become artificial and burdensome. In the same way that autocorrect has made typos unacceptable, how could you ever be forgiven for forgetting the name of your colleague's new nephew or the Italian village that your neighbor took a spontaneous boat trip to while on vacation last year?\n\n[1]: https://news.ycombinator.com/item?id=49641401"
htmlstringe.g."At one point in my life, I would&#x27;ve found this data fascinating (if it were opt-in, perhaps)! Now, I find it exhausting.<p>A similar discussion came up recently with Siri Recap[1], where some expressed how useful they thought it was and that, as a party to the conversations it summarizes, there was very little moral or ethical concern. But I have a social concern.<p>If I&#x27;m having a chat with someone, there&#x27;s a milieu constructed around the fact that not everything will be remembered verbatim. There are all sorts of social and contextual cues that can easily get lost if listening gets replaced by flat relentless transcription.<p>With Recaps and this social graph (were it to be productized), the informal fluidity in the way we relate to one another starts to go away, and the expectations that follow from that become artificial and burdensome. In the same way that autocorrect has made typos unacceptable, how could you ever be forgiven for forgetting the name of your colleague&#x27;s new nephew or the Italian village that your neighbor took a spontaneous boat trip to while on vacation last year?<p>[1]: <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49641401\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49641401</a>"
deletedbooleane.g.false
repliesobject[]10 fields
idintegere.g.50405334
authorstringe.g."ryandrake"
agestringe.g."19 days ago"
posted_atstringe.g."2026-11-07T15:24:39Z"
depthintegere.g.1
parent_idintegere.g.50403714
textstringe.g."I've also become totally exhausted by all these \"someone is making your computer do X behind your back\" revelations. Whether it's the app developer or OS vendor, it doesn't really matter. When did PCs stop being the user's computer / operating on behalf of the user, and instead start operating on behalf of the OS vendor and app developers? Every day there's a new case of this."
htmlstringe.g."I&#x27;ve also become totally exhausted by all these &quot;someone is making your computer do X behind your back&quot; revelations. Whether it&#x27;s the app developer or OS vendor, it doesn&#x27;t really matter. When did PCs stop being the user&#x27;s computer &#x2F; operating on behalf of the user, and instead start operating on behalf of the OS vendor and app developers? Every day there&#x27;s a new case of this."
deletedbooleane.g.false
repliesobject[]10 fields
idintegere.g.50405713
authorstringe.g."dingaling"
agestringe.g."19 days ago"
posted_atstringe.g."2026-11-07T16:12:26Z"
depthintegere.g.2
parent_idintegere.g.50405334
textstringe.g."Largely, I believe, when phones crossed over from being basic communication devices to being smartphones, but retained their 'appliance' nature.\n\nAn entire generation thereby grew up with personal computing represented by vendor-controlled handheld appliances, and naturally regarded actual PCs in the same manner.\n\nAnd their skills to manage a PC atrophied too, leading to a feedback loop."
htmlstringe.g."Largely, I believe, when phones crossed over from being basic communication devices to being smartphones, but retained their &#x27;appliance&#x27; nature.<p>An entire generation thereby grew up with personal computing represented by vendor-controlled handheld appliances, and naturally regarded actual PCs in the same manner.<p>And their skills to manage a PC atrophied too, leading to a feedback loop."
deletedbooleane.g.false
repliesobject[]10 fields
idintegere.g.50406933
authorstringe.g."ryandrake"
agestringe.g."19 days ago"
posted_atstringe.g."2026-11-07T18:49:56Z"
depthintegere.g.3
parent_idintegere.g.50405713
textstringe.g."I just don't want to have this ongoing relationship with my software vendor. When I buy an Apple computer, I don't want to have a relationship with Apple. I don't want to log in to iCloud. I don't want them deciding what software I can run and what I can't. I don't want them wagging their finger disapprovingly at me when I download and run something not \"notarized\" by them. I don't want them mediating my use of my own computer! When I buy a Windows PC it's even worse. Again, I don't want to log into a Microsoft account. I don't want them pushing other software on me via in-OS ads. I don't want to send telemetry back to them. I don't want them recording my screen and saving it god knows where for nebulous \"features\".\n\nWhen I buy a table saw, I don't expect DeWalt to hang around my workshop telling me what I can and can't cut, watching and logging what wood I use and when I use it, what my finished product looks like, changing the features and buttons on the saw in the middle of the night. Why the fuck do we tolerate this from software??\n\nIt's gotten to the point that Linux is the only sensible option, and not all distributions! Some of them are letting telemetry and metrics and A/B testing creep in. And some third party Linux software is just as intrusive and demanding as commercial Windows/Mac software."
htmlstringe.g."I just don&#x27;t want to have this ongoing relationship with my software vendor. When I buy an Apple computer, I don&#x27;t want to have a relationship with Apple. I don&#x27;t want to log in to iCloud. I don&#x27;t want them deciding what software I can run and what I can&#x27;t. I don&#x27;t want them wagging their finger disapprovingly at me when I download and run something not &quot;notarized&quot; by them. I don&#x27;t want them mediating my use of my own computer! When I buy a Windows PC it&#x27;s even worse. Again, I don&#x27;t want to log into a Microsoft account. I don&#x27;t want them pushing other software on me via in-OS ads. I don&#x27;t want to send telemetry back to them. I don&#x27;t want them recording my screen and saving it god knows where for nebulous &quot;features&quot;.<p>When I buy a table saw, I don&#x27;t expect DeWalt to hang around my workshop telling me what I can and can&#x27;t cut, watching and logging what wood I use and when I use it, what my finished product looks like, changing the features and buttons on the saw in the middle of the night. Why the fuck do we tolerate this from software??<p>It&#x27;s gotten to the point that Linux is the only sensible option, and not all distributions! Some of them are letting telemetry and metrics and A&#x2F;B testing creep in. And some third party Linux software is just as intrusive and demanding as commercial Windows&#x2F;Mac software."
deletedbooleane.g.false
repliesobject[]10 fields
idintegere.g.50411783
authorstringe.g."jjav"
agestringe.g."19 days ago"
posted_atstringe.g."2026-11-08T09:46:58Z"
depthintegere.g.4
parent_idintegere.g.50406933
textstringe.g."> I just don't want to have this ongoing relationship with my software vendor.\n\nThis is precisely it.\n\nWhen I buy a screwdriver, I just want to use it when I need it. I don't want to have an account with Craftsman and give them any PII, etc. No, I just want to use the product I purchased.\n\nIt is really the same with any tech product. I bought it, I want to use it. I want zero contact with the manufacturer (even if I like them)."
htmlstringe.g."&gt; I just don&#x27;t want to have this ongoing relationship with my software vendor.<p>This is precisely it.<p>When I buy a screwdriver, I just want to use it when I need it. I don&#x27;t want to have an account with Craftsman and give them any PII, etc. No, I just want to use the product I purchased.<p>It is really the same with any tech product. I bought it, I want to use it. I want zero contact with the manufacturer (even if I like them)."
deletedbooleane.g.false
repliesobject[]10 fields
idintegere.g.50416021
authorstringe.g."II2II"
agestringe.g."18 days ago"
posted_atstringe.g."2026-11-08T19:05:15Z"
depthintegere.g.5
parent_idintegere.g.50411783
textstringe.g."Then how is your Philips screwdriver going to send an alert to your phone when you insert it into a JIS screw? I mean just because you know the difference (Craftsman screwdriver engineers are shaking their heads) doesn't mean that the average Joe doing a household repair does! /s"
htmlstringe.g."Then how is your Philips screwdriver going to send an alert to your phone when you insert it into a JIS screw? I mean just because you know the difference (Craftsman screwdriver engineers are shaking their heads) doesn&#x27;t mean that the average Joe doing a household repair does! &#x2F;s"
deletedbooleane.g.false
repliesstring[]
thread_sourcestringe.g."algolia"
paginationobject3 fields
countintegere.g.67
has_morebooleane.g.false
next_cursornull

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/hackernews/item/50403097' \
  -H "Authorization: Bearer $MAVI_KEY"

Hacker News Item API questions

What you get, what it costs and how to call it.

What does the Hacker News Item API return?

One Hacker News item (story, Ask/Show HN, job, poll or a single comment) by id: type, title, url, site, text, points, author, comment_count, age, posted_at (UTC), parent_id / story_id / story_title for comments, poll_options for polls, and its whole comment thread as a nested tree (top level in HN order, each comment with id, author, age, posted_at, depth, parent_id, plain text, raw html, deleted flag and replies). thread_source is "algolia" for the full tree, or "firebase" for a bounded live walk when the item is too new to be indexed. The response has id, type, title, url, site, text, points, author and 12 more.

Which parameters does the Hacker News Item API take?

GET /item/{id} needs id (for example 50403097).

How much does one Hacker News Item 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 Item API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/hackernews/item/{id} 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 Item 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.