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. Have you look at the API https://github.com/HackerNews/API ?
  2. …of careful consideration I would simply prefer to discuss elsewhere, do not show up in my feed. [0] https://github.com/HackerNews/API
    comment by nathanasmith · 2022-02-28 · in Tell HN: Thank you for the noprocrast flag
  3. It's Firebase. https://github.com/HackerNews/API
  4. …https://fsharpforfunandprofit.com/ https://github.com/crispgm/awesome-engineering-blogs https://github.com/HackerNews/API https://github.com/jkup/awesome-personal-blogs https://github.com/markodenic/awesome-tech-blogs…
    comment by Pr0ject217 · 2022-02-07 · in Ask HN: Great Blogs by Programmers
  5. FYI, this uses the Hacker News API which I didn't know existed until researching this: https://github.com/HackerNews/API
  6. Quite surprised that you're scraping HN and parse the DOM. Maybe should try use the API? https://github.com/HackerNews/API
  7. …performance to spare. (Hopefully that will change this year.) If you need to check more frequently, https://github.com/HackerNews/API works fine and you can get JSON that way anyhow.
  8. …in the future Why are you scraping? We have an API, it's linked at the bottom of every page[0]. 0: https://github.com/HackerNews/API
    comment by diogenesjunior · 2022-01-13 · in Show HN: Login with HN (Unofficially)
  9. …scraping. HN has a rudimentary but functioning API [1], and there is dump on BigQuery [2]. [1]: https://github.com/HackerNews/API [2]: https://console.cloud.google.com/marketplace/product/y-combi...
  10. No; a copy of the HN database is synced regularly to Firebase ( https://github.com/HackerNews/API ), but IIRC the site itself runs on a single process on a single machine with a standby ready. edit: Yup.…
    comment by ceejayoz · 2021-12-16 · in Tell HN: AWS appears to be down again
  11. Hacker news provides its own api, but it's not as easy to use as you would like. https://github.com/HackerNews/API#design
  12. didn't know about it. https://github.com/HackerNews/API . Checked it out, the api wouldn't have helped me: the API reponse for this flagged story doesn't indicate, that it has been flagged. https://hacker-news.firebaseio.com/v0/item/2910305…
  13. …can filter. Maybe you could obtain something more specific building a special RSS feed through the API ( github.com/HackerNews/API )?
    comment by mdp2021 · 2021-10-24 · in RSS is wonderful
  14. …we could release in the time we had. While awkward, it's possible to implement most of HN using it. https://github.com/HackerNews/API My words may have been a bit too harsh but I still think I have a point. The only thing I could find use…
  15. Hmm, it seems to be working. There are some nice examples on https://github.com/HackerNews/API
    comment by BoHerfIIIJrEsq · 2021-08-26 · in Ask HN: How do I connect to Hacker News API?
  16. Most 3rd apps use the Hackernews API https://github.com/cheeaun/awesome-hacker-news https://github.com/HackerNews/API
  17. …page as seen by the API. https://hacker-news.firebaseio.com/v0/item/28060112.json?pri... See also https://github.com/HackerNews/API
    comment by gabrielsroka · 2021-08-07 · in Ask HN: Any (free) Hacker News datasets around?
  18. …a hundred requests, so I use this approach in my client[2]. [0]: https://hn.algolia.com/api [1]: https://github.com/HackerNews/API [2]: https://github.com/goranmoomin/HackerNews
    comment by pcr910303 · 2021-08-01 · in Extracting Objects Recursively with Jq
  19. …never leave the app (except for news.ycombinator.com) — it’s tucked in your keychain. [0]: https://github.com/HackerNews/API
  20. …for offline reading I guess that’s one more feature that I should add to my backlog :) [0]: https://github.com/HackerNews/API [1]: https://hn.algolia.com/api
  21. Is there actually a search.json endpoint? https://github.com/HackerNews/API doesn't list this as a valid endpoint. Indeed, when I try to access it via curl, I get a HTTP 405 with a "Permission denied" error (same result when I try to…
    comment by vitus · 2021-07-03 · in GitHub Copilot
  22. …News was openly available. https://news.ycombinator.com/item?id=1390685 And there's also an API. https://github.com/HackerNews/API There's lots of Wikipedia-like software available, too. I guess it depends on what you mean by "build" a…
  23. Last time I "archived" my account data on HN I used https://github.com/HackerNews/API which seems to be working good enough for my needs.
    comment by capableweb · 2021-05-25 · in Data portability, the forgotten right of GDPR
  24. There is public API for HN data https://github.com/HackerNews/API Does it count like ability to download your data?
  25. …Totally hilarious that you posted this on a discussion site whose API doesn't require tokens. https://github.com/HackerNews/API
  26. …get at most 500 stories. [0]: https://hn.algolia.com/api/v1/search?tags=front_page&hitsPer... [1]: https://github.com/HackerNews/API
  27. …Hacker News Posts we were using the public Hacker News API, which returns the posts in JSON format: https://github.com/HackerNews/API The crawling speed of 100...1000 pages per second refers to crawling the external pages linked from…
  28. I notice there's an API https://github.com/HackerNews/API but don't see any of the core site code. Is there any way people can contribute back?
    comment by dalrympm · 2021-01-09 · in Ask HN: Dark mode for HN please? (2021)
  29. Not sure you mean, content is from the API https://github.com/HackerNews/API
    comment by cheeaun · 2020-12-28 · in HN Alternative UIs
  30. The (best) stories are fetched via the Hacker News API: - API call documentation: https://github.com/HackerNews/API#new-top-and-best-stories - Code pointer: https://github.com/lopespm/hackernews-daily/blob/main/hnsour... - This is…
  31. …minimalism crowd. Especially because the api its pretty solid you can build whatever stuff you want https://github.com/HackerNews/API You could implement you own tagging system and see if people bite. For instance I built a comment…
    comment by wh-uws · 2020-12-20 · in Ask HN: Why HN Doesn't Have Tags?
  32. The very least public APIs are exposed via firebase. https://github.com/HackerNews/API
    comment by porkbrain · 2020-12-14 · in Google outage – resolved
  33. OP: Hackernews offers an excellent API via Firebase: https://github.com/HackerNews/API . Unfortunately, their fetch method doesn't offer any way to filter by item types. So collecting all posts take excessively long thanks to all the…
  34. …popularity, which maps to 'score' in the data structure that the API sorts. You can see that here: https://github.com/HackerNews/API The highest position on front page is not, AFAICT stored in any way and is not searchable.
    comment by justinhj · 2020-10-14 · in Algolia releases new AI search features
  35. 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)
  36. Use this an example, but for real stuff prefer using the official API https://github.com/HackerNews/API
  37. https://github.com/HackerNews/API https://hn.algolia.com/api
    comment by varbhat · 2020-09-01 · in Scrapping HN / HNewsletter ?
  38. …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…
  39. 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
  40. [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…
  41. …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.
  42. It also has an official API: https://github.com/HackerNews/API
    comment by bhhaskin · 2020-05-20 · in Unofficial APIs
  43. 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?
  44. …Although, the documentation says that field is HTML, so I'm not sure what to think. https://github.com/HackerNews/API
  45. …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
  46. Use this https://github.com/HackerNews/API
    comment by vasco · 2020-04-11 · in Analyzing HN readers' personal blogs
  47. It's a shame favorites aren't exposed in the official HN API: https://github.com/HackerNews/API - this is a smart workaround.
  48. …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
  49. 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
  50. …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:…