Added multi api support for search