results page api stuff