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
-
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) -
Use this an example, but for real stuff prefer using the official API https://github.com/HackerNews/API
comment by lixtra · 2020-09-09 · in How we learnt to stop worrying and love web scraping -
https://github.com/HackerNews/API https://hn.algolia.com/api
comment by varbhat · 2020-09-01 · in Scrapping HN / HNewsletter ? -
▲ 2
Ask HN: Does the Hacker News API have auth documentation?story by murph37 · 2020-08-12 · 3 comments
-
…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…
comment by AlexanderNull · 2020-07-14 · in Ask HN: How to you manage your favorite HN submissions? -
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 -
[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…
comment by yorwba · 2020-06-14 · in Ask HN: Can HN admins show what % of all flagged posts lately are China related? -
…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.
comment by ourmandave · 2020-06-06 · in A List of Hacker News's Undocumented Features and Behaviors (2018) -
It also has an official API: https://github.com/HackerNews/API
comment by bhhaskin · 2020-05-20 · in Unofficial APIs -
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? -
▲ 2
HN API Feature Request: Provide 'Items' Upvoted by 'Users'story by siddienahar · 2020-05-01 · 1 comment
-
…Although, the documentation says that field is HTML, so I'm not sure what to think. https://github.com/HackerNews/API
comment by shpx · 2020-04-25 · in Microsoft Word now flags double spaces after a period as errors -
…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 -
Use this https://github.com/HackerNews/API
comment by vasco · 2020-04-11 · in Analyzing HN readers' personal blogs -
▲ 3
Ask HN: Doesn't logging into 3rd-party HN apps post a sercuirty risk?story by archibaldJ · 2020-04-07 · 2 comments
-
It's a shame favorites aren't exposed in the official HN API: https://github.com/HackerNews/API - this is a smart workaround.
comment by simonw · 2020-04-05 · in Show HN: Export HN Favorites to a CSV File -
▲ 57
Ask HN: What features for an offline Hacker News reader?story by ers35 · 2020-03-04 · 38 comments
-
…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
comment by ggerganov · 2019-12-15 · in Show HN: HNTerm – Browse Hacker News in the Terminal -
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 -
…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:…
comment by dang · 2019-11-24 · in Show HN: Hacker News Title Edit Tracker -
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 -
▲ 15
Show HN: A thin Python library to access HN data using Algolia's APIstory by santiagobasulto · 2019-07-20 · 1 comment
-
…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? -
▲ 1
Ask HN: HN API to submit a comment?story by pplonski86 · 2018-11-20 · 1 comment
-
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 -
▲ 1
Hacker News APIstory by mahnaz · 2018-10-09 · 0 comments
-
▲ 4
Hackernnnewsstory by mahnaz · 2018-10-08 · 1 comment
-
▲ 2
Hacker News Clonestory by mahnaz · 2018-10-08 · 0 comments
-
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? -
▲ 1
Ask HN: Fastest way to get data from the Hacker News API?story by aydwi · 2018-05-20 · 0 comments
-
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