Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can use the API to download your submissions and comments extremely easily, too.


Which official API? And... the saved articles are not public. If you are referring to the new hn.algolia.com this is far (rate limit?) from being a data liberation initiative. Even Google and Facebook are much better.


With the Algolia API, you can request 1000 stories or 1000 comments per request. I don't think you'll hit the rate limit. :P

Here are your 1000 out of your 1248 comments: https://hn.algolia.com/api/v1/search_by_date?tags=comment,au...

And here are 1000 out of your 1548 submitted stories: https://hn.algolia.com/api/v1/search_by_date?tags=story,auth...

You can pagenate each endpoint on the created_at_i parameter to get the rest. I can write up a data liberation script if you want.


Thanks! I also need to web scrape HN to retrieve my saved articles. It will be useful to use users credentials with the API.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: