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. …feedback to improve my skills is more than welcome. Together with PRs to the repo, of course! [1] https://github.com/HackerNews/API
  2. …could release in the time we had. While awkward, it's possible to implement most of HN using it." https://github.com/HackerNews/API If one wants to get the comments for a post on HN from the API, they have to first fetch the post, then…
  3. …the HN API [1] to grab user profile info etc. The other is for the pro upgrade using ExtPay [2] [1] https://github.com/HackerNews/API [2] https://github.com/glench/ExtPay
  4. ▲ 2
    Show HN: Pith language. JavaScript with a little bit of Python syntax
    story by gabrielsroka · 2022-09-01 · 1 comment
  5. ▲ 500
    Hacker News Official API
    story by marchupfield · 2022-08-21 · 131 comments
  6. …https://serializer.io https://datatau.net/ https://hn.shiftedbits.org https://hn.algolia.com https://github.com/HackerNews/API https://deephn.org http://www.nackerhews.com/ https://yahni.news/ https://darkhn.herokuapp.com/…
    comment by pipiscrew · 2022-08-05 · in Autosummarized HN (With GPT3)
  7. There is a guide to the API here: https://github.com/HackerNews/API
  8. ▲ 13
    Show HN: Hacolyte – a Hacker News reader built with NextJS
    story by iamdan · 2022-07-22 · 2 comments
  9. …Or was that read-only? Yes, it appears that at the time of publication, the API was read-only. [1] https://github.com/HackerNews/API
  10. Maybe used api[0] to get The top stories and then just parsed all the domains. [0] https://github.com/HackerNews/API
  11. Sure! It's a NextJS app that pulls data from the public HN api https://github.com/HackerNews/API . The source for it is here: https://github.com/chiptopher/hackernoise
  12. HN does have a REST API which is quite easy to use. https://github.com/HackerNews/API I'm not sure what rate limiting policy is in place, but in theory you can start with a request for maxitem and from that point on just GET all items down…
    comment by arinlen · 2022-04-29 · in Ask HN: Fastest Crawl of HN Articles
  13. Thanks! The GraphQL API is just a wrapper of HackerNews REST API (doc: https://github.com/HackerNews/API ) The REST endpoints do not provide a way to query the items with variable parameters. So, I could not support it either on GraphQL…
  14. Have you look at the API https://github.com/HackerNews/API ?
  15. …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
  16. It's Firebase. https://github.com/HackerNews/API
  17. …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
  18. FYI, this uses the Hacker News API which I didn't know existed until researching this: https://github.com/HackerNews/API
  19. Quite surprised that you're scraping HN and parse the DOM. Maybe should try use the API? https://github.com/HackerNews/API
  20. …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.
  21. …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)
  22. …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...
  23. 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
  24. Hacker news provides its own api, but it's not as easy to use as you would like. https://github.com/HackerNews/API#design
  25. 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…
  26. …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
  27. ▲ 3
    GitHub – Hacker News/API: Documentation and Samples for the Official HN API
    story by manikandarajs · 2021-10-23 · 0 comments
  28. …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…
  29. 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?
  30. Most 3rd apps use the Hackernews API https://github.com/cheeaun/awesome-hacker-news https://github.com/HackerNews/API
  31. …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?
  32. …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
  33. …never leave the app (except for news.ycombinator.com) — it’s tucked in your keychain. [0]: https://github.com/HackerNews/API
  34. …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
  35. 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
  36. …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…
  37. 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
  38. There is public API for HN data https://github.com/HackerNews/API Does it count like ability to download your data?
  39. ▲ 2
    Ask HN: Improving the Usability of HN?
    story by unknown_error · 2021-05-14 · 1 comment
  40. …Totally hilarious that you posted this on a discussion site whose API doesn't require tokens. https://github.com/HackerNews/API
  41. …get at most 500 stories. [0]: https://hn.algolia.com/api/v1/search?tags=front_page&hitsPer... [1]: https://github.com/HackerNews/API
  42. …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…
  43. ▲ 17
    Show HN: I wrote an HN bot to suggest HTTPS url when people post HTTP URLs
    story by fishywang · 2021-04-04 · 10 comments
  44. 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)
  45. Not sure you mean, content is from the API https://github.com/HackerNews/API
    comment by cheeaun · 2020-12-28 · in HN Alternative UIs
  46. 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…
  47. …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?
  48. The very least public APIs are exposed via firebase. https://github.com/HackerNews/API
    comment by porkbrain · 2020-12-14 · in Google outage – resolved
  49. 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…
  50. …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