added search API endpoint response format