There is an API, linked from the bottom of every page: http://www.hnsearch.com/api
For the next two weeks there's even an API contest going on! http://www.hnsearch.com/contest
For the next two weeks there's even an API contest going on! http://www.hnsearch.com/contest
It would be a fun challenge to see who can come up with the best and most useful solution :)