Adds search functionality to Rep API