Yes, an extension overrides a native Magento search result collection. Thus, custom API should work with our extension as well.