An API to the Pokey search