HackerNews/API
View on GitHub ↗ ★ 13,396
Documentation and Samples for the Official HN API
257 mentions on Hacker News by 206 people: 37 stories, 220 comments · first 2014-10-07 · latest 2026-10-31
20082026
-
Yes, they're mentioned in the API. https://github.com/HackerNews/API
comment by karmakaze · 2019-10-12 · in Poll: Hacker News Functionality -
FYI, Hacker News has an API: https://github.com/HackerNews/API
comment by saagarjha · 2019-08-08 · in The Lonely Work of Moderating Hacker News -
…that there is an official HN api [1] in case you really want to do data science on the site. [1] https://github.com/HackerNews/API
comment by m3at · 2019-07-15 · in I analyzed the history of “Who is Hiring?” threads -
…be the last option you consider to get data after all else fails. Even though the Hacker News API ( https://github.com/HackerNews/API ) is somewhat old, it's a much more kosher way of getting data. Even better is to use the public data…
comment by minimaxir · 2019-07-15 · in I analyzed the history of “Who is Hiring?” threads -
Build your own: https://github.com/HackerNews/API
comment by whb07 · 2019-06-07 · in Ask HN: Why doesn’t HN have notifications? -
…Here is the start point - https://hacker-news.firebaseio.com/v0/showstories.json?print... More - https://github.com/HackerNews/API This could be a plain html page, which you can bookmark and check daily.
comment by envolt · 2019-04-22 · in Ask HN: Is there a Hacker News endpoint for the “Tell HN” posts? -
…used it, but it states in the README that there is no rate limit currently (~8 months ago). 0. https://github.com/HackerNews/API
comment by dhruvkar · 2019-04-22 · in Ask HN: What Hacker News comments have you bookmarked? -
…by the HN API, Google just took the next step and did the work of loading it into BigQuery. [1] https://github.com/HackerNews/API [2] https://en.wikipedia.org/wiki/Category:Data_serialization_fo... [3]…
comment by espeed · 2019-03-05 · in Hacker News BigQuery Dataset -
other than https://github.com/HackerNews/API ?
comment by throway88989898 · 2019-02-22 · in New ‘past’ link on HN front page -
…add ".atom" to the end of urls involving but not limited to commits,tags,and releases, such as https://github.com/HackerNews/API/commits/master.atom and also consider looking at https://bandito.re/ . You can usually check the source code…
comment by molticrystal · 2019-01-14 · in Rise and Demise of RSS -
Not directly, but you may find their API useful: https://github.com/HackerNews/API
comment by activekerrar · 2018-12-19 · in Ask HN: Can I download my HN data? -
…HN archive https://hn.algolia.com . You can find more info on the (free) HN API here https://github.com/HackerNews/API
comment by mcescalante · 2018-12-08 · in Top domains by aggregate score on HN from the past year -
…an API[0]. If no one else has done so already, you could write your own notification system. 0: https://github.com/HackerNews/API
comment by snazz · 2018-12-04 · in Ask HN: How do you keep track of comments in HN? -
It's using the official Hacker News API ( https://github.com/HackerNews/API ), not scraping web sites.
comment by stan503 · 2018-11-13 · in My App Is Dead in the Water -
Yes. Some sites as well as apps use it (so scraping the web pages is not required). See here: https://github.com/HackerNews/API
comment by newscracker · 2018-09-16 · in Less annoying Hacker News -
…see. I thought I'd share in case anyone else feels the same way! Built using the HN Firebase API: https://github.com/HackerNews/API
comment by splatzone · 2018-08-29 · in Show HN: A live stream of Hacker News comments without context -
I haven’t checked, but perhaps this is something that can be made using github.com/HackerNews/API ?
comment by sigjuice · 2018-08-29 · in Ask HN: Can you download your entire history of upvotes on HN? -
…in whatever purpose you use it for though. That's also a pretty good Idea, have you got much. [1] https://github.com/HackerNews/API
comment by gitgud · 2018-08-15 · in Ask HN: Am I allowed to embed HN discussions on a site, like Disqus does? -
…involved. The api's are much easier to work with. For Hacker News it uses the official JSON api https://github.com/HackerNews/API/blob/master/README.md And for Redit, it simply queries the url directly eg:…
comment by gitgud · 2018-07-16 · in Show HN: Newsit – Get to HackerNews or Reddit Comments (Chrome Extension) -
Good job. Why did you prefer using the HTML format instead of HN API? https://github.com/HackerNews/API
comment by dstjean · 2018-07-06 · in Show HN: Hacker News job trends -
…data structure. Hacker News also has a type attribute that you might say is used polymorphically: https://github.com/HackerNews/API/blob/master/README.md#item... Types in RDF are additive: a thing may have zero or more rdf:type property…
comment by westurner · 2018-06-18 · in Handles are the better pointers -
…HN frontend[1] I made one myself for about an hour or two. http://morphical.ml:4000/s/17111778 [1] https://github.com/HackerNews/API
comment by runald · 2018-05-20 · in Ask HN: My eyesight is not good enough to read HN. What can I do? -
The API is linked at the bottom of this page, https://github.com/HackerNews/API
comment by brudgers · 2018-04-19 · in Ask HN: How to authenticate HN users? -
…now access it by using the DOM element generated for my comment. Does that mean it's public? [1] https://github.com/HackerNews/API
comment by rootlocus · 2018-04-17 · in Teenager facing prison for downloading unsecured files from government website -
You wouldn't even need to mine it - https://github.com/HackerNews/API
comment by chipperyman573 · 2018-02-19 · in Ask HN: What has HN given you? -
…of comments, the HN API has this [1]. Here's the API request for that post [2], and yours [3]. [1] https://github.com/HackerNews/API [2] https://hacker-news.firebaseio.com/v0/item/15943530.json?pri... [3]…
comment by niftich · 2017-12-17 · in Her six-hour commute each day seems crazy, but her affordable rent is not -
…to search for, in-browser, but the API makes it pretty easy to scrape/search whatever you like: https://github.com/HackerNews/API
comment by faitswulff · 2017-11-07 · in Ask HN: What is your favorite place to find work? -
the hn api could be to blame for the slow i/o: https://github.com/HackerNews/API#design
comment by leeoniya · 2017-10-02 · in Hacker News Clone Using GraphQL and React -
…always use the API and build a UI that better suits your needs, should existing ones not suffice. https://github.com/HackerNews/API
comment by traviswingo · 2017-07-25 · in Ask HN: How can I view older 'Ask HN' questions? -
…say 1000, and then add up those controversy scores. The problems is that the HackerNews API ( https://github.com/HackerNews/API ) only provides a total score for a comment, instead of up and down votes, so you'd have to modify your…
comment by sarabande · 2017-07-04 · in Ask HN: Who are the most controversial (yet still popular) HNers? -
…it sounds like you're interested in scraping HN -- if that's the case there is an official API: https://github.com/HackerNews/API My own take on it in general is that for personal/research use I'm not morally opposed to scraping, even when…
comment by paulgb · 2017-06-06 · in Ask HN: How do you feel about web scraping? -
There's an API: https://github.com/HackerNews/API
comment by dchest · 2017-05-20 · in Hacker News Readers as Progressive Web Apps -
…:) ) OK, now for my offtopic question. I think you're probably the perfect person to ask this. https://github.com/HackerNews/API (linked from the bottom of every HN page except the add-comment page) describes HN's Firebase-based API. The…
comment by i336_ · 2017-05-18 · in Open sourcing the Firebase SDKs -
This is awesome ! Congrats.. https://github.com/HackerNews/API The firebase API is excellent. I have been using that to keep http://searchhn.com up to date in real time. Also big query is updated every day with all comments and posts.…
comment by searchhn · 2017-05-14 · in Tagger News takes a subset of HN articles, analyzes using ML, and applies tags -
…to document the process, but I can tell you that having an API based on Firebase helps a lot: - https://github.com/HackerNews/API
comment by fhoffa · 2017-03-17 · in Hacker News on BigQuery: Now with daily updates. Top domains and time to post? -
Very cool! If you don't want to worry about crawling HN you can use the API https://github.com/HackerNews/API
comment by jtokoph · 2017-03-14 · in Show HN: HNWatch – Watch HN, filter stories, get e-mail alerts -
…an admin link next to each post that pushes it off of the front page? I know that I would. [1] - https://github.com/HackerNews/API
comment by foob · 2017-03-13 · in Stories that Hacker News removes from the front page -
…of hn comments Yes. There's a few HN APIs/sources out there: * https://hn.algolia.com/api * https://github.com/HackerNews/API * https://cloud.google.com/bigquery/public-data/hacker-news
comment by grzm · 2017-03-01 · in Riot Games Messaging Service -
…yourself. The HN APIs will likely give you enough data to provide enough data to dig into it. - https://github.com/HackerNews/API - https://hn.algolia.com/api
comment by grzm · 2017-01-03 · in House Republicans Vote to Strip Independence from Ethics Office -
…in the sense that you would get the total score of a story, not the votes that comprise it. - https://github.com/HackerNews/API - https://hn.algolia.com/api
comment by grzm · 2016-12-13 · in Tell HN: Downvotes and Upvotes -
There's a couple different HN APIs you can use to analyze some of the data: - https://github.com/HackerNews/API - https://hn.algolia.com/api
comment by grzm · 2016-12-01 · in FBI to gain expanded hacking powers as Senate effort to block fails -
…own templates, content and engine - crack out your python/alt-language and download the HN News API https://github.com/HackerNews/API for favs/stories posted - find your firebase json repository https://hacker-news.firebaseio.com/v0/user/bo…
comment by bootload · 2016-11-08 · in Show HN: Embed HN comments in your website -
…for people's username/password of the different networks. Pardon me, but have you looked at this https://github.com/HackerNews/API http://blog.ycombinator.com/hacker-news-api ? I'm sure you are aware Reddit has an API. Again, I'm sorry for…
comment by Jugurtha · 2016-11-08 · in Show HN: Embed HN comments in your website -
Since the Hacker News API ( https://github.com/HackerNews/API ) used in this scraping is being brought up again, I'll ask a burning question: is development of the API dead? From the commit notes in that repo, the only changes from the…
comment by minimaxir · 2016-10-31 · in Hacker News Dataset Update October 2016 -
I just dug a little into the HN API ( https://github.com/HackerNews/API ). Unfortunately, they don't publish comment ratings... :-( Unless that is changed, implementing an automatic "best comment finder" would become rather more tedious...…
comment by veddox · 2016-10-23 · in HN comments are underrated -
…that nobody has mentioned it since we're here, but the Hacker News API is powered by Firebase: https://github.com/HackerNews/API
comment by asciimike · 2016-09-20 · in Reasons not to use Firebase -
…sounds like a cool idea. HN has an API [0] ... not sure if this is possible or allowed though. [0] https://github.com/HackerNews/API Also, there's nothing really wrong with having a blog with no recent updates. I know there's this idea…
comment by aethertron · 2016-09-05 · in The writing interest paradox -
https://github.com/HackerNews/API api@ycombinator.com
comment by gtirloni · 2016-09-03 · in Ask HN: Whats the Status of the Hacker News Write API? -
Cool, I saw there are API's https://github.com/HackerNews/API .... Anybody implemented ?
comment by jeshwanth · 2016-07-12 · in Telegram Bot for HN? -
Putting in the request now for HN to update their API to provide this: https://github.com/HackerNews/API I figure since a comment of mine sparked 'saved comments' being a thing that lightning could strike twice...but then I guess the API…
comment by busterarm · 2016-05-23 · in Show HN: Export HN saved links (upvotes) as JSON or CSV