Hacker GitHub

← All repos

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

Mentions per year 257 mentions · busiest year 2023 (30)
20082026
  1. 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?
  2. ▲ 2
    Ask HN: Download Hacker News user list
    story by baccredited · 2018-01-11 · 1 comment
  3. ▲ 1
    Ask HN: Way to access favorites of a user by HN API?
    story by relyks · 2017-12-20 · 0 comments
  4. …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]…
  5. …to search for, in-browser, but the API makes it pretty easy to scrape/search whatever you like: https://github.com/HackerNews/API
  6. 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
  7. …always use the API and build a UI that better suits your needs, should existing ones not suffice. https://github.com/HackerNews/API
  8. …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…
  9. …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…
  10. There's an API: https://github.com/HackerNews/API
  11. …:) ) 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
  12. 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.…
  13. ▲ 8
    Hacker News API page is broken
    story by DungFu · 2017-05-08 · 5 comments
  14. ▲ 32
    Ask HN: Is there a list of open event streams to do stream processing on?
    story by b5u · 2017-04-12 · 5 comments
  15. …to document the process, but I can tell you that having an API based on Firebase helps a lot: - https://github.com/HackerNews/API
  16. Very cool! If you don't want to worry about crawling HN you can use the API https://github.com/HackerNews/API
  17. …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
  18. …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
  19. …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
  20. …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
  21. 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
  22. …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
  23. …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
  24. 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
  25. ▲ 3
    Ask HN: How to get timestamp from HN comments?
    story by franciscop · 2016-10-31 · 1 comment
  26. 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
  27. …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
  28. …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
  29. https://github.com/HackerNews/API api@ycombinator.com
  30. 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?
  31. ▲ 3
    Ask HN: Top stories and best stories in the HN API?
    story by kiloreux · 2016-06-05 · 1 comment
  32. 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…
  33. https://github.com/HackerNews/API
  34. Have you looked at HN API https://github.com/HackerNews/API for way to extract top-n stories via REST?
  35. ▲ 2
    Why does the Hacker News API not have a comment score?
    story by oalders · 2016-04-10 · 5 comments
  36. …My gut feeling is that the slowest part of this would be the API call to HN [2] or Reddit [3]. [2]: https://github.com/HackerNews/API [3]: https://www.reddit.com/dev/api [1]: https://github.com/dokan-dev/dokany
  37. …to check for replies and have it show a popup when you get a notification as well as send an email. https://github.com/HackerNews/API
  38. HN API? https://github.com/HackerNews/API Haven't used it yet, so no comment on how well it works/how far back it goes)
    comment by detaro · 2016-01-20 · in Scrapy Tips from the Pros
  39. ▲ 4
    Ask HN: What happened to the hacker news API?
    story by shade23 · 2016-01-13 · 0 comments
  40. …news from Y Combinator Hacker News. This extension was created using the official Hacker News Api: https://github.com/HackerNews/API
    comment by luisjorge129 · 2015-12-19 · in Show HN: Hacker News Extension for Google Chrome
  41. They've been telling client developers that they should move from screen-scraping to using the API ( https://github.com/HackerNews/API ) for a while now. I don't know if that's the problem with this specific client, but you may want to…
    comment by smacktoward · 2015-11-10 · in HN now mostly readable on mobile
  42. …[3, 4, 5, 6], but how complete they are and whether or not they've been maintained is unknown. [1] https://github.com/HackerNews/API [2] https://github.com/algolia/hn-search [3] https://archive.org/details/HackerNewsStoriesAndCommentsDump…
  43. https://github.com/HackerNews/API#items Also the file is ~5.3GB when decompressed, if anyone is wondering.
  44. Have you read the API? https://github.com/HackerNews/API#users IIUC, this list all the comments, submissions, polls, ... of a user, so you have to manually query each one and filter the comments. Also, hnapp has filters and a json option,…
    comment by gus_massa · 2015-07-12 · in Ask HN: Downloading all of your comments
  45. Since the official API ( https://github.com/HackerNews/API ) does not support authentication, how are you collecting and storing auth credentials for login/posting?
    comment by minimaxir · 2015-05-14 · in Show HN: Akepa – Our HN App
  46. There's API for HN ( https://github.com/HackerNews/API ), it's not that hard to make one yourself. This is Hacker News after all.
  47. We offer a lot of data (in JSON and XML) via our Firebase powered API: https://github.com/HackerNews/API
  48. As far as I know, HN offers an official API here: https://github.com/HackerNews/API But it specifically says "We hope to improve it over time, and may later enable access to private per-user data using OAuth." So I'm assuming that login,…
    comment by Flux159 · 2015-02-20 · in Ask HN: HN APIs (or lack thereof)
  49. No. The HN API is public though. https://github.com/HackerNews/API
    comment by antouank · 2014-12-29 · in Show HN: New Hacker News web client
  50. …HN API: http://blog.ycombinator.com/hacker-news-api https://news.ycombinator.com/item?id=8422599 https://github.com/HackerNews/API