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.
https://api.maviapi.com/v1/sites/hackernews/item/{id}5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
idinteger in path | Required | 50403097 | Hacker News item id. |
Response fields
ide.g.50403097typee.g."story"titlee.g."Every Mac comes with an (undocumented) family member classifier"urle.g."https://8rank.ai/game/apple-intelligence-personal-knowledge-graph"sitee.g."8rank.ai"textpointse.g.873authore.g."infwhispers"comment_counte.g.471agee.g."20 days ago"posted_ate.g."2026-11-07T09:46:03Z"parent_idstory_idstory_titlepoll_optionshn_urle.g."https://news.ycombinator.com/item?id=50403097"comments_totale.g.428comments
ide.g.50403714authore.g."thomascountz"agee.g."19 days ago"posted_ate.g."2026-11-07T11:47:07Z"depthe.g.0parent_ide.g.50403097texte.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"htmle.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.<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'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.<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'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://news.ycombinator.com/item?id=49641401\">https://news.ycombinator.com/item?id=49641401</a>"deletede.g.falsereplies
ide.g.50405334authore.g."ryandrake"agee.g."19 days ago"posted_ate.g."2026-11-07T15:24:39Z"depthe.g.1parent_ide.g.50403714texte.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."htmle.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."deletede.g.falsereplies
ide.g.50405713authore.g."dingaling"agee.g."19 days ago"posted_ate.g."2026-11-07T16:12:26Z"depthe.g.2parent_ide.g.50405334texte.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."htmle.g."Largely, I believe, when phones crossed over from being basic communication devices to being smartphones, but retained their 'appliance' 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."deletede.g.falsereplies
ide.g.50406933authore.g."ryandrake"agee.g."19 days ago"posted_ate.g."2026-11-07T18:49:56Z"depthe.g.3parent_ide.g.50405713texte.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."htmle.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".<p>When 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??<p>It'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."deletede.g.falsereplies
ide.g.50411783authore.g."jjav"agee.g."19 days ago"posted_ate.g."2026-11-08T09:46:58Z"depthe.g.4parent_ide.g.50406933texte.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)."htmle.g."> I just don'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'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)."deletede.g.falsereplies
ide.g.50416021authore.g."II2II"agee.g."18 days ago"posted_ate.g."2026-11-08T19:05:15Z"depthe.g.5parent_ide.g.50411783texte.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"htmle.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"deletede.g.falserepliesthread_sourcee.g."algolia"pagination
counte.g.67has_moree.g.falsenext_cursorExample 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/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.