Earlier quoted context omitted.
When trying to access page 2 via that endpoint: http://hn.algolia.com/api/v1/search_by_date?tags=story&hitsP... "you can only fetch the 1000 hits for this query, contact us to increase the limit" It was a nice try, but it did seem too good to be true.
You can paginate using the created_at_i parameter (edited OP) Just pass created_at_i I was able to download 500k stories (i.e. about half of HN's 1.26M stories) before I ran into memory issues; I've fixed them and am downloading the rest.
Hacking Hacker News
21–30 of 54 posts
Re: Hacking Hacker News
#22Re: Hacking Hacker News
#23This is totally cool and kudos to you. But be aware there are limits of personalized hacker news. I think Bill Maher put it best when ranting just last night about facebooks customized news feeds: Newspapers may be old-fashioned, but here's what we're losing if you never see one. They are trying to tell you what's actually important, not just what's important to you. You may not read the whole paper, but you at least…
Newspapers are trying to show you what they think is actually important. But of course omnibus papers will never really tell you what is important only what is current.
Re: Hacking Hacker News
#24Re: Hacking Hacker News
#25This is totally cool and kudos to you. But be aware there are limits of personalized hacker news. I think Bill Maher put it best when ranting just last night about facebooks customized news feeds: Newspapers may be old-fashioned, but here's what we're losing if you never see one. They are trying to tell you what's actually important, not just what's important to you. You may not read the whole paper, but you at least…
newspapers reported stories to sell you something, be it papers, ads or someone's agenda, not because they believed we'd all be more rounded citizens.
Re: Hacking Hacker News
#26Re: Hacking Hacker News
#27FYI, the new Hacker News API allows easy programmatic access of story/comments and infinite chronological paging. You could download every Hacker News story in less than 2 hours without breaking the API request limit. https://hn.algolia.com/api
RATE LIMITS
We are limiting the number of API requests from a single IP to 1000 per hour.
If you or your application has been blacklisted and you think there has been
an error, please contact us.Re: Hacking Hacker News
#28Re: Hacking Hacker News
#29Re: Hacking Hacker News
#30FYI, the new Hacker News API allows easy programmatic access of story/comments and infinite chronological paging. You could download every Hacker News story in less than 2 hours without breaking the API request limit. https://hn.algolia.com/api
Was this there when you posted?: RATE LIMITS We are limiting the number of API requests from a single IP to 1000 per hour. If you or your application has been blacklisted and you think there has been an error, please contact us.
You can query 1,000 stories per request, and do 1,000 requests per hour. That's 1M requests per hour. There are 1.26M Hacker News stories indexed by the API. :)
EDIT: Finished downloading all the entries (and can confirm that 1.26M is indeed all of them). Took 3 hours due to a conservative wait period between each request to make sure I stayed within the limits.