Added search API endpoints