search api is working