add search api
merged