Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's the order of magnitude of requests the API serve per day? I've build a demo on top of HN data and I had a feeling that most of it is quite static and could easily be cached behind something like cloudflare


I don't know. If someone wants to tell me how to look it up in the byzantine labyrinth of google's cloud admin ui, I could give it a try, but might not make it back out.

Yes to the other bit.


I built a GraphQL API to cache the responses and dataload them like 2 years ago on top of HN API so it can give nicer responses and don't hit the endpoint as much through batching. It can load entire HN thread in one request.

https://github.com/searchableguy/hackernews_graphql

It is still incomplete though because I remember you said I could not scrape the site beyond robot.txt limits which would be too less for the use case because I wanted to provide write functionality so I gave up.

Maybe people can host a caching relay and a layer like graphql on top as an unofficial way to lessen the burden on the firebase API (it's a pain to use anyway).




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: