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. HackerNews has an open API ( https://github.com/HackerNews/API ). It doesn't say anything specific about the legality and there have been many HackerNews clones in the past. So as far as I know it should not be a problem, but if anyone can…
    comment by RubenvanE · 2020-10-08 · in Why I stopped reading HN (2010)
  2. Use this an example, but for real stuff prefer using the official API https://github.com/HackerNews/API
  3. https://github.com/HackerNews/API https://hn.algolia.com/api
    comment by varbhat · 2020-09-01 · in Scrapping HN / HNewsletter ?
  4. ▲ 2
    Ask HN: Does the Hacker News API have auth documentation?
    story by murph37 · 2020-08-12 · 3 comments
  5. …sentiment analysis ML app on the Who's Hiring post recently and use a the public firebase REST API: https://github.com/HackerNews/API . It mostly works for my usecase but its search capabilities are severely lacking over REST so might not…
  6. What is the difference between the Algolia HN API vs the Hacker News API ( https://github.com/HackerNews/API )? The Hacker News API doesn't have any rate limits but appears to be similar to the Algolia API. Does Algolia have its own HN…
    comment by ping_pong · 2020-07-09 · in Hacker News RSS Feeds
  7. [flagged] is a visible indicator, so you can just do that analysis yourself. Either use the API https://github.com/HackerNews/API or, if that doesn't include the flag status, scrape it from the website. Then classify whatever number of…
  8. …their API on github. It's simplistic but you can still use it to write a sh*ttier version of HN. https://github.com/HackerNews/API I just wish they'd open source their We're-Not-Reddit behaviors library.
  9. It also has an official API: https://github.com/HackerNews/API
    comment by bhhaskin · 2020-05-20 · in Unofficial APIs
  10. Just use one of those CSS extensions and roll your own using HN's API: https://github.com/HackerNews/API Also, CSS is an abomination, aesthetics have always belonged on the client side.
    comment by anigbrowl · 2020-05-16 · in Ask HN: Dark mode for HN please?
  11. ▲ 2
    HN API Feature Request: Provide 'Items' Upvoted by 'Users'
    story by siddienahar · 2020-05-01 · 1 comment
  12. …Although, the documentation says that field is HTML, so I'm not sure what to think. https://github.com/HackerNews/API
  13. …the data when HN offers an official API[1]? Does the API not expose all the data you need? [1] https://github.com/HackerNews/API
    comment by Etheryte · 2020-04-14 · in Hacker_news_scraper
  14. Use this https://github.com/HackerNews/API
    comment by vasco · 2020-04-11 · in Analyzing HN readers' personal blogs
  15. ▲ 3
    Ask HN: Doesn't logging into 3rd-party HN apps post a sercuirty risk?
    story by archibaldJ · 2020-04-07 · 2 comments
  16. It's a shame favorites aren't exposed in the official HN API: https://github.com/HackerNews/API - this is a smart workaround.
  17. ▲ 57
    Ask HN: What features for an offline Hacker News reader?
    story by ers35 · 2020-03-04 · 38 comments
  18. …I also ported it to web with Emscripten's Fetch API so it can be easily demonstrated [1]. [0] - https://github.com/HackerNews/API [1] - https://hnterm.ggerganov.com
  19. HN has an API: https://github.com/HackerNews/API I'm using it to track common items here and on Lobste.rs (and Proggit): http://gerikson.com/hnlo/ Here's the endpoint for the latest 500 submissions: https://hacker-news.firebaseio.com/v0/new…
    comment by gerikson · 2019-11-24 · in Show HN: Hacker News Title Edit Tracker
  20. …have much performance to spare. If you need more than that, you should use the Firebase-based API ( https://github.com/HackerNews/API ). The public dataset is also available as a Google BigQuery table:…
  21. Yes, they're mentioned in the API. https://github.com/HackerNews/API
    comment by karmakaze · 2019-10-12 · in Poll: Hacker News Functionality
  22. 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
  23. ▲ 15
    Show HN: A thin Python library to access HN data using Algolia's API
    story by santiagobasulto · 2019-07-20 · 1 comment
  24. …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
  25. …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…
  26. Build your own: https://github.com/HackerNews/API
  27. …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.
  28. …used it, but it states in the README that there is no rate limit currently (~8 months ago). 0. https://github.com/HackerNews/API
  29. …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
  30. other than https://github.com/HackerNews/API ?
    comment by throway88989898 · 2019-02-22 · in New ‘past’ link on HN front page
  31. …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
  32. 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?
  33. …HN archive https://hn.algolia.com . You can find more info on the (free) HN API here https://github.com/HackerNews/API
  34. …an API[0]. If no one else has done so already, you could write your own notification system. 0: https://github.com/HackerNews/API
  35. ▲ 1
    Ask HN: HN API to submit a comment?
    story by pplonski86 · 2018-11-20 · 1 comment
  36. 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
  37. ▲ 1
    Hacker News API
    story by mahnaz · 2018-10-09 · 0 comments
  38. ▲ 4
    Hackernnnews
    story by mahnaz · 2018-10-08 · 1 comment
  39. ▲ 2
    Hacker News Clone
    story by mahnaz · 2018-10-08 · 0 comments
  40. 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
  41. …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
  42. I haven’t checked, but perhaps this is something that can be made using github.com/HackerNews/API ?
  43. …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
  44. …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:…
  45. 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
  46. …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
  47. …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
  48. ▲ 1
    Ask HN: Fastest way to get data from the Hacker News API?
    story by aydwi · 2018-05-20 · 0 comments
  49. 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?
  50. …now access it by using the DOM element generated for my comment. Does that mean it's public? [1] https://github.com/HackerNews/API