Adding selector search to api