# Hacker News API

Category: [Publishers and feeds](https://free-web-services.com/web-services/news/publishers/)  
Page: https://free-web-services.com/web-services/news/publishers/hacker-news-api.html  
Documentation: https://github.com/HackerNews/API

The official Hacker News API makes the stories, comments, polls and users of Hacker News available in near real time, through Firebase. Get the lists of top, new, best, Ask HN, Show HN and job stories, then fetch each item by its ID. Responses are JSON and there is no rate limit or key. Free.

- API key: Not needed
- Pricing: Free.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: github.com

Example request:

```sh
curl 'https://hacker-news.firebaseio.com/v0/item/8863.json'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

