Skip to content
Lim Chee Aun edited this page Jan 20, 2021 · 9 revisions

Note: All responses are cached for 10 minutes.

GET /news

Returns the 30 stories/posts from the front page.

Example request: http://api.hackerwebapp.com/news

GET /item/:id

Returns the details of the story/post with (nested) comments.

Example request: http://api.hackerwebapp.com/item/3338485

GET /user/:id

☣️☣️☣️ DEPRECATED. Use the official API instead! ☣️☣️☣️

Returns details (account creation date, karma, etc.) of user.

Example request: http://api.hackerwebapp.com/user/julien_c

Clone this wiki locally