# Hacker News Search API (Algolia)

Category: [News feeds and APIs](https://free-web-services.com/web-services/news/)  
Page: https://free-web-services.com/web-services/news/hacker-news-search-api-algolia.html  
Documentation: https://hn.algolia.com/api

Algolia's Hacker News Search API adds full-text search to Hacker News: find stories, comments and polls by keyword, sorted by relevance or by date, and filter by tags, author, points or creation date. Items and user profiles are available too. Use it to follow mentions of a product or topic on Hacker News. Call the REST endpoints with GET and get JSON. Free, no key needed, up to 10,000 requests an hour per IP address.

- API key: Not needed
- Pricing: Free, no key needed, up to 10,000 requests an hour per IP address.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: hn.algolia.com
- Last checked: Working on November 1st, 2026

Example request:

```sh
curl 'https://hn.algolia.com/api/v1/search?query=hello&hitsPerPage=1'
```

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

