Notes
- Keyless and free. Limited to 10,000 requests per hour per IP.
- Results page from 0; the response gives nbHits, nbPages, page and hitsPerPage.
- The documented parameters are query, tags, numericFilters and page (plus hitsPerPage); the API is built on Algolia’s search API, whose other query parameters it says are also accepted.
- Timestamps for numericFilters are Unix seconds (created_at_i).
Endpoints
Search Hacker News by relevance
- tags=front_page with no query returns what is on the front page now.
Search Hacker News by date
- Use tags=story (or comment) with numericFilters=created_at_i>X to poll for new items.