VP Developer Happiness
Today Y Combinator is launching an API for it’s popular startup-focused news aggregator, Hacker News. As a YC company that launched on HN ourselves, we’re thrilled that they are putting their public data into Firebase. This means that developers can easily get realtime access to HN’s datathrough the standard Firebase Web, iOS, Android and REST APIs.

With 2.6 million unique visitors per month, Hacker News (HN) has a huge audience of programmers and entrepreneurs. HN users submit interesting stories from around the web that are upvoted by other users. When a post receives enough upvotes it makes it to the front page. This results in a lot of interesting content and discussion, and a rapidly changing set of articles. HN is so popular that developers have taken to scraping the site in order to access its content. Using Firebase now makes it much easier for developers to build apps using data from HN.

Firebase is an ideal way to distribute HN in realtime across a variety of clients. With our scalable, easy to use platform HN now has a realtime API available to Web, iOS, and Android developers. The API is also accessible on other platforms through our REST API.

“In addition to giving developers near real-time access to our data, we got out of the box well designed, easy to use SDKs for iOS, Android and the Web, in addition to a REST API for developers building server apps. It should hopefully making switching your apps fairly painless.”

Get started

You can access the HN API today, here’s a simple example that displays the top rated HN article and updates in realtime.

Firebase is your API

With more than 100,000 developers using our platform, we’ve seen Firebase used both as the entire backend for apps as well as to power specific realtime features in apps. A growing use case has been loading data into Firebase to expose an API to other developers. Traditionally, building and maintaining a public API is a big undertaking; often entire teams are dedicated to it. It’s not easy to give third party developers access to your data in a way that’s both safe for your users and powerful for those developers. With Firebase, all you need to do is sync data to your Firebase and API consumers can then use one of Firebase’s realtime clients or the REST API to consume that data. You don’t have to worry about scaling with developer usage and or documenting anything beyond your data structure. You can learn more in a blog post we published last year.