The internal API is presumably for YC companies/alum who arrange special access (HNsearch was powered by ThriftDB, another YC alum). Why not just use Algolia's API?
http://hn.algolia.com/api(Even before HNsearch, there was another YC company that served as the official search for HN for a short period. Can't remember the name now though.)