Adding search api