API for searching profiles